/* careers-details.css */
.bannerSection {
    margin-top: 80px;
    width: 100%;
}
.bannerSection img {
    width: 100%;
}
/* ====================================== */
/* Base Page Resets & Variables */
.job-details-page {
    max-width: 1114px;
    margin: 0 auto;
    padding: 30px 0 60px 0;
    color: #1c1c1c;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 60px;
    font-family: "Frutiger" !important;
}

/* Back Link Style */
.back-to-openings {
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #e2001a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0%;
}
.back-to-openings:hover {
    color: #e2001a;
}

/* Main Heading Token Style */
.job-main-title {
    margin: 0;
    padding: 0;
    font-size: 72px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0%;
    color: #1c1c1c;
    margin-bottom: 40px;
}

/* Metadata Block Style */
.job-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meta-row {
    display: flex;
    font-size: 20px;
    line-height: 30px;
    font-family: "Frutiger" !important;
}

.meta-label {
    font-weight: 700;
    color: #1c1c1c;
    width: 160px;
    flex-shrink: 0;
    font-family: "Frutiger" !important;
}

.meta-value {
    font-weight: 400;
    color: #1c1c1c;
}

.job-section-heading {
    font-size: 40px;
    font-weight: 700;
    color: #1c1c1c;
    margin-top: 0;
    margin-bottom: 24px;
}

.job-body-text {
    font-weight: 400;
    font-size: 20px !important;
    line-height: 30px;
    letter-spacing: 0%;
    color: #1c1c1c;
}

/* Custom Red Bullet Lists */
.job-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-list li {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    color: #1c1c1c;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-family: "Frutiger" !important;
}

.job-list li::before {
    content: "•";
    color: #e2001a;
    font-size: 26px;
    position: absolute;
    left: 0;
    top: 0px;
}

/* Apply Now Content Box Tokens */
.apply-now-container {
    width: 100%;
    min-height: 596px;
    background-color: #ededed;
    border-radius: 32px;
    padding: 50px;
    margin-top: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 1;
    font-family: "Frutiger" !important;
}

.apply-box-title {
    font-size: 40px;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0;
    font-family: "Frutiger" !important;
}

/* Form Input Layouts */
.apply-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "Frutiger" !important;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #9e9e9e;
    border-radius: 8px;
    font-size: 18px;
    background-color: #ffffff;
    color: #1c1c1c;
    outline: none;
}

.form-group input::placeholder {
    color: #9e9e9e;
}

/* Custom Styled File Input Controls */
.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    border: 1px solid #9e9e9e;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
}

.hidden-file-input {
    display: none;
}

.custom-file-btn {
    background: #ededed;
    border: 1px solid #9e9e9e;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: #1c1c1c;
}

.file-status {
    color: #9e9e9e;
    font-size: 16px;
}

.resume-upload-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resume-upload-group .file-input-wrapper {
    margin-bottom: 0;
}

.resume-file-note {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #5c5c5c;
    line-height: 1.4;
}

/* Submit Button Token Specifications */
.submit-app-btn {
    width: 231px;
    height: 60px;
    background-color: #e2001a;
    color: #ffffff;
    border: none;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    margin-top: 10px;
    font-family: "Frutiger" !important;
}

.submit-app-btn:hover {
    background-color: #be0014;
}

.submit-app-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    display: block;
    margin-top: 4px;
}

.application-message {
    display: none;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
}

.application-success {
    color: #28a745;
}

.application-error {
    color: #dc3545;
}
@media (max-width: 1660px) {
    .job-main-title {
        font-size: 58px;
    }
    .job-section-heading {
        font-size: 36px;
    }
}

@media (max-width: 1280px) {
    .job-details-page {
        max-width: 85%;
        gap: 40px;
    }
    .job-main-title {
        font-size: 50px;
        margin-bottom: 30px;
    }
    .job-section-heading {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .meta-row {
        font-size: 18px;
        line-height: 27px;
    }
}
@media (max-width: 1200px) {
    .job-details-page {
        max-width: 90%;
    }
    .job-main-title {
        font-size: 48px;
    }
    .job-section-heading {
        font-size: 34px;
    }
}
@media (max-width: 990px) {
    .job-details-page {
        gap: 40px;
    }
    .job-main-title {
        font-size: 38px;
        margin-bottom: 20px;
    }
    .job-meta-grid {
        gap: 8px;
    }
    .job-section-heading {
        font-size: 28px;
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {
    .job-main-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    .meta-row {
        font-size: 16px;
        line-height: 20px;
    }
    .job-section-heading {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .meta-label {
        width: 130px;
    }
    .job-list li {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .apply-now-container {
        padding: 30px;
        gap: 30px;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] {
        padding: 10px 10px;
    }
    .custom-file-btn {
        margin-bottom: 0;
        padding: 6px 10px;
    }
    .back-to-openings {
        font-size: 18px;
    }
}
@media (max-width: 500px) {
    .apply-now-container {
        padding: 20px;
        gap: 28px;
        margin-top: 0 !important;
    }
    .form-group {
        margin-bottom: 0;
    }
    .submit-app-btn {
        width: 231px;
        height: 46px;
        font-size: 16px;
    }
    .apply-now-container {
        min-height: 460px;
    }
    .meta-label {
        width: 120px;
    }
    .bannerSection img {
        height: 150px;
        object-fit: cover;
    }
    .apply-box-title {
        font-size: 28px;
    }
}
