/* ==========================================================================
   Job Detail page (jobs/show). Page-specific styles.
   Shared helpers/footer in app.css. Prefix `jd-`. No page JS (reveal is global).
   ========================================================================== */

.jd-wide { max-width: 1240px; }
.jd-sec { padding: 36px 12px 60px; }
.jd-intro { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; line-height: 24px; color: #0e2a47; margin: 0 0 22px; }

/* ---- summary bar ---- */
.jd-summary { background: #eaf2fd; border-radius: 10px; padding: 26px 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.jd-summary-title { flex: 0 0 22%; min-width: 170px; color: #1f7ae0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; line-height: 24px; }
.jd-summary-cell { display: flex; align-items: center; gap: 9px; color: #33445c; font-size: 15px; }
.jd-summary-ic { color: #1f7ae0; }

/* ---- main card ---- */
.jd-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 36px; box-shadow: 0 10px 30px rgba(13, 60, 120, .05); }
.jd-pink { background: #fdf4f4; border-radius: 14px; padding: 28px 30px; }
.jd-h { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; line-height: 24px; color: #0e2a47; display: flex; align-items: center; gap: 12px; }
.jd-h::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #d8222a; flex: none; }
.jd-h--mt28 { margin-top: 28px; }
.jd-h--mt34 { margin-top: 34px; }
.jd-ul { margin: 16px 0 0; padding-left: 20px; }
.jd-li {    color: #3a5273;    font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 14px;
 line-height: 20px;    display: inline-block; }
    
.jd-about { color: #3a5273; font-size: 15px; line-height: 1.85; margin: 16px 0 0; }
.jd-hashtags { color: #3a5273; font-size: 15px; line-height: 1.9; margin: 16px 0 0; }
.jd-note { background: #eaf3fb; border-left: 4px solid #d8222a; border-radius: 0 10px 10px 0; padding: 18px 22px; margin-top: 28px; 
color: #3a5273; font-family: 'Montserrat', sans-serif; font-weight: 500;
font-size: 14px; line-height:21px; }

.jd-note-link { color: #1f7ae0; text-decoration: none; }
.jd-note-link--bold { font-weight: 600; }

/* ---- share ---- */
.jd-share-row { gap: 18px; margin-top: 30px; }
.jd-share-label { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; color: #0e2a47; }
.jd-share-icons { gap: 12px; }
.jsoc { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; transition: .2s; text-decoration: none; }
.jsoc:hover { transform: translateY(-3px); }
.jsoc-fb { background: #1877f2; color: #fff; }
.jsoc-out { border: 1.5px solid #cfe0f2; color: #1f7ae0; }

/* ---- apply form ---- */
.jd-apply { margin-top: 26px; }
.jd-apply-h2 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 30px; line-height: 36px; margin: 0 0 26px; }
.ff { width: 100%; border: none; border-radius: 10px; padding: 14px 16px; font-size: 14px; font-family: inherit; outline: none; color: #33445c; background: #f3f6fa; }
.ff::placeholder { color: #9aa7b8; }
.ff:focus { box-shadow: 0 0 0 2px #cfe0f5; }
.flabel { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; color: #0e2a47; display: block; margin-bottom: 9px; }
.flabel span { color: #d8222a; }
.jd-select { color: #9aa7b8; appearance: auto; }
.jd-opt { color: #33445c; }
.jd-phone { display: flex; align-items: stretch; background: #f3f6fa; border-radius: 10px; overflow: hidden; }
.jd-phone-cc { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-right: 1px solid #e1e8f0; font-size: 14px; flex: none; }
.jd-phone-caret { font-size: 10px; color: #9aa7b8; }
.jd-phone-input { flex: 1; border: none; outline: none; background: transparent; padding: 14px 16px; font-size: 14px; font-family: inherit; color: #33445c; }
.jd-upload { display: block; border: 2px dashed #cdd9e6; border-radius: 12px; padding: 34px; text-align: center; cursor: pointer; }
.jd-upload-ic { font-size: 24px; color: #1f7ae0; }
.jd-upload-dd { color: #5f7186; font-size: 14px; margin-top: 10px; }
.jd-upload-or { color: #9aa7b8; font-size: 13px; margin: 4px 0 12px; }
.jd-upload-btn { display: inline-block; background: #3598fd; color: #fff; border: none; border-radius: 8px; padding: 10px 26px; font-size: 14px; font-weight: 600; }
.jd-upload-hint { color: #9aa7b8; font-size: 12px; margin-top: 12px; }
/* Drop zone + attached-file card — see assets/js/file-upload.js */
.jd-upload-wrap.is-drag .jd-upload { border-color: #3598fd; background: #f4f9ff; }
.jd-upload-wrap.is-drag .jd-upload-dd { color: #1f7ae0; }
.jd-file { display: flex; align-items: center; gap: 12px; border: 2px solid #d7e7fb; background: #f4f9ff; border-radius: 12px; padding: 16px 18px; }
.jd-file-ic { flex: 0 0 auto; font-size: 22px; color: #1f7ae0; }
.jd-file-name { min-width: 0; font-size: 14px; font-weight: 600; color: #0e2a47; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jd-file-size { flex: 0 0 auto; margin-left: auto; font-size: 12.5px; color: #7d8ca3; }
.jd-file-x { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: none; border-radius: 8px; background: #fff; color: #7d8ca3; font-size: 12px; cursor: pointer; transition: .2s; }
.jd-file-x:hover { background: #ffecec; color: #d8222a; }
.jd-rc-note { font-size: 12.5px; color: #9aa7b8; display: flex; align-items: center; gap: 6px; margin: 0; }
.jd-recaptcha { display: inline-flex; align-items: center; gap: 14px; border: 1px solid #d3d3d3; border-radius: 4px; padding: 12px 16px; background: #f9f9f9; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.jd-recaptcha-check { width: 26px; height: 26px; border: 2px solid #c1c1c1; border-radius: 3px; background: #fff; flex: none; }
.jd-recaptcha-text { font-size: 14px; color: #3a4d65; }
.jd-recaptcha-brand { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-left: 20px; color: #9aa7b8; }
.jd-recaptcha-ic { font-size: 22px; color: #4a90d9; }
.jd-recaptcha-lbl { font-size: 9px; letter-spacing: .05em; }
.jd-mt6 { margin-top: 6px; }
.jd-mt10 { margin-top: 10px; }
.jd-submit { width: 100%; background: #c2102e; color: #fff; border: none; border-radius: 30px; padding: 17px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: .2s; }
.jd-submit:hover { background: #a30d26; }

/* ---- sidebar ---- */
.jd-sidebar { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 28px 30px; box-shadow: 0 10px 30px rgba(13, 60, 120, .05); position: sticky; top: 20px; }
.jd-sidebar-h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; line-height: 24px; margin: 0 0 8px; }
.jdside-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #eef2f7; }
.jdside-row:last-child { border-bottom: none; }
.jdside-row i { color: #d8222a; font-size: 19px; flex: none; margin-top: 2px; }
.jdside-lbl { color: #7c8aa0; font-size: 14px; }

/*.jdside-val { color: #0e2a47; font-weight: 600; font-size: 15px; margin-top: 3px; }*/

.jdside-val {  color: #0e2a47; font-weight: 500; font-size: 14px; margin-top: 3px;  /* display: block; */    list-style-type: devanagari;
    text-transform: capitalize; }    

.jd-side-ul { margin: 6px 0 0; padding-left: 18px; }


/* ==========================================================================
   NEW LAYOUT — single-column redesign (2026-07-23).
   All classes use existing jd- prefix. Existing classes above are untouched.
   ========================================================================== */

/* ---- sticky top bar ---- */
.jd-sticky-bar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #0e2a47;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.jd-sticky-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.jd-sticky-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jd-sticky-apply {
    flex: none;
    background: #d8222a;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 8px 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
}
.jd-sticky-apply:hover { background: #a30d26; color: #fff; }

/* ---- breadcrumb ---- */
.jd-breadcrumb {
    max-width: 900px;
    margin: 18px auto 0;
    padding: 0 16px;
    font-size: 13px;
    color: #7c8aa0;
}
.jd-breadcrumb a { color: #1f7ae0; text-decoration: none; }
.jd-breadcrumb a:hover { text-decoration: underline; }
.jd-breadcrumb-sep { margin: 0 6px; }

/* ---- page column ---- */
.jd-col {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}

/* ---- header card ---- */
.jd-header-card {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 32px 36px 28px;
    box-shadow: 0 6px 24px rgba(13,60,120,.06);
    margin-bottom: 28px;
}
.jd-job-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: #0e2a47;
    margin: 0 0 6px;
}
.jd-job-sub {
    font-size: 14px;
    color: #7c8aa0;
    margin: 0 0 20px;
    font-weight: 500;
}

/* chips */
.jd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.jd-chip {
    background: #eaf2fd;
    color: #1f5fa0;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
}

/* meta grid */
.jd-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px 20px;
    margin-bottom: 28px;
}
.jd-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.jd-meta-ic {
    color: #1f7ae0;
    font-size: 17px;
    flex: none;
    margin-top: 2px;
}
.jd-meta-label {
    font-size: 12px;
    color: #9aa7b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.jd-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: #0e2a47;
    margin-top: 2px;
}

/* CTA buttons */
.jd-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.jd-btn-primary {
    background: #d8222a;
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s;
    cursor: pointer;
    display: inline-block;
}
.jd-btn-primary:hover { background: #a30d26; color: #fff; }
.jd-btn-outline {
    background: transparent;
    color: #0e2a47;
    border: 1.5px solid #c6d5e6;
    border-radius: 28px;
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
    cursor: pointer;
    display: inline-block;
}
.jd-btn-outline:hover { border-color: #1f7ae0; color: #1f7ae0; }

/* ---- content sections ---- */
.jd-section {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(13,60,120,.04);
    margin-bottom: 20px;
}
.jd-section-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #0e2a47;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.jd-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #d8222a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex: none;
}
.jd-section-body {
    color: #3a5273;
    font-size: 15px;
    line-height: 1.85;
}
.jd-section-list {
    margin: 0;
    padding-left: 22px;
    color: #3a5273;
    font-size: 15px;
    line-height: 1.8;
}
.jd-section-list li { margin-bottom: 6px; }

/* ---- how-to-apply block ---- */
.jd-hta-block {
    background: #eaf3fb;
    border-left: 4px solid #1f7ae0;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-top: 4px;
}
.jd-hta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0e2a47;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}
.jd-hta-row:last-child { margin-bottom: 0; }
.jd-hta-row i { color: #1f7ae0; font-size: 18px; flex: none; }
.jd-hta-link { color: #1f7ae0; text-decoration: none; font-weight: 600; }
.jd-hta-link:hover { text-decoration: underline; }

/* ---- apply form section ---- */
.jd-apply-section {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 4px 16px rgba(13,60,120,.04);
    margin-bottom: 20px;
}
.jd-apply-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #0e2a47;
    margin: 0 0 24px;
}

/* ---- mobile floating apply button ---- */
.jd-float-apply {
    display: none;
}
@media (max-width: 767px) {
    .jd-sticky-bar { display: none; }
    .jd-float-apply {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 800;
        padding: 12px 16px;
        background: #fff;
        border-top: 1px solid #e6edf5;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    }
    .jd-float-apply a {
        display: block;
        background: #d8222a;
        color: #fff;
        text-align: center;
        border-radius: 28px;
        padding: 14px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 16px;
        text-decoration: none;
    }
    .jd-header-card { padding: 22px 18px 20px; }
    .jd-job-title { font-size: 20px; }
    .jd-section { padding: 22px 18px; }
    .jd-apply-section { padding: 22px 18px; }
    .jd-col { padding-bottom: 100px; }
}


/* ==========================================================================
   VISUAL CORRECTIONS 2026-07-23 — match prototype more closely
   ========================================================================== */

/* page background */
body { background: #f5f7fa; }

/* sticky bar — teal/green button like prototype */
.jd-sticky-apply {
    background: #1a7a5e;
}
.jd-sticky-apply:hover { background: #155f4a; color: #fff; }

/* chips — outlined style like prototype */
.jd-chip {
    background: transparent;
    color: #3a5273;
    border: 1.5px solid #c6d5e6;
    font-size: 13px;
    font-weight: 500;
}

/* meta grid label — smaller caps */
.jd-meta-label {
    font-size: 11px;
    color: #9aa7b8;
}

/* CTA primary — green like prototype */
.jd-btn-primary {
    background: #1a7a5e;
}
.jd-btn-primary:hover { background: #155f4a; color: #fff; }

/* Section number circles — dark navy like prototype */
.jd-section-num {
    background: #0e2a47;
    width: 28px;
    height: 28px;
    font-size: 13px;
}

/* How-to-apply block — teal left border like prototype */
.jd-hta-block {
    background: #f0faf6;
    border-left-color: #1a7a5e;
}
.jd-hta-row i { color: #1a7a5e; }
.jd-hta-link { color: #1a7a5e; }

/* Apply section heading — match prototype Apply for this role style */
.jd-apply-section-title {
    font-size: 20px;
}

/* mobile floating button — green */
@media (max-width: 767px) {
    .jd-float-apply a { background: #1a7a5e; }
}

/* === BUTTON COLOR FIX — brand red #d8222a === */
.jd-sticky-apply,
.jd-sticky-apply:hover,
.jd-btn-primary,
.jd-btn-primary:hover { background: #d8222a; color: #fff; }
.jd-btn-primary:hover,
.jd-sticky-apply:hover { background: #a30d26; }
@media (max-width: 767px) {
    .jd-float-apply a { background: #d8222a; }
}
