/* ==========================================================================
   Lite Candidate Directory Styles (/candidates)
   Scoped strictly to the candidate directory page — Zero global bundle bloat.
   ========================================================================== */

.l-cand-dir-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 16px 60px;
}

/* Page Top Header */
.l-cand-top-header {
    margin-bottom: 24px;
}
.l-cand-top-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}
.l-cand-top-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* 2-Column Directory Layout */
.l-cand-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 28px;
    align-items: start;
}

/* ============================== Sidebar Filters ============================== */
.l-cand-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 90px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.l-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.l-filter-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.l-filter-clear {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-500);
    text-decoration: none;
    cursor: pointer;
}
.l-filter-clear:hover {
    text-decoration: underline;
}

.l-filter-group {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.l-filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.l-filter-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    display: block;
}

/* Search input inside sidebar */
.l-filter-search-input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}
.l-filter-search-input:focus {
    background: #ffffff;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(10, 101, 204, 0.1);
}
.l-filter-search-wrap {
    position: relative;
    margin-bottom: 12px;
}
.l-filter-search-wrap svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #94a3b8;
    pointer-events: none;
}

/* Checkbox & Radio lists */
.l-filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}
.l-filter-list::-webkit-scrollbar {
    width: 4px;
}
.l-filter-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.l-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
    user-select: none;
}
.l-filter-item:hover {
    color: var(--primary-500);
}
.l-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.l-filter-checkbox input[type="checkbox"],
.l-filter-checkbox input[type="radio"] {
    accent-color: var(--primary-500);
    cursor: pointer;
    width: 15px;
    height: 15px;
}
.l-filter-count {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Mobile Filter Drawer Toggle */
.l-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}

/* ============================== Main Results Area ============================== */
.l-cand-results {
    width: 100%;
}

.l-cand-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 20px;
    gap: 16px;
}
.l-cand-count {
    font-size: 0.95rem;
    color: #475569;
}
.l-cand-count strong {
    color: #0f172a;
    font-weight: 700;
}
.l-cand-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.l-cand-sort-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}
.l-cand-sort-select {
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    cursor: pointer;
    outline: none;
}
.l-cand-sort-select:focus {
    border-color: var(--primary-500);
}

/* Active Filter Chips */
.l-cand-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.l-cand-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
}
.l-cand-chip button {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}
.l-cand-chip button:hover {
    color: #ef4444;
}

/* ============================== Modern Candidate Card ============================== */
.l-candidate-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.l-candidate-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.l-candidate-card.is-matched {
    border-left: 4px solid var(--primary-500);
}

/* Card Header */
.l-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.l-card-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

/* Avatar with Initial Fallback */
.l-cand-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.l-cand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.l-cand-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0a65cc 0%, #2563eb 100%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Name & Title */
.l-card-user-info {
    flex: 1;
    min-width: 0;
}
.l-card-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.l-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.l-card-name a {
    color: inherit;
    text-decoration: none;
}
.l-card-name a:hover {
    color: var(--primary-500);
}
.l-verified-badge {
    color: #0284c7;
    display: inline-flex;
    align-items: center;
}
.l-verified-badge svg {
    width: 17px;
    height: 17px;
}
.l-card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Top Badges (Role Match + Profile Completeness) */
.l-card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.l-badge-role-match {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.l-badge-completeness {
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.l-badge-completeness.high {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.l-badge-completeness.medium {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.l-badge-completeness.low {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Meta Pills Row */
.l-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    font-size: 0.85rem;
    color: #475569;
}
.l-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.l-card-meta-item svg {
    width: 16px;
    height: 16px;
    color: #64748b;
}
.l-card-meta-item strong {
    color: #0f172a;
    font-weight: 600;
}

/* Snippet Row (Employment / Education) */
.l-card-snippet {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: #334155;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 3px solid #cbd5e1;
}
.l-card-snippet-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.l-card-snippet-row svg {
    width: 15px;
    height: 15px;
    color: #64748b;
    flex-shrink: 0;
}

/* Skills Chips */
.l-card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.l-skill-tag {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
}
.l-skill-more {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    padding: 2px 4px;
}

/* Card Footer Actions */
.l-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    gap: 12px;
}
.l-card-footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.l-viewed-pill {
    font-size: 0.75rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.l-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.l-btn-view {
    background: var(--primary-500);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.l-btn-view:hover {
    background: var(--primary-600);
    color: #ffffff;
    transform: translateY(-1px);
}
.l-btn-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.l-btn-action-icon:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-500);
}
.l-btn-action-icon.is-bookmarked {
    color: #eab308;
    background: #fefce8;
    border-color: #fde047;
}

/* Empty State */
.l-cand-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.l-cand-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.l-cand-empty-icon svg {
    width: 32px;
    height: 32px;
}
.l-cand-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.l-cand-empty p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 20px;
}

/* Pagination container */
.l-cand-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .l-cand-layout {
        grid-template-columns: 1fr;
    }
    .l-cand-sidebar {
        display: none;
    }
    .l-cand-sidebar.is-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 99999;
        overflow-y: auto;
        border-radius: 0;
        padding: 24px 20px;
    }
    .l-mobile-filter-btn {
        display: inline-flex;
    }
}
@media (max-width: 640px) {
    .l-card-header {
        flex-direction: column;
    }
    .l-card-badges {
        align-self: flex-start;
    }
    .l-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .l-card-actions {
        justify-content: flex-end;
    }
    .l-cand-drawer-container {
        width: 100vw;
    }
}

/* ============================== Quota Pill & Morphed State ============================== */
.l-cand-count-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.l-cand-credits-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.l-cand-credits-pill svg {
    width: 14px;
    height: 14px;
    color: #16a34a;
}
.l-credits-upgrade-btn {
    background: #16a34a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none;
    margin-left: 4px;
    transition: background 0.2s ease;
}
.l-credits-upgrade-btn:hover {
    background: #15803d;
    color: #ffffff;
}

/* Morphed Text & Badges */
.l-morphed-text {
    font-family: monospace, sans-serif;
    letter-spacing: 2px;
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
    -webkit-user-select: none;
}
.l-candidate-card.is-morphed .l-card-name a {
    color: #334155;
    letter-spacing: 1px;
}
.l-locked-pill {
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.l-locked-pill svg {
    width: 13px;
    height: 13px;
}
.l-btn-unlock {
    background: #1e293b;
    color: #ffffff;
}
.l-btn-unlock:hover {
    background: #0f172a;
    color: #ffffff;
}

/* ============================== Candidate Profile Drawer ============================== */
.l-cand-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99998;
}
.l-cand-drawer-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 640px;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.l-fade-enter {
    animation: lFadeIn 0.2s ease-out;
}
.l-fade-leave {
    animation: lFadeOut 0.2s ease-in forwards;
}
.l-slide-enter {
    animation: lSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.l-slide-leave {
    animation: lSlideOut 0.25s ease-in forwards;
}
@keyframes lSlideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
@keyframes lSlideOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}
@keyframes lFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes lFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.l-cand-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}
.l-cand-drawer-head-l {
    display: flex;
    align-items: center;
    gap: 10px;
}
.l-cand-drawer-head-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--primary-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.l-cand-drawer-head-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.l-cand-drawer-close {
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}
.l-cand-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.l-cand-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
}
.l-cand-drawer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #64748b;
}
.l-cand-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: lSpin 0.8s linear infinite;
    margin-bottom: 14px;
}
@keyframes lSpin {
    to { transform: rotate(360deg); }
}
.l-cand-loading-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.l-cand-limit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    margin: 30px auto;
    max-width: 440px;
}
.l-cand-limit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.l-cand-limit-icon svg {
    width: 28px;
    height: 28px;
}
.l-cand-limit-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.l-cand-limit-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 24px;
}
.l-cand-limit-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.l-cand-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.l-cand-hero-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.l-cand-hero-avatar {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.l-cand-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.l-cand-hero-details {
    flex: 1;
    min-width: 0;
}
.l-cand-hero-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.l-cand-hero-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.l-badge-available {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}
.l-cand-hero-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 4px;
}
.l-cand-hero-location {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.l-cand-hero-location svg {
    width: 14px;
    height: 14px;
}
.l-cand-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.l-cand-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.l-cand-act-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}
.l-cand-act-btn svg {
    width: 15px;
    height: 15px;
}
.l-cand-act-resume {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--primary-500);
}
.l-cand-act-resume:hover {
    background: #dbeafe;
    color: #1d4ed8;
}
.l-cand-act-download {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}
.l-cand-act-download:hover {
    background: #dcfce7;
    color: #166534;
}
.l-cand-act-whatsapp {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #16a34a;
}
.l-cand-act-whatsapp:hover {
    background: #22c55e;
    color: #ffffff;
}

.l-cand-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.02);
}
.l-cand-sec-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.l-cand-sec-title svg {
    width: 17px;
    height: 17px;
    color: var(--primary-500);
}
.l-cand-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    font-size: 0.85rem;
}
.l-cand-grid-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.l-cand-grid-k {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
}
.l-cand-grid-v {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}
.l-cand-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e2e8f0;
    margin-left: 8px;
}
.l-cand-tl-item {
    position: relative;
}
.l-cand-tl-dot {
    position: absolute;
    left: -26px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-500);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #bfdbfe;
}
.l-cand-tl-dot.edu {
    background: #8b5cf6;
    box-shadow: 0 0 0 2px #ddd6fe;
}
.l-cand-tl-head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.l-cand-tl-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.l-cand-tl-badge {
    font-size: 0.7rem;
    font-weight: 600;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 1px 6px;
    border-radius: 10px;
}
.l-cand-tl-sub {
    font-size: 0.82rem;
    color: #475569;
    margin: 2px 0 0;
}
.l-cand-tl-date {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}
.l-cand-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.l-cand-chip-tag {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}
.l-cand-chip-tag.lang {
    background: #eff6ff;
    color: #1e40af;
}
.l-cand-resume-preview-wrap {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4px;
}
.l-cand-resume-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}
.l-cand-resume-preview-title {
    display: flex;
    align-items: center;
    gap: 6px;
}
.l-cand-resume-preview-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}
.l-cand-tool-link {
    font-size: 0.78rem;
    color: var(--primary-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.l-cand-resume-iframe-wrap {
    height: 420px;
    width: 100%;
    background: #525659;
}
.l-cand-resume-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.l-cand-bio {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    white-space: pre-line;
}

/* ==========================================================================
   Candidate Bulk Export & Selection Styles
   ========================================================================== */

/* Card Checkbox */
.l-cand-select-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    user-select: none;
}
.l-cand-select-cb {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.l-cand-select-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in-out;
    color: #ffffff;
}
.l-cand-select-box svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.15s ease-in-out;
}
.l-cand-select-wrap:hover .l-cand-select-box {
    border-color: var(--primary-500);
}
.l-cand-select-cb:checked + .l-cand-select-box,
.l-cand-select-page-btn.is-active .l-cand-select-box {
    background: var(--primary-500);
    border-color: var(--primary-500);
}
.l-cand-select-cb:checked + .l-cand-select-box svg,
.l-cand-select-page-btn.is-active .l-cand-select-box svg {
    opacity: 1;
    transform: scale(1);
}

/* Card Selected State */
.l-candidate-card.is-selected {
    border-color: var(--primary-500) !important;
    background-color: #f8faff !important;
    box-shadow: 0 4px 16px rgba(11, 99, 229, 0.08) !important;
}

/* Select Page Button in Results Bar */
.l-cand-select-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}
.l-cand-select-page-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}
.l-cand-select-page-btn.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--primary-600);
}
.l-cand-select-box.sm {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border-width: 1.5px;
}
.l-cand-select-box.sm svg {
    width: 11px;
    height: 11px;
}

/* Floating Bulk Action Bar */
.l-bulk-bar-wrap {
    position: fixed;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1040;
    pointer-events: none;
    padding: 0 16px;
}
.l-bulk-bar {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 18px 10px 16px;
    border-radius: 50px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.28), 0 4px 12px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 720px;
    width: 100%;
}
.l-bulk-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.l-bulk-count-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-500);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.l-bulk-bar-text {
    display: flex;
    flex-direction: column;
}
.l-bulk-bar-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.l-bulk-bar-sub {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.3;
}
.l-bulk-bar-sub strong {
    color: #38bdf8;
}
.l-bulk-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.l-bulk-bar-actions .l-btn-outline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-size: 0.8rem;
    padding: 6px 14px;
}
.l-bulk-bar-actions .l-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}
.l-btn-export {
    border-radius: 25px !important;
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(11, 99, 229, 0.4) !important;
}

/* Bulk Bar Slide Transitions */
.l-bulk-slide-enter-active,
.l-bulk-slide-leave-active {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.l-bulk-slide-enter-from,
.l-bulk-slide-leave-to {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
}

/* Spinner small */
.l-cand-spinner-sm {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: l-cand-spin 0.7s linear infinite;
    display: inline-block;
}

/* Confirmation & Quota Modals */
.l-cand-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.l-cand-confirm-modal {
    background: #ffffff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2);
    text-align: center;
    position: relative;
    animation: l-modal-pop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes l-modal-pop {
    0% { transform: scale(0.94); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.l-cand-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--primary-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.l-cand-modal-icon.warning {
    background: #fef2f2;
    color: #ef4444;
}
.l-cand-modal-icon svg {
    width: 28px;
    height: 28px;
}
.l-cand-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}
.l-cand-modal-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 18px;
}
.l-cand-modal-breakdown {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 22px;
    text-align: left;
}
.l-cand-modal-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
    padding: 4px 0;
}
.l-cand-modal-row strong {
    color: #0f172a;
}
.l-cand-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.l-cand-modal-actions .l-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .l-bulk-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 14px;
        gap: 12px;
    }
    .l-bulk-bar-actions {
        justify-content: flex-end;
    }
}


