/* Job details page (Views/Jobs/details.cshtml): notification popup, quick-nav, comments. */

.commentContainer {
    margin-top: 5px;
}

.home-mini-dash-bar {
    margin-top: 20px;
}

.notify-modal-dialog {
    max-width: 320px;
}

.notify-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15,23,42,0.25);
}

.notify-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #333;
    cursor: pointer;
}

.notify-banner {
    background: #1E88E5;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notify-bell-wrap {
    position: relative;
}

.notify-bell-icon {
    font-size: 56px;
    color: #FFC107;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.notify-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F44336;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #1E88E5;
}

.notify-body {
    padding: 22px 22px 6px;
    text-align: center;
}

.notify-title {
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 10px;
}

.notify-desc {
    font-size: 13.5px;
    color: #6c757d;
    margin-bottom: 20px;
}

.notify-footer {
    display: flex;
    margin: 0;
}

.notify-btn {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.notify-btn-later {
    background: #e9ecef;
    color: #495057;
}

    .notify-btn-later:hover {
        background: #dee2e6;
    }

.notify-btn-allow {
    background: #29B6F6;
    color: #fff;
}

    .notify-btn-allow:hover {
        background: #1E88E5;
    }

    .notify-btn-allow:disabled {
        opacity: 0.7;
        cursor: default;
    }

/* ---------- Quick navigation (right column; a row of chips on phones). Highlight: Scripts/job-quicknav.js ---------- */
.jd-quick-nav {
    display: flex; flex-direction: column; gap: 1px; margin-bottom: 14px; padding: 6px 8px; border-radius: 14px;
    background: #fff; border: 1px solid #e8ebf3; box-shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 12px 26px rgba(15, 23, 42, .07);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.jd-qn-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 5px; margin-bottom: 2px; border-bottom: 1px solid #eef1f6; }
.jd-qn-head-ico { flex: none; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px;
    background: linear-gradient(135deg, #e11d48, #f97316); box-shadow: 0 6px 12px -6px rgba(225, 29, 72, .6); }
.jd-quick-nav-title { display: block; margin: 0; font-size: 13px; font-weight: 800; color: #0f172a; text-transform: none; letter-spacing: 0; }
.jd-qn-head small { display: none; }
.jd-quick-nav-link {
    --c: #4f46e5;
    position: relative; display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 9px;
    font-size: 12.5px; line-height: 1.4; font-weight: 600; color: #334155; text-decoration: none; transition: background-color .15s, color .15s;
}
.jd-qn-ico { flex: none; width: 22px; height: 22px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px;
    color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); transition: background-color .15s, color .15s; }
.jd-qn-text { flex: 1 1 auto; min-width: 0; }
.jd-qn-go { color: #cbd5e1; font-size: 13px; transition: transform .15s, color .15s; }
.jd-quick-nav-link:hover, .jd-quick-nav-link:focus-visible { background: #f8fafc; color: var(--c); text-decoration: none; outline: none; }
.jd-quick-nav-link:focus-visible { box-shadow: 0 0 0 2px var(--c); }
.jd-quick-nav-link:hover .jd-qn-go { color: var(--c); transform: translateX(3px); }
.jd-quick-nav-link.is-active { background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--c); }
.jd-quick-nav-link.is-active::before { content: ''; position: absolute; left: -8px; top: 5px; bottom: 5px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.jd-quick-nav-link.is-active .jd-qn-ico { background: var(--c); color: #fff; }
.jd-quick-nav-link.is-active .jd-qn-go { color: var(--c); }

/* the sections it jumps to stop below the fixed site header */
#jdAgeLimit, #jdAppFee, #jdImportantDates, #Vacancydetails, #jdImportantLinks, #qaSection { scroll-margin-top: 96px; }

html[data-theme="dark"] .jd-quick-nav { background: var(--bg-secondary, #0f172a) !important; border-color: var(--border-color, #1e293b) !important; }
html[data-theme="dark"] .jd-qn-head { border-color: var(--border-color, #1e293b); }
html[data-theme="dark"] .jd-quick-nav-title { color: var(--text-primary, #e2e8f0) !important; }
html[data-theme="dark"] .jd-quick-nav-link { color: var(--text-secondary, #cbd5e1) !important; }
html[data-theme="dark"] .jd-qn-ico { background: rgba(148, 163, 184, .14); }
html[data-theme="dark"] .jd-quick-nav-link:hover, html[data-theme="dark"] .jd-quick-nav-link.is-active { background: rgba(148, 163, 184, .1); }

/* phones: one swipeable row of chips instead of a box */
@media (max-width: 767px) {
    .jd-quick-nav { flex-direction: row; gap: 8px; overflow-x: auto; padding: 10px; margin: 10px 0 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .jd-quick-nav::-webkit-scrollbar { display: none; }
    .jd-qn-head { display: none; }
    .jd-quick-nav-link { flex: none; padding: 6px 12px 6px 6px; border: 1px solid #e8ebf3; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
    .jd-qn-ico { width: 24px; height: 24px; border-radius: 50%; font-size: 11px; }
    .jd-qn-go { display: none; }
    .jd-quick-nav-link.is-active::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .jd-quick-nav-link, .jd-qn-go, .jd-qn-ico { transition: none; } }

/* "Last date to apply" / "Applications closed" note under the job title (Views/Jobs/details.cshtml) */
.jd-apply-status { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 12px; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; border: 1px solid; }
.jd-apply-status i { margin-top: 2px; font-size: 16px; }
.jd-apply-status.is-open { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.jd-apply-status.is-closed { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
html[data-theme="dark"] .jd-apply-status.is-open { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .35); color: #6ee7b7; }
html[data-theme="dark"] .jd-apply-status.is-closed { background: rgba(234, 88, 12, .12); border-color: rgba(234, 88, 12, .35); color: #fdba74; }
