.careers-page {
    min-height: 70vh;
}

.careers-hero {
    background: linear-gradient(135deg, #2C3B4D 0%, #1B2632 100%);
    color: #fff;
    padding: 48px 24px;
    text-align: center;
    border-bottom: 4px solid #FFB162;
}

.careers-hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.careers-hero-content h1 i {
    color: #FFB162;
}

.careers-hero-content p {
    font-size: 16px;
    opacity: 0.85;
    margin: 0;
}

.careers-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* Section Headings */
.job-openings h2,
.application-form h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2C3B4D;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFB162;
}

/* Job Cards */
.job-card {
    background: #fff;
    border: 1px solid #e0dcd4;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(44, 59, 77, 0.1);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: #F5F2EC;
    border-bottom: 1px solid #e0dcd4;
}

.job-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-title i {
    font-size: 20px;
    color: #A35139;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.job-title h3 {
    font-size: 17px;
    font-weight: 600;
    color: #2C3B4D;
    margin: 0;
}

.job-type {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #A35139;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.job-details {
    padding: 16px 20px;
}

.job-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.job-meta span {
    font-size: 13px;
    color: #5F6B78;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta span i {
    color: #A35139;
    font-size: 13px;
}

.job-description h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2C3B4D;
    margin: 14px 0 8px;
}

.job-description p {
    font-size: 14px;
    color: #5F6B78;
    line-height: 1.6;
    margin: 0 0 10px;
}

.job-description ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.job-description ul li {
    font-size: 13px;
    color: #5F6B78;
    line-height: 1.7;
    margin-bottom: 4px;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFB162;
    color: #1B2632;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.apply-btn:hover {
    background: #E89A4A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 177, 98, 0.3);
}

/* Application Form */
.application-form {
    margin-top: 40px;
    background: #fff;
    border: 1px solid #e0dcd4;
    border-radius: 10px;
    padding: 24px;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.career-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2C3B4D;
}

.required {
    color: #dc2626;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #C9C1B1;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1B2632;
    background: #F5F2EC;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #FFB162;
    box-shadow: 0 0 0 3px rgba(255, 177, 98, 0.15);
    background: #fff;
}

select.form-control {
    cursor: pointer;
    appearance: auto;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.experience-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.form-control-small {
    width: 80px;
    padding: 10px 12px;
    border: 1px solid #C9C1B1;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1B2632;
    background: #F5F2EC;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    text-align: center;
}

.form-control-small:focus {
    outline: none;
    border-color: #FFB162;
    box-shadow: 0 0 0 3px rgba(255, 177, 98, 0.15);
    background: #fff;
}

.separator {
    font-size: 13px;
    color: #5F6B78;
}

/* File Upload */
.file-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #F5F2EC;
    border: 1px dashed #C9C1B1;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #2C3B4D;
    transition: all 0.2s;
}

.file-label:hover {
    background: #EEE9DF;
    border-color: #FFB162;
}

.file-label i {
    font-size: 18px;
    color: #A35139;
}

.file-name {
    font-size: 13px;
    color: #5F6B78;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFB162;
    color: #1B2632;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background: #E89A4A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 177, 98, 0.35);
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #5F6B78;
    padding: 12px 24px;
    border: 1px solid #C9C1B1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    background: #F5F2EC;
    border-color: #A35139;
    color: #A35139;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .careers-hero {
        padding: 32px 16px;
    }
    
    .careers-hero-content h1 {
        font-size: 24px;
    }
    
    .careers-hero-content p {
        font-size: 14px;
    }
    
    .careers-container {
        padding: 20px 12px 40px;
    }
    
    .job-header {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .job-title h3 {
        font-size: 15px;
    }
    
    .job-details {
        padding: 12px 14px;
    }
    
    .job-meta {
        flex-direction: column;
        gap: 6px;
    }
    
    .application-form {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .experience-group {
        gap: 6px;
    }
    
    .form-control-small {
        width: 65px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
    
    .file-upload {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .careers-hero-content h1 {
        font-size: 20px;
        gap: 8px;
    }
    
    .job-title i {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .job-title h3 {
        font-size: 14px;
    }
    
    .job-type {
        font-size: 10px;
        padding: 3px 10px;
    }
}
