/* Job Posting Page Styles */

/* Hero Section */
.posting-hero {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.posting-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* Form Section */
.posting-form-section {
    padding: 80px 0;
    background: #f8f9fc;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.job-posting-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid #f1f3f4;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4FC3F7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

/* Form Actions */
.form-actions {
    padding: 30px;
    background: #f8f9fc;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-preview,
.btn-submit {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-preview {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn-preview:hover {
    background: #f8f9fc;
    border-color: #4FC3F7;
}

.btn-submit {
    background: linear-gradient(135deg, #4FC3F7, #667EEA);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.4);
}

/* Pricing Info */
.pricing-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.pricing-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
    padding-bottom: 10px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 14px;
    color: #666;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #4FC3F7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container {
        grid-template-columns: 1fr;
    }

    .pricing-info {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .posting-hero h1 {
        font-size: 40px;
    }

    .posting-form-section {
        padding: 60px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-preview,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .posting-hero {
        padding: 80px 0 60px;
    }

    .posting-hero h1 {
        font-size: 32px;
    }

    .form-section {
        padding: 20px;
    }

    .pricing-info {
        padding: 20px;
    }
}