/* ═══════════════════════════════════════════════════════
   GOrecruitAI – Shared Component Styles
   Buttons, badges, cards, form inputs that repeat
   across many pages
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════
   Date-picker month/year quick-select (global – used by every inline calendar's nav)
   ══════════════════════════════════ */
.gr-dp-selects { display: inline-flex; align-items: center; gap: 6px; }
.gr-dp-select {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--g-text-heading, #1e293b);
    background: var(--g-bg-card, #fff);
    border: 1px solid var(--g-gray-200, #e2e8f0);
    border-radius: 6px;
    padding: 3px 6px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
}
.gr-dp-select:hover { border-color: var(--g-gray-300, #cbd5e1); }
.gr-dp-select:focus { border-color: var(--g-brand, #2c7cff); }

/* ══════════════════════════════════
   Find-in-resume highlight (global – used by the resume viewers' find bar)
   ══════════════════════════════════ */
mark.gr-find-hit {
    background: #fde68a;           /* amber-200 */
    color: inherit;
    padding: 0;
    border-radius: 2px;
    scroll-margin: 80px;
}
mark.gr-find-hit.gr-find-current {
    background: #f59e0b;           /* amber-500 — the active match */
    color: #1e293b;
    box-shadow: 0 0 0 1px #d97706;
}
/* Inside a PDF text layer the glyphs are normally transparent (the real text is on the canvas below),
   so a translucent background alone can be invisible. Make the matched glyphs themselves visible on a
   solid amber chip with an outline — unmistakable regardless of blend/stacking. */
.textLayer mark.gr-find-hit,
.gr-pdf-textlayer mark.gr-find-hit {
    background-color: #fde047 !important;                 /* amber-300 */
    color: #1e293b !important;                            /* reveal the text-layer glyphs */
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(202, 138, 4, 0.85);        /* amber-600 outline */
}
.textLayer mark.gr-find-hit.gr-find-current,
.gr-pdf-textlayer mark.gr-find-hit.gr-find-current {
    background-color: #fb923c !important;                 /* orange-400 — active match */
    color: #1e293b !important;
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.95);
}
/* The text layer must stay fully opaque and above the canvas or highlights get hidden/diluted. */
.gr-pdf-textlayer { opacity: 1 !important; z-index: 2; }
.gr-pdf-page canvas { position: relative; z-index: 1; }

/* ── PDF.js render (canvas pages + selectable text layer) ── */
.gr-pdf-view {
    background: var(--g-gray-100, #f1f5f9);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.gr-pdf-page {
    position: relative;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.16);
    line-height: 0;
}
.gr-pdf-page canvas { display: block; }
.gr-pdf-textlayer {
    position: absolute;
    left: 0; top: 0;
    overflow: hidden;
    line-height: 1;
    opacity: 1;
    z-index: 2;
}
.gr-pdf-textlayer > span,
.gr-pdf-textlayer > br {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0% 0%;
}
.gr-pdf-textlayer ::selection { background: rgba(37, 99, 235, 0.25); }

/* Find bar shared across resume viewers */
.gr-find-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: var(--g-bg-card, #fff);
    border: 1px solid var(--g-gray-200, #e2e8f0);
    border-radius: 8px;
    box-shadow: var(--g-shadow-md, 0 4px 12px rgba(0,0,0,0.08));
}
.gr-find-input {
    border: none;
    outline: none;
    font-size: 13px;
    padding: 4px 6px;
    width: 150px;
    background: transparent;
    color: var(--g-text-body, #1e293b);
}
.gr-find-count {
    font-size: 12px;
    color: var(--g-text-muted, #94a3b8);
    min-width: 34px;
    text-align: center;
    white-space: nowrap;
}
.gr-find-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--g-text-muted, #64748b);
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.gr-find-btn:hover:not(:disabled) { background: var(--g-gray-100, #f1f5f9); color: var(--g-text-body, #1e293b); }
.gr-find-btn:disabled { opacity: 0.4; cursor: default; }

/* ══════════════════════════════════
   Resume Zoom Controls (global)
   ══════════════════════════════════ */
.cv-resume-zoom-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--g-gray-200, #e2e8f0);
    border-radius: 8px;
    background: var(--g-bg-card, #fff);
}
.cv-resume-zoom-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--g-gray-200, #e2e8f0);
    border-radius: 6px;
    background: #fff;
    color: var(--g-text-secondary, #64748b);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.cv-resume-zoom-btn:hover:not(:disabled) { background: var(--g-gray-50, #f8fafc); color: var(--g-text-primary, #1e293b); }
.cv-resume-zoom-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.cv-resume-zoom-level {
    min-width: 48px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--g-text-secondary, #64748b);
}

/* ══════════════════════════════════
   Status Column Filter (global)
   ══════════════════════════════════ */
.gr-cl-status-filter-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}
.gr-cl-status-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--g-text-muted, #94a3b8);
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.gr-cl-status-filter-btn:hover { background: var(--g-gray-100, #f1f5f9); color: var(--g-text-body, #1e293b); }
.gr-cl-status-filter-btn--active { color: #3b82f6; }
.gr-cl-status-filter-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 80;
    min-width: 200px;
    max-height: 260px;
    overflow-y: auto;
    background: var(--g-bg-card, #fff);
    border: 1px solid var(--g-gray-100, #f1f5f9);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.06);
    padding: 8px;
}
.gr-cl-status-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--g-text-primary, #1e293b);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s;
}
.gr-cl-status-filter-item:hover { background: var(--g-gray-50, #f8fafc); }
.gr-cl-status-filter-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #3b82f6;
    cursor: pointer;
}
.gr-cl-status-filter-clear {
    display: block;
    width: 100%;
    padding: 7px 10px;
    margin-top: 4px;
    border: none;
    background: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.12s;
}
.gr-cl-status-filter-clear:hover { background: #fef2f2; }

/* ── Status Column Sort Icons ── */
.gr-cl-status-sort-icons {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 4px;
    vertical-align: middle;
}
.gr-cl-status-sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: var(--g-text-muted, #94a3b8);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.gr-cl-status-sort-btn:hover { background: var(--g-gray-100, #f1f5f9); color: var(--g-text-body, #1e293b); }
.gr-cl-status-sort-btn--active { color: #3b82f6; background: #eff6ff; }
.gr-cl-status-sort-btn--active:hover { background: #dbeafe; color: #2563eb; }

/* ── Sort Direction Indicator ── */
.gr-cl-sort-dir {
    font-size: 11px;
    font-weight: 500;
    color: #3b82f6;
    white-space: nowrap;
}

/* ══════════════════════════════════
   Full-Page Loader (global – not scoped)
   ══════════════════════════════════ */
.fpl-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.fpl-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fpl-gif {
    min-width: 200px;
    height: auto;
}

/* ══════════════════════════════════
   Buttons
   ══════════════════════════════════ */

/* ── Primary action (gradient) ── */
.g-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--g-btn-height-sm);
    padding: 5px 22px;
    border: none;
    border-radius: var(--g-radius-md);
    background:var(--sidebar-active-bg);
    color: #fff;
    font-size: var(--g-btn-font-size);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 5px -1px var(--g-primary-shadow),
                0 5px 12px -4px var(--g-primary-shadow-deep);
    transition: opacity var(--g-transition),
                box-shadow var(--g-transition);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    text-decoration: none;
}

 
.g-btn-primary:focus-visible {
    box-shadow: var(--g-focus-shadow);
}

.g-btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

/* ── Cancel / secondary ── */
.g-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--g-btn-height-sm);
    padding: 5px 22px;
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-md);
    background: #e5e7eb;
    color: var(--g-text-body);
    font-size: var(--g-btn-font-size);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--g-transition);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    text-decoration: none;
}

.g-btn-cancel:hover {
    background: #e5e7eb;
    border-color: var(--g-gray-300);
}

/* ── Icon button ── */
.g-btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--g-radius-sm);
    background: transparent;
    color: var(--g-text-secondary);
    cursor: pointer;
    transition: background var(--g-transition),
                color var(--g-transition);
    padding: 0;
}

.g-btn-icon:hover {
    background: var(--g-border-light);
    color: var(--g-text-body);
}

/* ── Regenerate / icon-action ── */
.g-btn-regen {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1.5px solid var(--g-border);
    border-radius: var(--g-radius-lg);
    background: var(--g-bg-card);
    color: var(--g-indigo);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.g-btn-regen:hover {
    border-color: var(--g-indigo-light);
    background: var(--g-indigo-bg);
}

.g-btn-regen:hover i {
    transform: rotate(90deg);
}

/* ══════════════════════════════════
   Dashboard Banner Shared Styles (global)
   Reused by TLIndex and Bench Dashboard banner markup.
   ══════════════════════════════════ */
.dashboard-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'OpenSans', sans-serif;
    zoom: 0.9;
}

.dashboard-header-banner {
    border-radius: 2rem;
    padding: 48px;
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
}

.db-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
}

.db-left {
    flex: 1;
    min-width: 0;
}

.banner-profile-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.banner-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.banner-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59, 130, 246, 0.25);
    display: block;
}

.banner-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgb(59, 130, 246);
    border: 2px solid #ffffff;
    display: block;
}

.banner-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
}

.banner-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(59, 130, 246);
    display: inline-block;
    flex-shrink: 0;
}

.banner-status-label {
    font-size: 10px;
    font-weight: 600;
    color: rgb(59, 130, 246);
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 0;
}

.banner-user-info {
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 3px;
    font-weight: 400;
}

.banner-greeting {
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -1.5px;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 16px;
}

.banner-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    max-width: 450px;
}

.banner-description strong {
    color: rgb(59, 130, 246);
    font-weight: 600;
}

.bench-banner-kpi-row {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
}

.bench-banner-kpi-card {
    border: 1px solid rgba(191, 219, 254, 0.55);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #eff5ff 100%);
    color: #ffffff;
    padding: 12px 14px;
    text-align: center; 
}

.bench-banner-kpi-value {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.bench-banner-kpi-label {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
}

.banner-timer-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.banner-timer-row {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.timer-digit {
    font-size: 36px;
    font-weight: 300;
    color: rgb(59, 130, 246);
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
    line-height: 1;
}

.timer-separator {
    font-size: 32px;
    font-weight: 300;
    color: #bfdbfe;
    line-height: 1;
    width: 16px;
    text-align: center;
}

.banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-view-pipeline {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btn-view-pipeline-icon {
    font-size: 16px;
    line-height: 1;
    font-weight: 300;
}

.btn-view-interviews {
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 22px;
    border-radius: 10px;
    border: 1.5px solid #111827;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .dashboard-header-banner { padding: 28px !important; border-radius: 1.2rem !important; }
    .db-row { flex-direction: column !important; gap: 24px !important; }
    .db-left { flex: none !important; width: 100% !important; }
    .banner-greeting { font-size: 28px !important; }
}

@media (max-width: 1200px) {
    .bench-statband {
        grid-template-columns: 1fr 1fr;
    }

    .bench-expanded-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-header-banner { padding: 20px !important; border-radius: 1rem !important; margin-bottom: 20px !important; }
    .banner-greeting { font-size: 24px !important; letter-spacing: -0.5px !important; }
    .banner-description { font-size: 13px !important; max-width: 100% !important; }
    .banner-buttons { gap: 8px !important; }
    .btn-view-pipeline, .btn-view-interviews { font-size: 12px !important; padding: 6px 16px !important; }
    .timer-digit { font-size: 28px !important; min-width: 36px !important; }
    .timer-separator { font-size: 24px !important; }
    .bench-banner-kpi-row { grid-template-columns: 1fr; max-width: 100%; }
    .bench-banner-kpi-value { font-size: 28px; }
}

@media (max-width: 480px) {
    .dashboard-header-banner { padding: 16px !important; border-radius: 0.75rem !important; margin-bottom: 16px !important; }
    .banner-greeting { font-size: 20px !important; margin-bottom: 10px !important; }
    .banner-description { font-size: 12px !important; line-height: 1.5 !important; }
    .banner-profile-row { gap: 8px !important; margin-bottom: 12px !important; }
    .banner-avatar-img { width: 36px !important; height: 36px !important; }
    .banner-user-info { font-size: 10px !important; }
    .banner-timer-section { margin-top: 12px !important; margin-bottom: 12px !important; }
    .timer-digit { font-size: 22px !important; min-width: 28px !important; }
    .timer-separator { font-size: 20px !important; width: 12px !important; }
    .banner-buttons { flex-direction: column !important; gap: 8px !important; }
    .btn-view-pipeline, .btn-view-interviews { width: 100% !important; justify-content: center !important; text-align: center !important; padding: 10px 16px !important; }
}

.db-center {
    width: 340px;
    flex-shrink: 0;
    border-left: 1px solid #f3f4f6;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

.db-right {
    flex-shrink: 1;
    min-width: 0;
    border-left: 1px solid #f3f4f6;
    padding-left: 28px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.target-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.target-dropdown-wrapper {
    position: relative;
}

.target-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    min-width: 150px;
    height: 40px;
    padding: 0 12px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    justify-content: space-between;
}

.target-select-btn:hover {
    border-color: #c9d6ea;
    background: #fbfdff;
}

.target-team-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
}

.target-selected-name {
    flex: 1;
    text-align: left;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

.target-avatar,
.target-avatar-initials {
    width: 20px;
    height: 20px;
    border-radius: 999px;
}

.target-avatar {
    object-fit: cover;
    border: 1px solid #bfdbfe;
}

.target-avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 700;
}

.target-dropdown-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 60;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 190px;
    max-height: 300px;
    overflow-y: auto;
}

.target-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.target-dropdown-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.target-date-wrapper {
    position: relative;
    justify-self: end;
}

.target-date-btn {
   padding: 8px 0px;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 600;
    border-width: 1px;
    border-color: #dbe3ef;
    border-radius: 10px;
    color: #475569;
    min-width: 160px;
    /* height: 40px; */
    justify-content: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.target-date-btn:hover {
    border-color: #c9d6ea;
    background: #fbfdff;
}

.date-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden;
    min-width: 240px;
}

.date-preset-list {
    padding: 8px 0;
}

.date-preset-btn {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.date-preset-btn.active {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
}

.date-custom-panel {
    padding: 12px 14px;
    border-top: 1px solid #f1f5f9;
    min-width: 220px;
}

.date-custom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.date-nav-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px 8px;
    font-size: 16px;
    color: #6b7280;
}

.date-month-label {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.date-weekdays-grid,
.date-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.date-weekdays-grid {
    margin-bottom: 4px;
}

.date-weekday {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    padding: 3px 0;
}

.date-day-btn {
    text-align: center;
    padding: 5px 0;
    font-size: 11px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #374151;
    border-radius: 0;
}

.date-day-btn.is-range {
    background: #cfe2ff;
}

.date-day-btn.is-edge {
    border-radius: 999px;
    background: #2c7cff;
    color: #fff;
    font-weight: 700;
}

.date-day-btn.is-today {
    color: #2c7cff;
    font-weight: 700;
}

.target-motivational-chip {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

.target-motivational-text {
    font-size: 11.5px;
    color: #15803d;
    font-weight: 600;
    line-height: 1.5;
}

.target-progress-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.target-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6px;
}

.target-progress-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.target-progress-value {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.target-progress-value-sub {
    color: #9ca3af;
    font-weight: 400;
}

.target-progress-track {
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.target-progress-fill {
    height: 100%;
    background: #111827;
    border-radius: 999px;
    transition: width 0.5s ease;
}

.performer-card {
    background: rgba(239, 246, 255, 0.45);
    border-radius: 24px;
    overflow: hidden;
}

.dtp {
    display: flex;
    flex-direction: row;
    width: 480px;
    max-width: 100%;
}

.dtph {
    width: 210px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.performer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.performer-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.performer-info {
    flex: 1;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.performer-star-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}

.performer-star-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.performer-star-label {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #d97706;
    line-height: 1;
    white-space: nowrap;
}

.performer-name {
    font-size: 21px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.performer-role {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 20px;
}

.performer-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.performer-stat-num {
    font-size: 22px;
    font-weight: 300;
    color: rgb(59, 130, 246);
    line-height: 1;
    letter-spacing: -0.5px;
}

.performer-stat-label {
    font-size: 8.5px;
    color: #9ca3af;
    letter-spacing: 0.2px;
    margin-top: 4px;
    font-weight: 700;
}

.performer-feedback-row {
    display: flex;
    justify-content: flex-end;
    padding: 25px 0 0 0;
}

.link-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.link-button-text {
    font-size: 12px;
    font-weight: 600;
    color: rgb(59, 130, 246);
}

@media (max-width: 1440px) {
    .db-center { width: 240px; padding-left: 20px; }
    .db-right { padding-left: 20px; }
    .dtp { width: 380px; }
    .dtph { width: 160px; }
}

@media (max-width: 1280px) {
    .db-center { width: 200px; padding-left: 16px; }
    .db-right { padding-left: 16px; }
    .db-row { gap: 16px !important; }
    .dtp { width: 340px; }
    .dtph { width: 140px; }
}

@media (max-width: 1024px) {
    .db-center {
        width: 100% !important;
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #f3f4f6;
        padding-top: 24px;
    }

    .db-right {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #f3f4f6;
        padding-top: 24px;
        width: 100% !important;
        display: block !important;
    }

    .dtp { width: 100% !important; max-width: 100% !important; }
    .dtph { width: 200px !important; }
    .dtph img { object-position: center 20% !important; }
}

@media (max-width: 768px) {
    .target-progress-container { gap: 16px !important; }
    .dtp { flex-direction: column !important; }
    .dtph { width: 100% !important; height: 260px !important; }
    .dtph img { object-position: center 18% !important; }
    .dtph > div:last-child { bottom: 10px !important; }
    .performer-info { padding: 18px 16px !important; }
    .performer-name { font-size: 18px !important; }
    .performer-stats-grid { gap: 10px 12px !important; }
    .performer-stat-num { font-size: 18px !important; }
}

@media (max-width: 480px) {
    .target-header-row { grid-template-columns: 1fr !important; gap: 8px !important; }
    .target-date-wrapper { justify-self: start !important; }
    .target-select-btn, .target-date-btn { min-width: 100% !important; width: 100% !important; }
    .target-motivational-chip { padding: 8px 10px !important; }
    .target-motivational-text { font-size: 10.5px !important; }
    .performer-badge { font-size: 7px !important; padding: 4px 12px !important; }
    .performer-star-label { font-size: 12px !important; }
    .performer-name { font-size: 16px !important; }
    .performer-role { font-size: 11px !important; margin-bottom: 14px !important; }
    .performer-stat-num { font-size: 16px !important; }
    .performer-stat-label { font-size: 7.5px !important; }
}

/* ══════════════════════════════════
   Bench Dashboard: Candidate List + Top Recruiters
   ══════════════════════════════════ */
.bench-row-70-30 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

.bench-left-column,
.bench-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bench-right-column,
.bench-bottom-grid {
    display: none !important;
}

@media (min-width: 1025px) {
    .bench-right-column {
        position: sticky;
        top: 75px;
        align-self: start;
    }
}

.bench-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bench-panel-card {
    border-radius: 18px;
    padding: 16px;
}

.bench-panel-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bench-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.bench-panel-link,
.bench-panel-link-btn {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.bench-stage-dropdown-wrap {
    position: relative;
}

.bench-stage-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 10px;
    cursor: pointer;
    min-width: 128px;
    justify-content: space-between;
}

.bench-stage-dropdown-list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    min-width: 160px;
    z-index: 40;
    padding: 4px;
}

.bench-stage-option {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.bench-stage-option.active {
    background: #111827;
    color: #ffffff;
}

.bench-stage-tabs,
.bench-job-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.bench-job-mode-tabs {
    grid-template-columns: 1fr 1fr;
}

.bench-stage-tab,
.bench-mode-tab {
    border: 1px solid #c9d8f0;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 10px;
    cursor: pointer;
}

.bench-tab-count {
     width: 22px;
    height: 19px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.bench-tab-count-soft {
    width: 18px;
    height: 18px;
    font-size: 11px;
    margin-left: 4px;
}

.bench-stage-tab.active,
.bench-mode-tab.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.bench-pipeline-list {
    border: 1px solid #cfe0f5;
    border-radius: 14px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bench-pipeline-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d3e1f6;
    border-radius: 10px;
    padding: 8px 10px;
    position: relative;
}

.bench-pipeline-action-cell {
    position: relative;
    margin-left: 6px;
}

.bench-pipeline-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.bench-pipeline-info {
    flex: 1;
    min-width: 0;
}

.bench-pipeline-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.bench-name-link {
    cursor: pointer;
}

.bench-name-link:hover {
    color: #2563eb;
}

.bench-pipeline-meta {
    font-size: 11px;
    color: #64748b;
}

.bench-pipeline-status {
    border: 1px solid #9dd7b6;
    background: #ecfdf3;
    color: #047857;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
}

.bench-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bench-activity-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 12px;
}

.bench-activity-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.bench-activity-time {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.bench-activity-badge {
    border: 1px solid #d1d5db;
    color: #475569;
    background: #f8fafc;
    border-radius: 999px;
    font-size: 10px;
    padding: 2px 8px;
    font-weight: 700;
}

.bench-activity-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.bench-activity-desc,
.bench-activity-meta {
    font-size: 12px;
    color: #475569;
}

.bench-activity-item.is-highlight {
    border-color: #bfd3f4;
    background: #f5f9ff;
}

.bench-activity-owner {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 4px 0;
}

.bench-external-card {
    background: #ffffff;
}

.bench-external-candidate-context {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.bench-external-avatar-wrap {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.bench-external-avatar,
.bench-external-avatar-initials {
    width: 34px;
    height: 34px;
    border-radius: 999px;
}

.bench-external-avatar {
    object-fit: cover;
    display: block;
    border: 1px solid #d7e4f8;
}

.bench-external-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #bfdbfe;
}

.bench-external-copy {
    min-width: 0;
}

.bench-external-subtitle {
    font-size: 13px;
    color: #64748b; 
}

.bench-external-helper {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.bench-external-candidate-name,
.bench-add-job-link {
    color: #2563eb;
}

.bench-job-status-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #d8e3f3;
    margin-bottom: 10px;
}

.bench-status-tab {
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.bench-status-tab.active {
    color: #0f172a;
    border-bottom-color: #111827;
}

.bench-ext-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bench-ext-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bench-row-selected {
    background: #f8fafc;
}

.bench-ext-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #dbe5f2;
}

.bench-ext-body {
    min-width: 0;
    flex: 1;
}

.bench-ext-title {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
}

.bench-ext-meta {
    font-size: 12px;
    color: #64748b;
}

.bench-ext-meta.is-ai {
    color: #3b82f6;
}

.bench-ext-meta.is-external {
    color: #64748b;
}

.bench-ext-apply-btn {
    border: none;
    background: transparent;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1.1;
}

.bench-ext-item.is-highlight {
    border-color: #b7e4ca;
    background: #e9f9ef;
}

.bench-ext-pagination {
    margin-top: 8px;
    padding: 12px 0 0;
}

.bench-empty-state {
    width: 100%;
    text-align: center;
    padding: 16px 12px;
    border: 1px dashed #dbe5f2;
    border-radius: 10px;
    background: #f8fbff;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.bench-candidate-list-card {
    border-radius: 18px;
    padding: 16px;
    width: 100%;
}

.bench-top-recruiters-card {
    border-radius: 18px;
    padding: 18px;
    align-self: start;
}

.bench-list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bench-list-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.6px;
}

.bench-list-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bench-search-wrapper {
    width: 240px;
}

.bench-search-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    font-size: 14px;
    color: #334155;
    outline: none;
}

.bench-search-input:focus {
    border-color: #3b82f6;
}

.bench-sort-btn {
    border: 1px solid #cfd8e3;
    background: #fff;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    min-width: 190px;
    text-align: left;
}

.bench-add-btn {
    display: inline-flex;
    align-items: center;
    border: none;
    background: #111827;
    color: #ffffff;
    border-radius: 10px;
    padding: 6px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.bench-table-wrapper {
    border: 1px solid #cfe0f5;
    border-radius: 12px;
    overflow-x: visible;
    overflow-y: visible;
}

.bench-mobile-cards {
    display: none;
}

.bench-mobile-card {
    border: 1px solid #dbe7f7;
    border-radius: 14px;
    background: #ffffff;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}

.bench-mobile-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bench-mobile-sno {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.bench-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 10px;
}

.bench-mobile-block {
    min-width: 0;
}

.bench-mobile-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
}

.bench-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.bench-table thead tr {
    background: #f9fafb;
}

.bench-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #5f7699;
    font-weight: 700;
}

/* Sort dropdown: matches Applied Candidates pattern */
.applied-sort-wrapper {
    position: relative;
}

.applied-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border: 1px solid var(--g-gray-200);
    border-radius: var(--g-radius-md);
    background: #fff;
    color: var(--g-gray-600);
    font-size: var(--g-fs-sm);
    cursor: pointer;
    white-space: nowrap;
}

.applied-sort-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
    z-index: 300;
    min-width: 260px;
    padding: 6px;
}

.sort-option-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 14px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

.sort-option-active {
    background: #111827;
    color: #ffffff;
    font-weight: 600;
}

.sort-option-inactive {
    background: transparent;
    color: #374151;
    font-weight: 400;
}

.bench-table td {
    padding: 10px 14px;
    border-top: 1px solid #e6edf7;
    vertical-align: middle;
}

.bench-candidate-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bench-sno {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}

.bench-avatar-wrap {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.bench-avatar,
.bench-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 999px;
}

.bench-avatar {
    object-fit: cover;
    display: block;
}

.bench-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #bcd3f7;
}

.bench-candidate-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.18;
}

.bench-candidate-meta,
.bench-sub-text {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.bench-candidate-role-rate {
    font-size: 13px;
    color: #9aa9c4;
    line-height: 1.3;
    margin-top: 2px;
}

.bench-contact-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.bench-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.bench-contact-btn:hover {
    color: rgb(59, 130, 246);
    background: #eff6ff;
    border-color: #bfdbfe;
}

.bench-contact-btn-linkedin {
    background: #eff6ff;
}

/* Skills cell: exact job-list style pattern (+more popup) */
.bench-table .jl-td-skill {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    position: relative;
    min-width: 0;
}

.bench-table .jl-skill-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 12px;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #ffffff;
    max-width: 86px;
    cursor: pointer;
    transition: all 0.15s;
    width: auto;
}

.bench-table .jl-skill-pill:hover {
    background: #f8fbff;
    border-color: #c5d8f5;
}

.bench-table .jl-skill-text {
    font-size: 12px;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 62px;
}

.bench-table .jl-skill-more-wrap {
    position: relative;
    display: inline-flex;
}

.bench-table .jl-skill-more {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.15s;
}

.bench-table .jl-skill-more:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.bench-mobile-cards .jl-td-skill {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    position: relative;
    min-width: 0;
}

.bench-mobile-cards .jl-skill-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 10px;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #ffffff;
    max-width: 96px;
    cursor: pointer;
}

.bench-mobile-cards .jl-skill-text {
    font-size: 12px;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 72px;
}

.bench-mobile-cards .jl-skill-more-wrap {
    position: relative;
    display: inline-flex;
}

.bench-mobile-cards .jl-skill-more {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.bench-mobile-cards .jl-skill-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 30;
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.10);
    padding: 8px 0;
    min-width: 210px;
    max-width: 260px;
    max-height: 190px;
    overflow-y: auto;
}

.bench-mobile-cards .jl-skill-dd-title {
    font-size: 11px;
    font-weight: 600;
    color: #0f172a;
    padding: 4px 12px 8px;
    border-bottom: 1px solid #eef2f7;
}

.bench-mobile-cards .jl-skill-dd-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    color: #334155;
}

.bench-mobile-cards .jl-skill-dd-yrs {
    font-size: 11px;
    color: #64748b;
    background: #f8fafc;
    padding: 1px 6px;
    border-radius: 4px;
}

.bench-table .jl-skill-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    margin-top: 4px;
    background: var(--g-bg-card);
    border: 1px solid var(--g-gray-200);
    border-radius: var(--g-radius-lg);
    box-shadow: var(--g-shadow-lg);
    padding: 10px 0;
    min-width: 230px;
    max-width: 300px;
    max-height: 195px;
    overflow-y: auto;
}

.bench-table .jl-skill-dropdown::-webkit-scrollbar {
    width: 5px;
}

.bench-table .jl-skill-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.bench-table .jl-skill-dropdown::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.bench-table .jl-skill-dropdown::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.bench-table .jl-skill-dd-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--g-text-heading);
    padding: 4px 14px 8px;
    border-bottom: 1px solid var(--g-gray-100);
}

.bench-table .jl-skill-dd-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    color: var(--g-text-body);
    transition: background 0.12s;
}

.bench-table .jl-skill-dd-item:hover {
    background: var(--g-gray-50);
}

.bench-table .jl-skill-dd-yrs {
    font-size: 11px;
    color: var(--g-text-muted);
    background: var(--g-gray-50);
    padding: 1px 6px;
    border-radius: 4px;
}

.bench-days {
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
}

.bench-days-high {
    color: #ef4444;
}

.bench-jobs {
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.1;
}

.bench-io-jobs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bench-io-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}

.bench-io-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.bench-io-count {
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}

.bench-io-sep {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 12px;
}

.bench-interview-good {
    color: #059669;
    font-size: 12px;
    font-weight: 600;
}

.bench-action-cell {
    position: relative;
    width: 160px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.bench-open-detail-btn {
    border: 1px solid #d1dff7;
    background: #eef4ff;
    color: #1d4ed8;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.bench-open-detail-btn:hover {
    border-color: #b3caf5;
    background: #e3edff;
}

.bench-mobile-detail-row {
    margin-top: 10px;
}

.bench-mobile-detail-row .bench-open-detail-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
}

.bench-action-btn {
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font-size: 13px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.bench-dots-btn {
    color: #94a3b8;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border:none;
}

.bench-action-btn:hover {
    background: #f1f5f9;
}

.bench-action-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.14);
    min-width: 170px;
    z-index: 40;
    overflow: hidden;
}

.bench-action-menu button {
    width: 100%;
    text-align: left;
    border: none;
    background: #fff;
    padding: 9px 12px;
    font-size: 12px;
    cursor: pointer;
    color: #1f2937;
}

.bench-action-menu button:hover {
    background: #f8fafc;
}

.bench-expanded-row td {
    background: #fbfdff;
    border-top: none;
    padding: 0 14px 14px;
}

.bench-expanded-shell {
    border: 1px solid #d6e4f7;
    border-radius: 14px;
    background: #ffffff;
    padding: 12px;
}

.bench-expanded-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.bench-expanded-stat-card {
    border: 1px solid #dbe6f7;
    border-radius: 12px;
    background: #f8fbff;
    padding: 8px 10px;
}

.bench-expanded-stat-value {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
    color: #0f172a;
    font-weight: 700;
}

.bench-expanded-stat-label {
    margin: 2px 0 0;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.bench-expanded-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr;
    gap: 10px;
}

.bench-expanded-detail-card {
    border: 1px solid #dce8f9;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px;
}

.bench-expanded-card-head h4 {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1d4ed8;
    font-weight: 700;
}

.bench-expanded-job-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bench-expanded-job-item {
    border: 1px solid #e3ebf8;
    border-radius: 10px;
    padding: 8px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.bench-expanded-job-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid #dbe5f5;
    object-fit: cover;
    background: #fff;
}

.bench-expanded-job-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.bench-expanded-job-meta {
    margin: 1px 0 0;
    font-size: 12px;
    color: #64748b;
}

.bench-expanded-job-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #dbe5f2;
    background: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    white-space: nowrap;
}

.bench-expanded-job-badge.is-blue {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.bench-expanded-job-badge.is-green {
    border-color: #bbf7d0;
    color: #047857;
    background: #f0fdf4;
}

.bench-expanded-job-badge.is-red {
    border-color: #fecdd3;
    color: #be123c;
    background: #fff1f2;
}

.bench-expanded-job-badge.is-violet {
    border-color: #ddd6fe;
    color: #6d28d9;
    background: #f5f3ff;
}

.bench-expanded-next-round {
    border-radius: 12px;
    background: #1f3372;
    color: #fff;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.bench-expanded-next-kicker {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 700;
}

.bench-expanded-next-title {
    margin: 4px 0 2px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
}

.bench-expanded-next-meta {
    margin: 0 0 3px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}

.bench-expanded-join-btn {
    margin-top: 6px;
    width: 100%;
    border: 1px solid #ffffff;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 10px;
    cursor: pointer;
}

.bench-expanded-meta-list {
    margin: 0;
    border: 1px solid #e3ebf8;
    border-radius: 10px;
    overflow: hidden;
}

.bench-expanded-meta-list div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    padding: 6px 10px;
    border-bottom: 1px solid #eef3fb;
}

.bench-expanded-meta-list div:last-child {
    border-bottom: 0;
}

.bench-expanded-meta-list dt {
    font-size: 12px;
    color: #64748b;
}

.bench-expanded-meta-list dd {
    margin: 0;
    font-size: 12px;
    color: #0f172a;
    font-weight: 700;
    text-align: right;
}

.bench-expanded-activity-mini {
    margin-top: 8px;
}

.bench-expanded-activity-head {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 700;
}

.bench-expanded-activity-mini article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px;
    margin-bottom: 6px;
}

.bench-expanded-activity-mini article span {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.bench-expanded-activity-mini article p {
    margin: 0;
    font-size: 12px;
    color: #334155;
}

.bench-mobile-inline-detail {
    margin-top: 10px;
    border: 1px solid #dbe6f7;
    border-radius: 10px;
    padding: 10px;
    background: #f8fbff;
}

.bench-mobile-inline-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
}

.bench-mobile-inline-kpis span {
    border: 1px solid #d6e4f8;
    border-radius: 8px;
    background: #ffffff;
    padding: 6px 8px;
    font-size: 11px;
    color: #1e3a8a;
    font-weight: 700;
}

.bench-mobile-inline-copy {
    margin: 0;
    font-size: 11px;
    color: #64748b;
}

/* Bench expanded details: stat-ring layout inspired by supplied design */
.bench-expanded-shell {
    font-family: var(--g-font-sans);
    border: 1px solid #d5e4fb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    padding: 0;
}

.bench-statband {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.bench-sb {
    background: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.bench-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
}

.bench-ring i {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-style: normal;
}

.bench-sb.s1 .bench-ring {
    background: conic-gradient(#2563eb 0 270deg, #e8eef7 270deg);
    color: #2563eb;
}

.bench-sb.s2 .bench-ring {
    background: conic-gradient(#7c3aed 0 240deg, #eee9fb 240deg);
    color: #7c3aed;
}

.bench-sb.s3 .bench-ring {
    background: conic-gradient(#059669 0 144deg, #f59e0b 144deg 360deg);
    color: #0f172a;
}

.bench-sb.s4 .bench-ring {
    background: conic-gradient(#0e7490 0 180deg, #dcedf0 180deg);
    color: #0e7490;
}

.bench-sb-tt {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.bench-sb-kk {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1px 0 0;
}

.bench-sb-dual {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bench-sb-dual .row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    margin: 0;
}

.bench-sb-dual .row .d {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

.bench-sb-dual .row.gr {
    color: #059669;
}

.bench-sb-dual .row.gr .d {
    background: #059669;
}

.bench-sb-dual .row.am {
    color: #d97706;
}

.bench-sb-dual .row.am .d {
    background: #f59e0b;
}

.bench-expanded-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr;
    gap: 18px;
    padding: 18px 20px;
}

.bench-expanded-detail-card {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.bench-expanded-shell h5 {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin: 0 0 11px;
    display: flex;
    align-items: center;
}

.bench-h5-cnt {
    margin-left: 7px;
    font-size: 10px;
    font-weight: 700;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 99px;
    padding: 2px 8px;
}

.bench-h5-cnt.vio {
    background: #f5f3ff;
    color: #7c3aed;
}

.bench-expanded-job-item {
    padding: 10px 11px;
    border: 1px solid #eef2f7;
    border-radius: 11px; 
    gap: 11px;
}

.bench-expanded-job-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.bench-expanded-job-title {
    font-size: 12.5px;
    font-weight: 700;
}

.bench-expanded-job-meta {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 1px;
}

.bench-expanded-job-badge {
    font-size: 10px;
    font-weight: 700;
    border-radius: 99px;
    padding: 3px 9px;
}

.bench-moreln {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
    cursor: pointer;
    padding: 3px 0;
    margin-top: 15px;

}

.bench-expanded-next-round {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    border-radius: 12px;
    padding: 14px 15px;
    margin-bottom: 12px;
}

.bench-expanded-next-kicker {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
}

.bench-expanded-next-title {
    font-size: 13.5px;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.2;
}

.bench-expanded-next-meta {
    font-size: 11.5px;
    color: #cbd5e1;
    margin-top: 4px;
    line-height: 1.55;
}

.bench-expanded-join-btn {
    margin-top: 11px;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 9px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.bench-expanded-meta-list {
    border: none;
    border-radius: 0;
}

.bench-expanded-meta-list div {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
}

.bench-expanded-meta-list dt {
    color: #94a3b8;
}

.bench-expanded-meta-list dd {
    font-size: 11.5px;
    font-weight: 600;
    text-align: right;
}

.bench-expanded-activity-mini {
    margin-top: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 10px 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.bench-expanded-activity-mini h5 {
    margin-bottom: 7px;
    color: #1d4ed8;
}

.bench-expanded-activity-mini article {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 10px 11px 10px 14px;
    font-size: 11.5px;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.bench-expanded-activity-mini article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb 0%, #0ea5e9 100%);
}

.bench-expanded-activity-mini article:last-child {
    border-bottom: none;
}

.bench-expanded-activity-mini article p {
    margin: 0;
}

.bench-act-time {
    margin-bottom: 5px !important;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
}

.bench-act-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.bench-act-by {
    margin-top: 4px !important;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.bench-act-comment {
    margin-top: 5px !important;
    font-size: 11.5px;
    color: #334155;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .bench-statband {
        grid-template-columns: 1fr 1fr;
    }

    .bench-expanded-body {
        grid-template-columns: 1fr;
    }
}

/* Top Recruiters: exact dashboard pattern */
.section-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: #111827;
    letter-spacing: -0.3px;
}

.dashboard-top-recruiters {
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.recruiters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.recruiters-month-label {
    font-size: 10px;
    font-weight: 600;
    color: rgb(59, 130, 246);
    letter-spacing: 0.2px;
}

.recruiters-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recruiter-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.recruiter-rank {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    width: 12px;
    text-align: right;
    flex-shrink: 0;
}

.recruiter-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(59, 130, 246, 0.15);
    flex-shrink: 0;
}

.recruiter-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.recruiter-info {
    flex: 1;
    min-width: 0;
}

.recruiter-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.recruiter-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recruiter-count {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    margin-left: 8px;
    flex-shrink: 0;
}

.recruiter-track {
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.recruiter-fill {
    height: 100%;
    background: #111827;
    border-radius: 999px;
}

.bench-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.bench-top-month {
    font-size: 12px;
    color: #3b82f6;
    font-weight: 600;
}

.bench-top-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bench-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bench-top-rank {
    width: 12px;
    font-size: 12px;
    color: #94a3b8;
    text-align: right;
}

.bench-top-avatar-wrap {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.bench-top-avatar,
.bench-top-avatar-initials {
    width: 30px;
    height: 30px;
    border-radius: 999px;
}

.bench-top-avatar {
    object-fit: cover;
    display: block;
    border: 1.5px solid rgba(59, 130, 246, 0.15);
}

.bench-top-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #bcd3f7;
}

.bench-top-info {
    flex: 1;
}

.bench-top-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.bench-top-name {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

.bench-top-count {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

.bench-top-track {
    height: 3px;
    background: #e5e7eb;
    border-radius: 99px;
}

.bench-top-fill {
    height: 100%;
    background: #111827;
    border-radius: 99px;
}

@media (max-width: 1366px) {
    .bench-list-title { font-size: 18px; }
    .bench-candidate-name { font-size: 15px; }
    .bench-candidate-role-rate { font-size: 12px; }
    .bench-candidate-meta, .bench-sub-text { font-size: 11px; }
    .bench-jobs { font-size: 13px; }

    .target-header-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .target-date-wrapper {
        justify-self: start;
        width: 100%;
    }

    .target-select-btn,
    .target-date-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .bench-table th:nth-child(5),
    .bench-table td:nth-child(5),
    .bench-table th:nth-child(6),
    .bench-table td:nth-child(6) {
        display: none;
    }

    .bench-job-mode-tabs {
        grid-template-columns: 1fr;
    }

    .bench-search-wrapper {
        width: 210px;
    }
}

@media (max-width: 1024px) {
    .bench-row-70-30 {
        grid-template-columns: 1fr;
    }

    .bench-right-column {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .bench-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bench-right-column,
    .bench-bottom-grid {
        display: none !important;
    }

    .bench-list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .bench-list-toolbar-right {
        flex-wrap: wrap;
    }

    .bench-search-wrapper {
        width: 100%;
        min-width: 220px;
    }

    .bench-table-wrapper {
        display: none;
    }

    .bench-mobile-cards {
        display: block;
    }

    .bench-candidate-cell {
        align-items: flex-start;
    }

    .bench-action-menu {
        right: 0;
        top: calc(100% + 4px);
    }
}

@media (max-width: 768px) {
    .target-header-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .target-date-wrapper {
        justify-self: start;
        width: 100%;
    }

    .target-select-btn,
    .target-date-btn {
        min-width: 100%;
        width: 100%;
    } 

    .bench-mobile-card {
        padding: 14px;
        border-radius: 16px;
    }

    .bench-mobile-label {
        margin-bottom: 5px;
    }

    .bench-candidate-name {
        font-size: 14px;
    }

    .bench-candidate-role-rate {
        font-size: 12px;
    }

    .bench-list-toolbar-right {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .applied-sort-wrapper,
    .applied-sort-btn,
    .bench-add-btn {
        width: 100%;
        justify-content: center;
    }

    .bench-external-candidate-context {
        align-items: center;
    }

    .bench-external-avatar-wrap,
    .bench-external-avatar,
    .bench-external-avatar-initials {
        width: 30px;
        height: 30px;
    }
}
.dr-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 28px;
    border: 1px solid var(--sidebar-active-bg);
    border-radius: var(--g-radius-md);
    background: #fff;
    color: var(--sidebar-active-bg);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.dr-btn-outline:hover {
    background: #d6d6d6;
}

/* ══════════════════════════════════
   Cards
   ══════════════════════════════════ */
.g-card {
    background: var(--g-bg-card);
    border: 1px solid #e4e4e4;
    border-radius: var(--g-radius-xl); 
}

/* ══════════════════════════════════
   Badges
   ══════════════════════════════════ */
.g-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--g-radius-full);
    font-size: var(--g-fs-xxxs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.g-badge-success {
    background: var(--g-success-bg);
    color: var(--g-success-text);
}

.g-badge-error {
    background: var(--g-error-bg);
    color: var(--g-error-text);
}

.g-badge-dark {
    background: var(--g-gray-900);
    color: #fff;
}

/* ══════════════════════════════════
   Form Inputs
   ══════════════════════════════════ */
.g-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-md);
    font-size: 0.8125rem;
    color: var(--g-text-heading);
    background: var(--g-bg-card);
    font-family: inherit;
    outline: none;
    transition: border-color var(--g-transition),
                box-shadow var(--g-transition);
    box-sizing: border-box;
}

.g-input::placeholder {
    color: var(--g-text-muted);
}

.g-input:focus {
    border-color: var(--g-focus-border);
    box-shadow: var(--g-focus-shadow);
}

.g-input[readonly] {
    background: var(--g-gray-50);
    color: var(--g-text-label);
    font-family: var(--g-font-mono);
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════
   Click Catcher Overlay
   ══════════════════════════════════ */
.click-catcher {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    cursor: default;
}

/* ══════════════════════════════════
   Pagination
   ══════════════════════════════════ */
.g-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--g-border-light);
}

.g-pagination-info {
    font-size: var(--g-fs-xs);
    font-weight: 500;
    color: var(--g-text-secondary);
}

.g-pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.g-pg-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--g-border);
    border-radius: 50%;
    background: var(--g-bg-card);
    color: var(--g-gray-800);
    font-size: 10px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--g-transition);
    user-select: none;
}

.g-pg-btn:hover:not(.current):not(:disabled) {
    background: var(--g-gray-100);
    border-color: var(--g-gray-400);
}

.g-pg-btn.current {
   background:var(--sidebar-active-bg);
       color: var(--g-bg-card);
    box-shadow: 0 3px 8px -2px var(--g-primary-shadow-deep);
}

.g-pg-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.g-pg-nav {
    border-color: transparent;
    background: transparent;
}
.g-pg-nav:hover {
    background: var(--g-gray-100);
    border-color: var(--g-gray-200);
}

.g-page-ellipsis {
    padding: 0 4px;
    color: var(--g-text-muted);
    font-size: var(--g-fs-xs);
    user-select: none;
}

@media (max-width: 991px) {
    .g-pg-btn {
        width: 25px;
        height: 25px;
        font-size: 9px;
    }

    .g-pagination-controls {
        gap: 3px;
    }
}

@media (max-width: 640px) {
    .g-pagination {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .g-pagination-info {
        font-size: 11px;
        width: 100%;
        text-align: center;
    }
     .g-btn-primary {
        width: 100%;
        justify-content: center;
    }
    .g-btn-cancel{
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════
   Form Validation (Blazor EditForm)
   ══════════════════════════════════ */

/* Field error message */
.cu-field-error,
.validation-message {
    font-size: 0.75rem;
    color: var(--g-error-text);
    margin-top: 4px;
    display: block;
}

/* Invalid input */
.cu-input.invalid,
.cu-select.invalid,
.cu-input.modified.invalid,
.cu-select.modified.invalid {
    border-color: var(--g-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Valid input */
.cu-input.modified.valid,
.cu-select.modified.valid {
    border-color: var(--g-success);
}

/* Validation error banner */
.cu-validation-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--g-error-bg);
    border: 1px solid var(--g-error-border);
    border-radius: var(--g-radius-lg);
    animation: g-slideDown 0.25s ease-out;
}

.cu-validation-banner-icon {
    color: var(--g-error-text);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.cu-validation-banner-content {
    font-size: 0.8125rem;
    color: #7f1d1d;
    flex: 1;
}

.cu-validation-banner-content strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--g-error-text);
}

.cu-validation-banner-content ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.cu-validation-banner-content li {
    margin-bottom: 2px;
    line-height: 1.5;
}

/* Success banner */
.cu-success-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--g-success-bg);
    border: 1px solid var(--g-success-border);
    border-radius: var(--g-radius-lg);
    color: var(--g-success-text);
    font-size: 0.875rem;
    font-weight: 600;
    animation: g-slideDown 0.25s ease-out;
}

.cu-success-banner i {
    font-size: 1.125rem;
    color: var(--g-success);
}

/* ══════════════════════════════════
   Animations
   ══════════════════════════════════ */
@keyframes g-slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes g-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes g-spin {
    to { transform: rotate(360deg); }
}

/* ═════════════════════════════════════════════════════════════════════════════
   Load Error State  (shown when page data fails to load)
   ═════════════════════════════════════════════════════════════════════════════ */
.g-load-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40vh;
    padding: 48px 24px;
    gap: 12px;
    animation: g-fadeIn 0.35s ease-out;
}

.g-load-error svg {
    color: var(--g-error);
    margin-bottom: 8px;
}

.g-load-error h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--g-text-heading);
    margin: 0;
}

.g-load-error p {
    font-size: var(--g-fs-sm);
    color: var(--g-text-secondary);
    margin: 0 0 8px;
    max-width: 400px;
    line-height: 1.5;
}

/* ═════════════════════════════════════════════════════════════════════════════
   Status Pages  (AccessDenied, Error, 404)
   ═════════════════════════════════════════════════════════════════════════════ */
.g-status-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 48px 24px;
    animation: g-fadeIn 0.35s ease-out;
}

.g-status-icon {
    width: 96px;
    height: 96px;
    border-radius: var(--g-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.g-status-icon-denied {
    background: var(--g-error-bg);
    color: var(--g-error-text);
}

.g-status-icon-error {
    background: var(--g-warning-bg);
    color: var(--g-warning);
}

.g-status-icon-notfound {
    background: var(--g-info-bg);
    color: var(--g-info);
}

.g-status-icon-session {
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(99,102,241,0.1));
    color: #3b82f6;
}

.g-status-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--g-text-heading);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.g-status-code {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--g-text-heading);
    margin: 0 0 8px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.g-status-message {
    font-size: 1rem;
    color: var(--g-text-secondary);
    margin: 0 0 32px;
    max-width: 400px;
    line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════════════════════
   Authorizing Spinner
   ═════════════════════════════════════════════════════════════════════════════ */
.g-authorizing-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

/* ═════════════════════════════════════════════════════════════════════════════
   Skip Link  (keyboard accessibility)
   ═════════════════════════════════════════════════════════════════════════════ */
.g-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100000;
    padding: 8px 16px;
    background: var(--g-gray-900);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--g-radius-md);
    text-decoration: none;
}

.g-skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
}

/* ═════════════════════════════════════════════════════════════════════════════
   Form Page Shared  (Create/Edit Role, Client, Target, User pages)
   ═════════════════════════════════════════════════════════════════════════════ */

/* ── Page Shell ── */
.g-form-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: var(--g-font-sans);
}

.g-form-card { 
    overflow: visible;
}

/* ── Page Header ── */
.g-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    background: var(--g-bg-card);
    border: 1px solid var(--g-border-card);
    border-radius: var(--g-radius-xl);
    box-shadow: var(--g-shadow-xs);
    position: sticky;
    top: 66px;
    z-index: 50;
}

.g-form-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.g-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--g-text-heading);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.g-form-subtitle {
    font-size: var(--g-fs-sm);
    font-weight: 400;
    color: var(--g-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.g-form-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ── Form Section Card ── */
.g-form-section {
    background: var(--g-bg-card);
    border: 1px solid var(--g-border-card);
    border-radius: var(--g-radius-xl);
    padding: 28px 32px 32px;
    box-shadow: var(--g-shadow-xs);
    margin: 24px 0;
}

.g-form-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: -28px -32px 28px;
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--g-border);
    background: var(--g-bg-card);
    border-radius: var(--g-radius-xl) var(--g-radius-xl) 0 0;
}

.g-form-section-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g-form-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g-brand);
    flex-shrink: 0;
}

.g-form-section-title {
    font-size: var(--g-fs-card-title);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
    margin: 0;
    letter-spacing: -0.02em;
}

/* ── Form Fields ── */
.g-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.g-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.g-form-label {
    font-size: var(--g-fs-sm);
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-heading);
}

.g-form-required {
    color: var(--g-error);
}

.g-form-input {
    width: 100%; 
    height: 35px;
    padding: 0 14px;
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-md);
    font-size: var(--g-fs-sm);
    font-family: inherit;
    color: var(--g-text-heading);
    background: var(--g-bg-card);
    outline: none;
    transition: border-color var(--g-transition), box-shadow var(--g-transition);
}

.g-form-input::placeholder {
    color: var(--g-text-muted);
}

.g-form-input:focus {
    border-color: var(--g-focus-border);
    box-shadow: var(--g-focus-shadow);
}

.g-form-input.input-error {
    border-color: var(--g-error);
}

.g-form-input.input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

select.g-form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.field-error {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--g-error);
    margin-top: 2px;
}

.g-form-input-disabled {
    background: var(--g-gray-100);
    color: var(--g-text-secondary);
    cursor: not-allowed;
    border-color: var(--g-border);
}

.g-form-hint {
    font-size: 0.75rem;
    color: var(--g-text-muted);
    font-style: italic;
}

.g-form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--g-border);
    border-radius: var(--g-radius-md);
    font-size: var(--g-fs-sm);
    font-family: inherit;
    color: var(--g-text-heading);
    background: var(--g-bg-card);
    outline: none;
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    transition: border-color var(--g-transition), box-shadow var(--g-transition);
}

.g-form-textarea::placeholder {
    color: var(--g-text-muted);
}

.g-form-textarea:focus {
    border-color: var(--g-focus-border);
    box-shadow: var(--g-focus-shadow);
}

/* ── Permissions Grid ── */
.g-perm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.g-perm-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--g-border-light);
}

.g-perm-item:nth-child(odd) {
    border-right: 1px solid var(--g-border-light);
}

.g-perm-item:nth-last-child(1),
.g-perm-item:nth-last-child(2):nth-child(odd) ~ .g-perm-item:nth-last-child(1),
.g-perm-item:nth-last-child(2) {
    border-bottom: none;
}

.g-perm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.g-perm-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.g-perm-name {
    font-size: var(--g-fs-body);
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-heading);
}

.g-perm-desc {
    font-size: var(--g-fs-sm);
    color: var(--g-text-secondary);
    line-height: 1.4;
}

/* ── Toggle Switch ── */
.g-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.g-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.g-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--g-gray-300);
    border-radius: 24px;
    transition: background 0.2s ease;
}

.g-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--g-bg-card);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.g-toggle input:checked + .g-toggle-slider {
    
  background:var(--sidebar-active-bg);
}

.g-toggle input:checked + .g-toggle-slider::before {
    transform: translateX(20px);
}

.g-toggle input:focus-visible + .g-toggle-slider {
    box-shadow: 0 0 0 3px rgba(0, 147, 255, 0.15);
}

/* ── Form Page Responsive ── */
@media (max-width: 1024px) {
    .g-form-section {
        margin: 16px;
        padding: 24px;
    }
}

@media (max-width: 991px) {
    .g-form-header {
        flex-direction: row;
        gap: 12px;
        padding: 12px 16px;
    }

    .g-form-header-actions {
        width: 100%;
    }

    .g-form-header-actions .g-btn-cancel,
    .g-form-header-actions .g-btn-primary {
        flex: 1;
        width: 100%;
        justify-content: center;
    }

    .g-form-section {
        padding: 20px 16px 24px;
        border-radius: var(--g-radius-lg);
        margin: 12px;
    }

    .g-form-section-header {
        margin: -20px -16px 20px;
        padding: 20px 16px 16px;
    }

    .g-form-input {
        max-width: 100%;
    }

    .g-perm-grid {
        grid-template-columns: 1fr;
    }

    .g-perm-item:nth-child(odd) {
        border-right: none;
    }

    .g-perm-item:nth-last-child(1) {
        border-bottom: none;
    }

    .g-perm-name {
        font-size: 0.8125rem;
    }

    .g-perm-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .g-form-title {
        font-size: 1.2rem;
    }

    .g-form-header {
        padding: 10px 12px;
    }

    .g-form-section {
        padding: 16px 12px 20px;
        margin: 8px;
    }

    .g-form-section-header {
        margin: -16px -12px 16px;
        padding: 16px 12px 12px;
    }

    .g-form-section-title {
        font-size: 0.95rem;
    }
}

/* ═══════════════════════════════════
   GLOBAL: Score Ring
   ═══════════════════════════════════ */
.g-score-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.g-score-ring svg {
    width: 44px;
    height: 44px;
}

.g-score-ring-value {
    position: absolute;
    top: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.g-score-ring-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted, #64748b);
    margin-top: 2px;
}

/* ═══════════════════════════════════
   GLOBAL: Accessible checkbox button
   ═══════════════════════════════════ */
.g-check-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.g-check-btn:focus-visible {
    outline: 2px solid var(--primary, #3b82f6);
    outline-offset: 2px;
}

/* ═══════════════════════════════════
   GLOBAL: Search wrapper (role=search)
   ═══════════════════════════════════ */
.g-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* ═══════════════════════════════════
   GLOBAL: Status dot
   ═══════════════════════════════════ */
.g-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.g-status-dot.active {
    background: #22c55e;
}

/* ═══════════════════════════════════
   GLOBAL: Overlay / Backdrop
   ═══════════════════════════════════ */
.g-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
}

.g-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════
   GLOBAL: Live region for screen readers
   ═══════════════════════════════════ */
.g-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════
   Page Header Card  (.g-page-header)
   Reusable header card with title, subtitle,
   and right-side action area.
   ═══════════════════════════════════════ */
.g-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--g-bg-card, #fff);
    border: 1px solid var(--g-border-card, #e8ecf1);
    border-radius: var(--g-radius-xl, 20px) !important;
    gap: var(--g-space-16);
    padding: var(--g-space-16);
}

.g-page-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.g-page-header-title {
    font-size: 1.35rem;
    font-weight: var(--g-fw-medium, 500);
    color: var(--g-text-heading, #0f172a);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.g-page-header-subtitle {
    font-size: var(--g-fs-sm, 0.8125rem);
    color: var(--g-text-secondary, #64748b);
    margin: 0;
    line-height: 1.5;
}

.g-page-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}

@media (max-width: 576px) {
    .g-page-header {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    .g-page-header-right {
        width: 100%;
    }
    .g-page-header-right .g-btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════
   SKILL BADGE — Unified styles
   ═══════════════════════════════════════════════ */

/* Row style — for sidebar cards / skill sections */
.g-skill-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.g-skill-list::-webkit-scrollbar {
    width: 5px;
}

.g-skill-list::-webkit-scrollbar-track {
    background: transparent;
}

.g-skill-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.g-skill-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.g-skill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--g-space-10) 14px;
    background: var(--g-gray-50);
    border-radius: var(--g-radius-md);
    margin-bottom: var(--g-space-8);
    gap: var(--g-space-12);
}

.g-skill-row:last-child {
    margin-bottom: 0;
}

.g-skill-name {
    font-size: var(--g-fs-candidate-subtitle);
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-heading);
}

.g-skill-value {
    font-size: var(--g-fs-section-subtitle);
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-secondary);
    flex-shrink: 0;
}

/* Inline badge — for tables / compact views */
.g-skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border: 1.5px solid var(--g-brand-border);
    border-radius: var(--g-radius-full);
    background: var(--g-brand-bg);
    font-size: var(--g-fs-xxs);
    font-weight: var(--g-fw-semibold);
    color: var(--g-brand);
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
}

.g-skill-badge strong {
    font-weight: var(--g-fw-bold);
    color: var(--g-brand);
}

/* Inline tag — skill pill (name + count) */
.g-skill-tag,
.g-skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--g-gray-200);
    border-radius: var(--g-radius-full);
     color: var(--g-text-body);
    background: var(--g-bg-card);
    max-width: 100%;
    overflow: hidden;
}

.g-skill-tag-name,
.g-skill-pill-name {
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-heading);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 8ch;
}

.g-skill-tag-value,
.g-skill-pill-num {
      background: var(--g-gray-100);
    color: var(--g-text-secondary);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: var(--g-fw-semibold);
}

.g-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Skill pill responsive — 1280px and below */
@media (max-width: 1280px) {
    .g-skill-tag,
    .g-skill-pill {
        padding: 4px 8px;
        gap: 4px;
        font-size: 11px;
    }

    .g-skill-tag-name,
    .g-skill-pill-name {
        max-width: 7ch;
    }
}

/* ═══════════════════════════════════════════════
   MODAL POPUP — Global reusable styles
   ═══════════════════════════════════════════════ */

.g-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Must sit above the sticky topbar (#sa-topbar is z-index 1100) so the
       overlay dims the whole screen instead of the topbar showing through. */
    z-index: 1110;
    backdrop-filter: blur(2px);
}

.g-modal {
    background: var(--g-bg-card, #fff);
    border-radius: var(--g-radius-2xl, 20px);
    padding: 43px 28px 40px;
    width: 90%;
    max-width: 545px;
    box-shadow: var(--g-shadow-lg, 0 8px 32px rgba(0,0,0,.12));
    text-align: center;
    animation: g-modal-fade-in 0.2s ease;
}

@keyframes g-modal-fade-in {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.g-modal-message {
    font-size: var(--g-fs-sm, 0.8125rem);
    color: var(--g-gray-700, #334155);
    line-height: 1.6;
    margin: 0 0 24px;
}

.g-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0px;
}

/* ── Modal Info Banner ── */
.g-modal-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--g-radius-lg, 12px);
    margin-bottom: 20px;
    text-align: left;
}

.g-modal-info-warning {
    background: #fef9e7;
    border: 1px solid #f5d97a;
}

.g-modal-info-icon {
    flex-shrink: 0;
    color: #d4a017;
    margin-top: 1px;
}

.g-modal-info-content {
    flex: 1;
    min-width: 0;
}

.g-modal-info-text {
    font-size: var(--g-fs-sm, 0.8125rem);
    font-weight: 600;
    color: var(--g-gray-800, #1e293b);
    line-height: 1.5;
    margin: 0;
}

.g-modal-info-sub {
    font-size: var(--g-fs-xs, 0.75rem);
    color: var(--g-gray-500, #64748b);
    margin: 4px 0 0;
    line-height: 1.4;
}

/* ══════════════════════════════════
   AI Threshold Pills (Approve / Reject)
   ══════════════════════════════════ */
.g-ai-pills {
    display: flex;
    gap: 8px;
    padding-top: 10px;
}

.g-ai-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    padding: 9px 8px;
}

.g-ai-pill--approve {
    background: #f0fdf4;
}

.g-ai-pill--reject {
    background: #fef2f2;
}

.g-ai-pill__label {
    font-size: 11px;
    white-space: nowrap;
}

.g-ai-pill--approve .g-ai-pill__label {
    color: #15803d;
}

.g-ai-pill--reject .g-ai-pill__label {
    color: #991b1b;
}

.g-ai-pill__value {
    margin-left: auto;
    font-weight: 600;
    font-size: 13px;
}

.g-ai-pill--approve .g-ai-pill__value {
    color: #16a34a;
}

.g-ai-pill--reject .g-ai-pill__value {
    color: #dc2626;
}

/* Row-style variant (ApplyJob / CandidateVerification) */
.g-ai-value--approve {
    color: #16a34a;
    font-weight: 600;
}

.g-ai-value--reject {
    color: #dc2626;
    font-weight: 600;
}

/* ══════════════════════════════════
   Column Headers (table/grid — shared wireframe pattern)
   10px, font-semibold, uppercase, tracking-widest, muted
   ══════════════════════════════════ */
.g-col-header {
    font-size: var(--g-fs-xxxs);
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* ══════════════════════════════════
   Donut Chart (64x64 — shared across pages)
   viewBox 64x64, r=26, stroke-width=6
   ══════════════════════════════════ */
.g-donut-wrap {
    width: var(--g-donut-size);
    height: var(--g-donut-size);
    position: relative;
    flex-shrink: 0;
}

.g-donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.g-donut-track {
    fill: none;
    stroke: var(--g-gray-100);
    stroke-width: 6;
}

.g-donut-fill {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.g-donut-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--g-fs-xs);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
}

/* ══════════════════════════════════
   Candidate Name Link (wireframe: 13px bold #0a66c2)
   ══════════════════════════════════ */
.g-candidate-name {
    font-size: var(--g-fs-sm);
    font-weight: var(--g-fw-bold);
    color: var(--g-link-blue);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.g-candidate-name:hover {
    color: var(--g-link-blue-hover);
    text-decoration: underline;
}

/* ══════════════════════════════════
   Candidate Subtitle (wireframe: 11px muted)
   ══════════════════════════════════ */
.g-candidate-subtitle {
    font-size: var(--g-fs-xxs);
    color: var(--g-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ══════════════════════════════════
   Section Heading (wireframe: 17px bold slate-900)
   ══════════════════════════════════ */
.g-section-heading {
    font-size: var(--g-fs-section-heading);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
    margin: 0;
}

/* ══════════════════════════════════
   Card Title (reusable across cards)
   u-card-title kept for backward compat
   ══════════════════════════════════ */
.u-card-title {
    font-size: var(--g-fs-section-heading);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
    margin: 0;
}

/* ══════════════════════════════════
   Icon Button (circle, 32px)
   ══════════════════════════════════ */
.g-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--g-border);
    background: var(--g-bg-card);
    color: var(--g-text-body);
    cursor: pointer;
    transition: background var(--g-transition);
    flex-shrink: 0;
}

.g-btn-icon:hover {
    background: var(--g-gray-100);
}

/* ══════════════════════════════════
   Hover Tooltip (fixed bottom-left)
   ══════════════════════════════════ */
.g-hover-tooltip[title]::after {
    content: attr(title);
    position: fixed;
    bottom: 8px;
    left: 16px;
    background: var(--g-gray-900);
    color: #fff;
    font-size: var(--g-fs-xxs);
    padding: 4px 10px;
    border-radius: var(--g-radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.15s;
}

.g-hover-tooltip[title]:hover::after {
    opacity: 1;
}

/* ═══════════════════════════════════════
   Letter Avatar  (.g-letter-avatar)
   Circle with colored background and
   white initial letter for missing images.
   ═══════════════════════════════════════ */
.g-letter-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--g-radius-lg);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    flex-shrink: 0;
    user-select: none;
}

/* ════════════════════════════════════════════════════════
   RESUME DRAWER (shared — matches JobView sidebar style)
   ════════════════════════════════════════════════════════ */
.gr-cl-resume-backdrop {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.3);
}
.gr-cl-resume-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 1000px; max-width: 90vw;
    background: var(--g-bg-card, #fff);
    box-shadow: -16px 0 40px rgba(15, 23, 42, 0.18);
    z-index: 2001;
    display: flex; flex-direction: column;
    animation: gr-cl-resume-slide-in 280ms ease;
}
@keyframes gr-cl-resume-slide-in {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
.gr-cl-resume-drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--g-border-light, #e5e7eb);
    display: flex; align-items: center; flex-shrink: 0;
}
.gr-cl-resume-drawer-title-row {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.gr-cl-resume-drawer-cand {
    display: flex; align-items: center; gap: 10px;
}
.gr-cl-resume-drawer-actions {
    display: flex; align-items: center; gap: 12px;
}
.gr-cl-resume-drawer-body {
    flex: 1; overflow: auto; padding: 16px;
}
.gr-cl-resume-close {
    background: none; border: none;
    font-size: 24px; line-height: 1;
    color: var(--g-text-muted, #6b7280);
    cursor: pointer; padding: 4px 8px;
}
.gr-cl-resume-close:hover { color: #111; }
.gr-cl-resume-spinner {
    width: 36px; height: 36px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: gr-cl-spin 0.7s linear infinite;
}
@keyframes gr-cl-spin { to { transform: rotate(360deg); } }

.gr-cl-resume-zoom-scroll {
    height: 100%; overflow: auto;
    border: 1px solid var(--g-gray-200, #e5e7eb);
    border-radius: 8px; background: #fff;
}
.gr-cl-resume-zoom-surface {
    min-width: 100%; min-height: 100%;
    transform-origin: top left;
}
.gr-cl-resume-zoom-group {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--g-gray-200, #e5e7eb);
    border-radius: 8px; background: #fff;
}
.gr-cl-resume-zoom-btn {
    width: 28px; height: 28px;
    border: 1px solid var(--g-gray-200, #e5e7eb);
    border-radius: 6px; background: #fff;
    color: var(--g-text-secondary, #374151);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.gr-cl-resume-zoom-btn:hover:not(:disabled) {
    background: var(--g-gray-50, #f9fafb);
    color: var(--g-text-primary, #111827);
}
.gr-cl-resume-zoom-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.gr-cl-resume-zoom-level {
    min-width: 48px; text-align: center;
    font-size: 12px; font-weight: 600;
    color: var(--g-text-secondary, #374151);
}
