/* JOB APPLICATION PAGE STYLES - COMPACT VERSION */

/* Hero Section */
.job-detail-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0d4d73 100%);
    padding: 100px 0 30px;
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    margin-bottom: 30px;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.back-link:hover {
    opacity: 1;
    gap: 12px;
    color: var(--primary-teal);
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.job-detail-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.job-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.job-meta-detail .meta-item {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}

.job-meta-detail .meta-item i {
    color: var(--primary-teal);
}

.job-badge-large {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-tax {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
}

.badge-advisory {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
}

.badge-bookkeeping {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
}

.badge-entry {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
}

/* Job Application Section */
.job-application-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.job-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

/* Job Details Content */
.job-details-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-teal);
}

.detail-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 15px;
}

.responsibilities-list,
.requirements-list {
    list-style: none;
    padding: 0;
}

.responsibilities-list li,
.requirements-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.responsibilities-list li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

.requirements-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list li i {
    color: var(--primary-teal);
    font-size: 1.2rem;
}

/* Application Form - REDUCED SPACING */
.application-form-container {
    position: relative;
}

.form-sticky {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-sticky h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-intro {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.form-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.1);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.language-group {
    display: flex;
    gap: 20px;
}

.language-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-item span {
    font-weight: 600;
    color: #374151;
    min-width: 70px;
}

.language-item select {
    flex: 1;
}

/* File Upload - SINGLE BOX */
.file-upload-area {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--primary-teal);
    background: #f0f9ff;
}

.file-upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    pointer-events: none;
}

.file-upload-label i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 10px;
    display: block;
}

.file-upload-label span {
    color: #666;
    font-size: 0.9rem;
}

.file-names {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.6;
}

/* Submit Button */
.btn-submit-application {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-submit-application:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .job-layout {
        grid-template-columns: 1fr;
    }

    .form-sticky {
        position: relative;
        top: 0;
    }

    /* Reduce hero top padding on tablet */
    .job-detail-hero {
        padding: 110px 0 40px;
    }
}

@media (max-width: 768px) {
    .job-detail-title h1 {
        font-size: 2rem;
    }

    .job-detail-header {
        flex-direction: column;
    }

    .job-details-content,
    .form-sticky {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .language-group {
        flex-direction: column;
        gap: 15px;
    }

    /* ✅ MOBILE: Reduce hero top padding - less gap with navbar */
    .job-detail-hero {
        padding: 90px 0 30px;
    }

    /* ✅ MOBILE: Reduce all section paddings - shorter page */
    .job-details-section,
    .why-join-section,
    .open-positions-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {

    /* ✅ SMALL MOBILE: Even less gap with navbar */
    .job-detail-hero {
        padding: 80px 0 25px;
    }

    /* ✅ SMALL MOBILE: More compact sections */
    .job-details-section,
    .why-join-section,
    .open-positions-section {
        padding: 30px 0;
    }

    .job-detail-title h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 375px) {

    /* ✅ EXTRA SMALL: Minimal gap */
    .job-detail-hero {
        padding: 75px 0 20px;
    }

    .job-details-section,
    .why-join-section,
    .open-positions-section {
        padding: 25px 0;
    }
}