/* NovaPrime Admin Panel - Styles */
:root {
    --navy: #0d1b4b;
    --navy-dark: #080f2e;
    --orange: #f5a623;
    --orange-dark: #d4891a;
    --white: #ffffff;
    --light-bg: #f4f6fb;
    --text-dark: #1a1f36;
    --text-mid: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --sidebar-width: 240px;
    --header-height: 56px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #080f2e 0%, #0d1b4b 40%, #152a6e 100%);
    position: relative;
    overflow-x: hidden;
}

.login-page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.login-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: loginOrbFloat 20s ease-in-out infinite;
}

.login-bg-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(245, 166, 35, 0.22);
    top: -150px;
    left: -100px;
}

.login-bg-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.15);
    bottom: -100px;
    right: -80px;
    animation-delay: -8s;
}

.login-bg-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-name: loginOrbFloatCenter;
    animation-delay: -14s;
}

@keyframes loginOrbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes loginOrbFloatCenter {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 30px)); }
}

.login-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
}

.login-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(640px, calc(100vh - 3rem));
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 32px 64px rgba(0, 0, 0, 0.45);
}

.login-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 2.25rem 2rem;
    background: linear-gradient(160deg, var(--navy) 0%, #152a6e 50%, var(--navy-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(245, 166, 35, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.login-brand-top {
    position: relative;
    z-index: 1;
}

.login-brand-logo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.login-logo {
    max-width: 100%;
    max-height: 64px;
    height: auto;
    object-fit: contain;
}

.login-brand-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.login-brand-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.login-brand-tagline i {
    color: var(--orange);
    font-size: 0.78rem;
}

.login-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    position: relative;
    z-index: 1;
}

.login-cap-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.7rem 0.4rem;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.login-cap-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateY(-2px);
}

.login-cap-item i {
    display: block;
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 0.35rem;
}

.login-cap-item span {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

.login-brand-bottom {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.login-company-info {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

.login-company-info-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.login-company-info-title i {
    color: var(--orange);
    font-size: 0.78rem;
}

.login-company-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.login-company-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

.login-company-info-list li > i {
    width: 16px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    color: var(--orange);
    font-size: 0.82rem;
}

.login-company-info-list a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    word-break: break-word;
}

.login-company-info-list a:hover {
    color: var(--orange);
}

.login-company-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.login-company-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.login-company-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--navy);
}

.login-brand-footer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.login-help-box {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.login-help-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.login-help-title i {
    color: var(--orange);
}

.login-help-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.78rem;
    color: var(--text-mid);
    line-height: 1.55;
}

.login-help-list li {
    margin-bottom: 0.3rem;
}

.login-help-list li:last-child {
    margin-bottom: 0;
}

.login-help-list a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.login-help-list a:hover {
    text-decoration: underline;
}

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.25rem;
    background: var(--white);
    position: relative;
    overflow-y: auto;
}

.login-form-inner {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.login-header-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.28));
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.login-header p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0;
}

.login-form input {
    transition: border-color 0.2s, box-shadow 0.2s;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
    z-index: 5;
}

.toggle-password:hover,
.toggle-password:focus {
    color: var(--orange);
    outline: none;
}

.login-form .form-group {
    margin-bottom: 1.15rem;
}

.login-captcha-group {
    margin-bottom: 1.35rem;
}

.login-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.login-form label i {
    margin-right: 0.4rem;
    color: var(--orange);
    width: 16px;
    font-size: 0.78rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.98rem;
    font-family: inherit;
    background: #fafbfc;
}

.login-form input:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.12);
}

.login-form input.input-error {
    border-color: #b91c1c;
    background: #fef2f2;
}

.login-form .field-error {
    display: block;
    font-size: 0.8rem;
    color: #b91c1c;
    margin-top: 0.35rem;
    min-height: 1.2em;
}

.login-submit-btn {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 0.25rem;
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

.login-submit-btn:hover {
    box-shadow: 0 10px 24px rgba(245, 166, 35, 0.45);
}

.btn-block {
    width: 100%;
}

.login-form .btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    box-shadow: none;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.login-footer a:hover,
.login-back-link:hover {
    color: var(--orange);
}

.login-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
    justify-content: center;
}

.login-security-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
}

.login-security-badges i {
    color: var(--navy);
    font-size: 0.65rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

@media (max-width: 860px) {
    .login-page {
        padding: 1rem;
        align-items: flex-start;
    }

    .login-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-brand-panel {
        padding: 1.75rem 1.5rem;
    }

    .login-capabilities {
        grid-template-columns: repeat(3, 1fr);
    }

    .login-brand-footer {
        text-align: center;
    }

    .login-company-social {
        justify-content: center;
    }

    .login-form-panel {
        padding: 1.75rem 1.5rem 2rem;
    }

    .login-form-inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login-capabilities {
        grid-template-columns: repeat(2, 1fr);
    }

    .login-brand-logo-wrap {
        width: 60px;
        height: 60px;
    }

    .login-brand-title {
        font-size: 1.35rem;
    }
}

.header-logo-mobile {
    display: none;
}

@media (max-width: 992px) {
    .header-logo-mobile {
        display: block;
        margin-right: auto;
        flex-shrink: 1;
        min-width: 0;
        max-width: 120px;
    }

    .header-logo-mobile img {
        max-width: 100%;
        height: 30px;
        width: auto;
        object-fit: contain;
    }
}

/* ========== LAYOUT (logged in) ========== */
.admin-wrap {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--navy);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.admin-sidebar .brand {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.admin-sidebar .brand .sidebar-logo {
    max-height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.admin-sidebar .brand .brand-text {
    line-height: 1.2;
}

.admin-sidebar nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0 1rem;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 166, 35, 0.5) rgba(255, 255, 255, 0.06);
}

.admin-sidebar nav::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    margin: 6px 0;
}

.admin-sidebar nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar nav::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 166, 35, 0.65);
}

.admin-sidebar nav::-webkit-scrollbar-thumb:active {
    background: rgba(245, 166, 35, 0.85);
}

.admin-sidebar .nav-group {
    padding: 0.35rem 0;
}

.admin-sidebar .nav-group + .nav-group {
    margin-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .nav-group-main {
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.admin-sidebar .nav-group-label {
    display: block;
    padding: 0.55rem 1.5rem 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.42);
    user-select: none;
}

.admin-sidebar .nav-group-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar .nav-group-footer a:last-child {
    color: rgba(255, 255, 255, 0.75);
}

.admin-sidebar .nav-group-footer a:last-child:hover {
    color: #fecaca;
}

.admin-sidebar .nav-group-footer a:last-child i {
    color: #f87171;
}

.admin-sidebar .nav-group-footer a:last-child:hover i {
    color: #fecaca;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-sidebar nav a i {
    width: 24px;
    margin-right: 0.75rem;
    color: var(--orange);
    opacity: 0.95;
}

.admin-sidebar nav a:hover i,
.admin-sidebar nav a.active i {
    color: var(--white);
}

.admin-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    max-width: calc(100% - var(--sidebar-width));
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    box-sizing: border-box;
}

.admin-header {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.admin-header .user-menu a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.admin-header .user-menu a:hover {
    background: var(--light-bg);
    color: var(--navy);
}

/* ========== USER DROPDOWN MENU ========== */

/* Wrapper - positioned relatively so dropdown panel aligns below it */
.user-dropdown {
    position: relative;
    display: inline-block;
}

/* The trigger button - looks like a pill with avatar + name + chevron */
.user-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem 0.4rem 0.4rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    /* fully rounded pill shape */
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.2s, box-shadow 0.2s;
}

.user-dropdown-btn:hover {
    background: #e8edf6;
    box-shadow: 0 2px 8px rgba(13, 27, 75, 0.1);
}

/* Circular avatar with the first letter of the username */
.user-dropdown-btn .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Username text */
.user-dropdown-btn .user-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chevron icon - rotates 180deg when the dropdown is open */
.user-dropdown-btn .user-chevron {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

/* Rotate the chevron when the menu is open */
.user-dropdown-menu.open~.user-dropdown-btn .user-chevron,
.user-dropdown-btn[aria-expanded="true"] .user-chevron {
    transform: rotate(180deg);
}

/* The dropdown panel itself - hidden by default */
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    /* 8px gap below the button */
    right: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(13, 27, 75, 0.14);
    padding: 0.5rem 0;
    z-index: 200;
    /* Must be above all other content */
    animation: dropdownFadeIn 0.15s ease;
}

/* Show the panel when .open class is added via JS */
.user-dropdown-menu.open {
    display: block;
}

/* Subtle fade-in animation for the panel */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Each link item inside the dropdown */
.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.user-dropdown-item:hover {
    background: var(--light-bg);
    color: var(--navy);
}

/* Icon style for each item */
.user-dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

.user-dropdown-item:hover i {
    color: var(--orange);
}

/* Thin horizontal rule between item groups */
.user-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 0;
}

/* Logout item - highlighted with a danger red color */
.user-dropdown-logout {
    color: #c0392b;
}

.user-dropdown-logout:hover {
    background: #fef2f2;
    color: #991b1b;
}

.user-dropdown-logout i {
    color: #c0392b;
}

.user-dropdown-logout:hover i {
    color: #991b1b;
}

.admin-content {
    flex: 1;
    padding: 1.5rem 2rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--orange);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--orange-dark);
    color: var(--navy);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--navy-dark);
}

/* ========== CARDS & DASHBOARD ========== */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(13, 27, 75, 0.06);
}

.stat-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-card .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-card a {
    font-size: 0.9rem;
    color: var(--orange);
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
}

.stat-card a:hover {
    text-decoration: underline;
}

/* ========== DASHBOARD BEAUTIFUL ========== */
/* Optimized dashboard layout — denser grid, readable typography (dashboard.php) */
.admin-content:has(.dash-page) {
    padding: 1.25rem 1.5rem;
}

.dash-page .dash-welcome {
    gap: 0.85rem;
    padding: 0.9rem 1.15rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
}

.dash-page .dash-welcome-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.15rem;
}

.dash-page .dash-welcome-title {
    font-size: 1.12rem;
}

.dash-page .dash-welcome-sub {
    font-size: 0.84rem;
}

/* Stat cards: compact grid with stacked card layout */
.dash-page .dashboard-stats {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.dash-page .dashboard-stats .stat-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    gap: 0.35rem 0.7rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: 12px;
}

.dash-page .dashboard-stats .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 27, 75, 0.1);
}

.dash-page .dashboard-stats .stat-icon {
    grid-row: 1;
    grid-column: 1;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    font-size: 1.15rem;
}

.dash-page .dashboard-stats .stat-body {
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
}

.dash-page .dashboard-stats .stat-label {
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
    white-space: normal;
    line-height: 1.3;
}

.dash-page .dashboard-stats .stat-num {
    font-size: 1.6rem;
}

.dash-page .dashboard-stats .stat-sub {
    font-size: 0.75rem !important;
    display: block;
    margin-top: 0.15rem;
}

.dash-page .dashboard-stats .stat-link {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.78rem;
    padding-top: 0.55rem;
    margin-top: 0.15rem;
    border-top: 1px solid #e8edf3;
    justify-content: flex-end;
}

/* Charts row */
.dash-page .dashboard-charts {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dash-page .chart-card {
    border-radius: 12px;
    padding: 1rem 1.15rem;
}

.dash-page .chart-card-half {
    max-width: none;
}

.dash-page .chart-title {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

.dash-page .chart-wrap {
    height: 200px;
}

.dash-page .chart-wrap-doughnut {
    height: 200px;
}

/* Section blocks */
.dash-page .dash-interview-section {
    border-radius: 12px;
    padding: 1rem 1.15rem 1.15rem;
    margin-bottom: 1.5rem;
}

.dash-page .dash-interview-head {
    margin-bottom: 0.9rem;
}

.dash-page .dash-interview-title {
    font-size: 1.05rem;
}

.dash-page .dash-interview-sub {
    font-size: 0.82rem;
}

.dash-page .dash-interview-link {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

.dash-page .dash-interview-kpis {
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.dash-page .dash-kpi-card {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    gap: 0.65rem;
}

.dash-page .dash-kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 0.88rem;
}

.dash-page .dash-kpi-label {
    font-size: 0.7rem;
}

.dash-page .dash-kpi-value {
    font-size: 1.35rem;
}

.dash-page .dash-kpi-amount {
    font-size: 1.15rem;
}

.dash-page .dash-interview-panels {
    gap: 0.85rem;
}

.dash-page .dash-interview-panel {
    border-radius: 10px;
    padding: 0.85rem 0.95rem 0.95rem;
}

.dash-page .dash-panel-title {
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
}

.dash-page .dash-chart-canvas-wrap {
    height: 210px;
}

.dash-page .dash-chart-canvas-wrap-bar {
    height: 230px;
}

.dash-page .dash-heatmap-panel {
    padding: 0.85rem 0.95rem;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.dash-page .dash-enrollment-second-row {
    margin-top: 0.85rem;
}

.dash-page .dash-today-wrap {
    margin-top: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
}

.dash-page .dash-today-section-last {
    margin-bottom: 1.5rem;
}

.dash-page .dash-today-table {
    font-size: 0.82rem;
}

.dash-page .dash-today-table th,
.dash-page .dash-today-table td {
    padding: 0.5rem 0.65rem;
}

.dash-page .dashboard-tables {
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.dash-page .table-card .table-card-title {
    padding: 0.85rem 1rem 0;
    font-size: 0.92rem;
}

.dash-page .table-wrap th,
.dash-page .table-wrap td {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
}

.dash-page .table-wrap th {
    font-size: 0.72rem;
}

.dash-page .alert {
    margin-bottom: 1rem !important;
}

@media (min-width: 1400px) {
    .dash-page .dashboard-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .dash-page .dashboard-charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .dash-page .dash-interview-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-page .dash-interview-panels {
        grid-template-columns: 1fr;
    }

    .dash-page .dashboard-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-content:has(.dash-page) {
        padding: 1rem;
    }

    .dash-page .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dash-page .dashboard-stats .stat-num {
        font-size: 1.45rem;
    }
}

.dash-welcome {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(13, 27, 75, 0.05);
}

.dash-welcome-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(13, 27, 75, 0.2);
}

.dash-welcome-title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.dash-welcome-sub {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dash-welcome-sub i {
    color: #2563eb;
    font-size: 0.82rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.dashboard-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-stats .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13, 27, 75, 0.12);
}

.dashboard-stats .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-card-contact .stat-icon {
    background: rgba(13, 27, 75, 0.1);
    color: var(--navy);
}

.stat-card-talent .stat-icon {
    background: rgba(245, 166, 35, 0.2);
    color: var(--orange-dark);
}

.stat-card-support .stat-icon {
    background: rgba(245, 166, 35, 0.18);
    color: var(--orange-dark);
}

.stat-card-enrollment .stat-icon {
    background: rgba(5, 150, 105, 0.15);
    color: #047857;
}

.stat-card-posts .stat-icon {
    background: rgba(46, 59, 78, 0.12);
    color: #2e3b4e;
}

.stat-card-jobs .stat-icon {
    background: rgba(13, 27, 75, 0.1);
    color: var(--navy);
}

.stat-card-resume-checklist .stat-icon {
    background: rgba(14, 116, 144, 0.12);
    color: #0e7490;
}

.stat-card-faqs .stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.stat-card-technical .stat-icon {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.stat-card-schedules .stat-icon {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.dashboard-stats .stat-body {
    flex: 1;
    min-width: 0;
}

.dashboard-stats .stat-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-stats .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.dashboard-stats .stat-link {
    font-size: 0.85rem;
    color: var(--orange);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dashboard-stats .stat-card:hover .stat-link {
    color: var(--orange-dark);
}

.dashboard-charts {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(13, 27, 75, 0.06);
    padding: 1.25rem 1.5rem;
    overflow: hidden;
}

.chart-card-half {
    max-width: 380px;
}

.chart-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-title i {
    color: var(--orange);
}

.chart-wrap {
    position: relative;
    height: 220px;
}

.chart-wrap-doughnut {
    height: 240px;
}

/* Interview schedules analytics (dashboard) */
.dash-interview-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 27, 75, 0.07);
    padding: 1.35rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
}

.dash-interview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.dash-interview-title {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-interview-title i {
    color: #2563eb;
    font-size: 1rem;
}

.dash-interview-sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.dash-interview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

.dash-interview-link:hover {
    background: #dbeafe;
    color: #1e40af;
}

.dash-interview-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dash-kpi-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.dash-kpi-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dash-kpi-icon-blue { background: #eff6ff; color: #2563eb; }
.dash-kpi-icon-sky { background: #e0f2fe; color: #0284c7; }
.dash-kpi-icon-green { background: #ecfdf5; color: #059669; }
.dash-kpi-icon-emerald { background: #d1fae5; color: #047857; }
.dash-kpi-icon-orange { background: #fff7ed; color: #ea580c; }
.dash-kpi-icon-amber { background: #fef3c7; color: #d97706; }
.dash-kpi-icon-gold { background: #fef9c3; color: #ca8a04; }
.dash-kpi-icon-navy { background: rgba(13, 27, 75, 0.08); color: var(--navy); }
.dash-kpi-icon-teal { background: #ccfbf1; color: #0d9488; }

.dash-kpi-content {
    min-width: 0;
    flex: 1;
}

.dash-kpi-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.dash-kpi-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
}

.dash-kpi-upcoming .dash-kpi-value { color: #2563eb; }
.dash-kpi-qualified .dash-kpi-value { color: #059669; }
.dash-kpi-completed .dash-kpi-value { color: #16a34a; }

.dash-interview-panels {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.dash-interview-panel {
    background: #fafbfc;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 1rem 1.15rem 1.15rem;
    min-width: 0;
}

.dash-panel-title {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.dash-panel-title i {
    font-size: 0.85rem;
    color: #94a3b8;
}

.dash-chart-canvas-wrap {
    position: relative;
    height: 260px;
}

.dash-status-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.dash-status-item {
    margin: 0;
}

.dash-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.dash-status-name {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    min-width: 0;
}

.dash-status-count {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
    flex-shrink: 0;
}

.dash-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #94a3b8;
}

.dash-status-dot-scheduled { background: #2563eb; }
.dash-status-dot-completed { background: #16a34a; }
.dash-status-dot-qualified { background: #059669; }
.dash-status-dot-rejected { background: #dc2626; }
.dash-status-dot-on-hold { background: #d97706; }
.dash-status-dot-cancelled { background: #64748b; }
.dash-status-dot-no-show { background: #be185d; }

.dash-status-track {
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.dash-status-fill {
    height: 100%;
    border-radius: 999px;
    background: #94a3b8;
    transition: width 0.4s ease;
}

.dash-status-fill-scheduled { background: #2563eb; }
.dash-status-fill-completed { background: #16a34a; }
.dash-status-fill-qualified { background: #059669; }
.dash-status-fill-rejected { background: #dc2626; }
.dash-status-fill-on-hold { background: #d97706; }
.dash-status-fill-cancelled { background: #64748b; }
.dash-status-fill-no-show { background: #be185d; }

.dash-status-empty {
    margin: 0;
    padding: 2rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Interview heatmap calendar (dashboard) */
.dash-heatmap-panel {
    background: #fafbfc;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 1rem 1.15rem 1.15rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.dash-heatmap-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.dash-heatmap-sub {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

.dash-heatmap-stats {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.dash-heatmap-stat {
    text-align: right;
}

.dash-heatmap-stat-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.dash-heatmap-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.dash-heatmap-stat-value small {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

.dash-heatmap-scroll {
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
}

.dash-heatmap-calendar {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    min-width: min-content;
}

.dash-heatmap-top {
    display: flex;
    gap: 10px;
}

.dash-heatmap-day-spacer {
    width: 30px;
    flex-shrink: 0;
}

.dash-heatmap-months {
    position: relative;
    height: 14px;
    min-width: 0;
}

.dash-heatmap-month {
    position: absolute;
    top: 0;
    left: calc(var(--week-idx) * 17px);
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
}

.dash-heatmap-main {
    display: flex;
    gap: 10px;
}

.dash-heatmap-day-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 113px;
    font-size: 0.62rem;
    font-weight: 600;
    color: #94a3b8;
    flex-shrink: 0;
}

.dash-heatmap-day-labels span {
    line-height: 14px;
    height: 14px;
}

.dash-heatmap-grid {
    display: flex;
    flex-direction: row;
    gap: 3px;
}

.dash-heatmap-week {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-heatmap-cell {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: block;
    flex-shrink: 0;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

a.dash-heatmap-cell {
    text-decoration: none;
    cursor: pointer;
}

a.dash-heatmap-cell:hover,
a.dash-heatmap-cell:focus-visible {
    transform: scale(1.2);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    outline: none;
    z-index: 1;
    position: relative;
}

.dash-heatmap-cell-pad {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

.dash-heatmap-level-0 { background: #e8edf3; }
.dash-heatmap-level-1 { background: #bfdbfe; }
.dash-heatmap-level-2 { background: #60a5fa; }
.dash-heatmap-level-3 { background: #2563eb; }
.dash-heatmap-level-4 { background: #1e3a8a; }

.dash-heatmap-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.85rem;
    justify-content: flex-end;
    position: relative;
}

.dash-heatmap-legend-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
    margin: 0 0.15rem;
}

.dash-heatmap-legend-cell {
    pointer-events: none;
}

.dash-heatmap-tooltip {
    position: absolute;
    transform: translate(-50%, -100%);
    background: rgba(13, 27, 75, 0.94);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(13, 27, 75, 0.25);
}

.dash-heatmap-tooltip[hidden] {
    display: none;
}

@media (max-width: 1024px) {
    .dash-interview-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-interview-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dash-interview-kpis {
        grid-template-columns: 1fr 1fr;
    }
}

/* Interview support analytics (dashboard) */
.dash-support-section .dash-support-title i {
    color: var(--orange);
}

.dash-support-link {
    background: #fff7ed;
    color: #c2410c;
}

.dash-support-link:hover {
    background: #ffedd5;
    color: #9a3412;
}

.dash-kpi-support-interviews .dash-kpi-value { color: var(--orange-dark); }
.dash-kpi-support-amount .dash-kpi-value { color: #c2410c; }
.dash-kpi-support-vendors .dash-kpi-value { color: var(--navy); }

.dash-kpi-amount {
    font-size: 1.35rem;
}

.dash-chart-canvas-wrap-bar {
    height: 280px;
}

.dash-status-dot-support { background: var(--orange); }
.dash-status-fill-support { background: linear-gradient(90deg, #f59e0b, #f5a623); }

.dash-vendor-meta {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 1px;
}

/* Candidate enrollments analytics (dashboard) */
.dash-enrollment-section .dash-enrollment-title i {
    color: #059669;
}

.dash-enrollment-link {
    background: #ecfdf5;
    color: #047857;
}

.dash-enrollment-link:hover {
    background: #d1fae5;
    color: #065f46;
}

.dash-kpi-enrollment-month .dash-kpi-value { color: #059669; }
.dash-kpi-enrollment-new .dash-kpi-value { color: #047857; }
.dash-kpi-enrollment-recruiters .dash-kpi-value { color: var(--navy); }

.dash-enrollment-second-row {
    margin-top: 1.25rem;
}

.dash-enrollment-recent {
    display: flex;
    flex-direction: column;
}

.dash-status-dot-new-enrollment { background: #059669; }
.dash-status-dot-slot { background: #2563eb; }
.dash-status-dot-new { background: #16a34a; }
.dash-status-dot-stem { background: #7c3aed; }
.dash-status-dot-bgc { background: #d97706; }
.dash-status-dot-default { background: #64748b; }

.dash-status-fill-new-enrollment { background: #059669; }
.dash-status-fill-slot { background: #2563eb; }
.dash-status-fill-new { background: #16a34a; }
.dash-status-fill-stem { background: #7c3aed; }
.dash-status-fill-bgc { background: #d97706; }
.dash-status-fill-default { background: #64748b; }

.dash-today-status-new-enrollment { background: #ecfdf5; color: #059669; }
.dash-today-status-slot { background: #eff6ff; color: #2563eb; }
.dash-today-status-new { background: #f0fdf4; color: #15803d; }
.dash-today-status-stem { background: #faf5ff; color: #7c3aed; }
.dash-today-status-bgc { background: #fffbeb; color: #b45309; }

.dash-today-wrap {
    margin-top: 1.25rem;
    background: #fafbfc;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 1rem 1.15rem 1.15rem;
}

.dash-today-section-last {
    margin-bottom: 2rem;
}

.dash-today-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.dash-today-head .dash-panel-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dash-today-head .dash-panel-title i {
    color: #2563eb;
}

.dash-today-date {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #64748b;
}

.dash-today-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 800;
}

.dash-today-view-all {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dash-today-view-all:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.dash-today-empty {
    margin: 0;
    padding: 1.5rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dash-today-empty i {
    font-size: 1.75rem;
    color: #cbd5e1;
}

.dash-today-table-wrap {
    overflow-x: auto;
}

.dash-today-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.dash-today-table th,
.dash-today-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e8edf3;
    vertical-align: middle;
}

.dash-today-table thead th {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    background: #e8edf5;
    border-bottom: 2px solid #cbd5e1;
    white-space: nowrap;
}

.dash-today-table thead th i {
    margin-right: 0.25rem;
    color: #64748b;
    font-size: 0.62rem;
    opacity: 0.85;
}

.dash-today-table tbody tr:hover {
    background: #fff;
}

.dash-today-table tbody tr:last-child td {
    border-bottom: none;
}

.dash-today-time {
    font-weight: 700;
    color: #2563eb;
    white-space: nowrap;
}

.dash-today-table strong {
    color: var(--navy);
    font-weight: 700;
}

.dash-today-status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.dash-today-status-scheduled { background: #eff6ff; color: #1d4ed8; }
.dash-today-status-completed { background: #f0fdf4; color: #15803d; }
.dash-today-status-qualified { background: #ecfdf5; color: #059669; }
.dash-today-status-rejected { background: #fef2f2; color: #dc2626; }
.dash-today-status-on-hold { background: #fffbeb; color: #b45309; }
.dash-today-status-cancelled { background: #f1f5f9; color: #64748b; }
.dash-today-status-no-show { background: #fdf2f8; color: #be185d; }
.dash-today-status-default { background: #f1f5f9; color: #64748b; }

.dash-today-action a {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.dash-today-action a:hover {
    text-decoration: underline;
}

.dashboard-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.table-card .table-card-title {
    padding: 1rem 1rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-card .table-card-title i {
    color: var(--navy);
    opacity: 0.9;
}

/* Modern Dashboard Adjustments */
@media (max-width: 1024px) {

    .dashboard-charts,
    .dashboard-tables {
        grid-template-columns: 1fr;
    }

    .chart-card-half {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stats .stat-card {
        padding: 1.25rem;
    }

    .dashboard-stats .stat-num {
        font-size: 1.5rem;
    }
}

/* ========== TABLES ========== */
.table-wrap {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(13, 27, 75, 0.06);
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table-wrap th {
    background: var(--light-bg);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-mid);
}

.table-wrap tr:last-child td {
    border-bottom: none;
}

.table-wrap tbody tr:hover {
    background: rgba(245, 166, 35, 0.06);
}

.table-wrap td {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.table-wrap .muted {
    color: var(--text-light);
    font-size: 0.85rem;
}

.table-wrap .actions a {
    color: var(--orange);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.table-wrap .actions a:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

/* ========== BADGES ========== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #e0f2fe;
    color: #075985;
}

/* ========== EDITOR COMPONENTS ========== */
.admin-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(13, 27, 75, 0.04);
}

.admin-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.editor-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    align-items: start;
}

.editor-main {
    min-width: 0;
}

.editor-side {
    position: sticky;
    top: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}

.form-field input[type="text"],
.form-field input[type="url"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="password"],
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.quill-editor {
    height: 400px;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .editor-layout {
        grid-template-columns: 1fr;
    }

    .editor-side {
        position: static;
    }
}

/* ========== SETTINGS FORM ========== */
.settings-form {
    max-width: 720px;
}

.settings-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-section h3 i {
    color: var(--orange);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-row-2 .form-group {
    flex: 1;
}

.form-row-3 .form-group {
    flex: 1;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 0.35rem;
}

.form-group input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

.form-actions {
    margin-top: 1rem;
}

.form-actions .btn {
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
}

.upload-row {
    align-items: flex-start;
}

.upload-group .upload-preview {
    width: 100%;
    min-height: 100px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    overflow: hidden;
}

.upload-group .preview-img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.upload-group .preview-logo {
    max-height: 80px;
}

.upload-group .preview-favicon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.upload-group .preview-placeholder {
    color: var(--text-light);
    font-size: 0.85rem;
}

.upload-group .upload-input {
    padding: 0.4rem 0;
}

.upload-group .upload-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.35rem;
}

/* ========== LISTING ENHANCEMENTS ========== */
.filter-bar {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(13, 27, 75, 0.03);
}

.search-input-wrap {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input-wrap input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    background: #f8fafc;
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-options select {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--text-mid);
}

.table-wrap table td {
    vertical-align: middle;
}

.post-title-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.post-title-link:hover {
    color: var(--orange);
}

.btn-icon-only {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-wrap {
        max-width: 100%;
    }
}

/* ========== SIDEBAR TOGGLE & OVERLAY ========== */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--navy);
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
    line-height: 1;
}

.sidebar-toggle:hover {
    background: var(--light-bg);
}

.sidebar-overlay {
    background: rgba(13, 27, 75, 0.4);
    backdrop-filter: blur(4px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== GLOBAL RESPONSIVE OVERHAUL ========== */
@media (max-width: 1024px) {
    .sidebar-toggle {
        display: block;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 200;
        box-shadow: 10px 0 30px rgba(13, 27, 75, 0.15);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-wrap {
        max-width: 100%;
    }

    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    .admin-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    .admin-header {
        padding: 0 1rem;
        min-width: 0;
    }

    .header-left {
        gap: 0.75rem !important;
        overflow: hidden;
    }

    .admin-header h2 {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }

    .header-datetime {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .admin-header h2 {
        font-size: 1.1rem;
        max-width: 130px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-flags {
        display: none !important;
    }

    .admin-content {
        padding: 1.25rem 1rem;
    }

    .table-wrap {
        overflow-x: auto !important;
    }

    .table-wrap table {
        min-width: 750px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }

    .search-input-wrap {
        max-width: 100%;
    }

    .user-dropdown-btn .user-name {
        display: none;
    }

    .user-dropdown-btn {
        padding: 0.4rem;
    }

    .header-right {
        gap: 0.75rem !important;
    }

    .form-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .stats-grid,
    .dashboard-stats {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .admin-header h2 {
        display: none;
    }

    .admin-main {
        padding-top: 0;
    }
}

/* ========== PAGINATION ========== */
.pagination-wrap {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pagination-controls {
    display: flex;
    gap: 8px;
}

.pagination-btn {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-mid);
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-weight: 500;
}

.pagination-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--navy);
}

.pagination-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

@media (max-width: 768px) {
    .pagination-wrap {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Admin user edit — compact layout (user-edit.php) */
.admin-user-edit-page {
    max-width: 920px;
}

.admin-user-edit-top {
    margin-bottom: 0.85rem;
}

.admin-user-edit-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
}

.admin-user-edit-back:hover {
    color: var(--navy);
}

.admin-user-edit-title {
    margin: 0 !important;
    font-size: 1.35rem !important;
    line-height: 1.2;
}

.admin-user-edit-desc {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-light);
    max-width: 42rem;
}

.admin-user-edit-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-user-edit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 2px 10px rgba(13, 27, 75, 0.04);
}

.admin-user-edit-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--navy);
}

.admin-user-edit-section-title i {
    color: var(--orange);
    font-size: 0.85rem;
}

.admin-user-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
}

.admin-user-edit-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.admin-user-edit-field label {
    display: block;
    margin-bottom: 0.22rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-mid);
}

.admin-user-edit-field label .req {
    color: #dc2626;
}

.admin-user-edit-field label .hint {
    font-weight: 500;
    color: var(--text-light);
}

.admin-user-edit-field input,
.admin-user-edit-field select {
    width: 100%;
    padding: 0.48rem 0.62rem;
    font-size: 0.86rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
}

.admin-user-edit-field input:focus,
.admin-user-edit-field select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.18);
}

.admin-user-edit-field input:disabled,
.admin-user-edit-field select:disabled {
    background: #f8fafc;
    color: var(--text-light);
    cursor: not-allowed;
}

.admin-user-edit-field-note {
    margin: 0.4rem 0 0;
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--text-light);
}

.admin-user-edit-field-note i {
    color: var(--navy);
    margin-right: 0.2rem;
}

.admin-user-edit-perms-card.is-locked {
    opacity: 0.55;
}

.admin-user-edit-perms-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.admin-user-edit-perms-head .admin-user-edit-section-title {
    margin-bottom: 0.25rem;
}

.admin-user-edit-perms-desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-light);
}

.admin-user-edit-perms-tools {
    display: flex;
    flex-shrink: 0;
    gap: 0.35rem;
}

.admin-user-edit-page .btn-sm {
    padding: 0.38rem 0.7rem;
    font-size: 0.8rem;
    line-height: 1.2;
}

.admin-user-edit-perm-toggle {
    white-space: nowrap;
}

.admin-user-edit-perm-groups {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.admin-user-edit-perm-group-title {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.admin-user-edit-perm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.admin-user-edit-perm-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.admin-user-edit-perm-card:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.admin-user-edit-perm-card input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--navy);
    cursor: pointer;
}

.admin-user-edit-perm-label {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
}

.admin-user-edit-perm-card:has(input:checked) {
    border-color: var(--navy);
    background: rgba(13, 27, 75, 0.03);
    box-shadow: 0 2px 8px rgba(13, 27, 75, 0.06);
}

.admin-user-edit-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.15rem;
}

.admin-user-edit-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.admin-user-edit-alert {
    margin-bottom: 0.75rem;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem;
}

.admin-user-edit-error-list {
    margin: 0;
    padding-left: 1.1rem;
}

.admin-user-edit-form .field-error {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    color: #dc2626;
}

.admin-user-edit-form .input-error {
    border-color: #fca5a5 !important;
    background: #fffafb;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12) !important;
}

.admin-user-edit-perms-card.input-error-group {
    border-color: #fca5a5;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.admin-user-edit-perm-error .field-error {
    margin-bottom: 0.5rem;
}

.admin-user-edit-desc .req,
.admin-user-edit-perms-desc .req {
    color: #dc2626;
    font-weight: 700;
}

@media (max-width: 900px) {
    .admin-user-edit-perm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-user-edit-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-edit-perms-head {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-user-edit-perms-tools {
        width: 100%;
    }

    .admin-user-edit-perm-toggle {
        flex: 1 1 0;
        justify-content: center;
    }

    .admin-user-edit-perm-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-edit-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-user-edit-actions .btn-sm {
        width: 100%;
        justify-content: center;
    }
}

/* Candidate Hotlist edit (hotlist-edit.php) */
.hotlist-edit-page {
    max-width: 72rem;
}

.hotlist-edit-header {
    margin-bottom: 0.75rem;
}

.hotlist-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.hotlist-back-link:hover {
    color: var(--navy);
}

.hotlist-edit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem 1rem;
}

.hotlist-edit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.85rem;
}

.hotlist-edit-field label {
    display: block;
    margin-bottom: 0.22rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-mid);
}

.hotlist-edit-field label .req {
    color: #dc2626;
}

.hotlist-edit-field input,
.hotlist-edit-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.48rem 0.62rem;
    font-size: 0.86rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
}

.hotlist-edit-field input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.hotlist-edit-field input::-webkit-input-placeholder {
    color: #94a3b8;
    opacity: 1;
}

.hotlist-edit-field input::-moz-placeholder {
    color: #94a3b8;
    opacity: 1;
}

.hotlist-edit-field input:focus,
.hotlist-edit-field select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.18);
}

.hotlist-edit-hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.3;
}

.hotlist-edit-span-2 {
    grid-column: span 2;
}

.hotlist-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.hotlist-edit-form .field-error {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #dc2626;
    line-height: 1.3;
}

.hotlist-edit-form label.error,
.hotlist-edit-form span.field-error {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #dc2626;
    line-height: 1.3;
}

.hotlist-edit-form .input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12) !important;
}

.hotlist-edit-page .hotlist-alert {
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .hotlist-edit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hotlist-edit-span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .hotlist-edit-grid {
        grid-template-columns: 1fr;
    }

    .hotlist-edit-span-2 {
        grid-column: span 1;
    }
}

/* ========== SYSTEM REPORTS ========== */
.is-system-reports-page {
    max-width: 100%;
}

.admin-content:has(.is-system-reports-page) {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 120px);
}

.rpt-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.35rem;
    background: linear-gradient(135deg, #0d1b4b 0%, #1e3a8a 55%, #2563eb 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(13, 27, 75, 0.22);
    color: #fff;
}

.rpt-hero-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    flex: 1 1 280px;
}

.rpt-hero-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.rpt-hero-text {
    min-width: 0;
}

.rpt-hero-title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rpt-hero-desc {
    margin: 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

.rpt-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rpt-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.74rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.rpt-print-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.rpt-print-btn:hover {
    background: #fff;
}

.rpt-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.rpt-empty i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.rpt-empty h2 {
    margin: 0 0 0.5rem;
    color: var(--navy);
}

.rpt-empty p {
    margin: 0 0 1rem;
    color: #64748b;
}

.rpt-section {
    margin-bottom: 1.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.1rem 1.2rem 1.2rem;
    box-shadow: 0 8px 24px rgba(13, 27, 75, 0.06);
}

.rpt-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e8edf3;
}

.rpt-section-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.rpt-section-title i {
    color: var(--orange);
    font-size: 0.88rem;
    width: 1.1rem;
    text-align: center;
}

.rpt-section-count {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    white-space: nowrap;
}

.rpt-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.rpt-module-card {
    --rpt-accent: var(--navy);
    display: flex;
    flex-direction: column;
    height: 430px;
    min-height: 430px;
    max-height: 430px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(13, 27, 75, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.rpt-module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rpt-accent), color-mix(in srgb, var(--rpt-accent) 55%, #fff));
    z-index: 1;
}

.rpt-module-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 14px 32px rgba(13, 27, 75, 0.12);
}

.rpt-color-navy { --rpt-accent: #0d1b4b; }
.rpt-color-orange { --rpt-accent: #ea580c; }
.rpt-color-blue { --rpt-accent: #2563eb; }
.rpt-color-purple { --rpt-accent: #7c3aed; }
.rpt-color-amber { --rpt-accent: #d97706; }
.rpt-color-teal { --rpt-accent: #0d9488; }
.rpt-color-cyan { --rpt-accent: #0e7490; }
.rpt-color-green { --rpt-accent: #059669; }
.rpt-color-gold { --rpt-accent: #ca8a04; }
.rpt-color-slate { --rpt-accent: #475569; }
.rpt-color-indigo { --rpt-accent: #4f46e5; }

.rpt-module-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.75rem;
    min-height: 72px;
    flex-shrink: 0;
    border-bottom: 1px solid #eef2f7;
    background: rgba(255, 255, 255, 0.85);
}

.rpt-module-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--rpt-accent) 12%, #fff);
    color: var(--rpt-accent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rpt-accent) 18%, transparent);
}

.rpt-module-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rpt-module-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.7rem 0.85rem 0.65rem;
    gap: 0.55rem;
    overflow: hidden;
}

.rpt-module-body--no-breakdown {
    overflow: hidden;
}

.rpt-metrics-panel {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 0.15rem 0;
    scrollbar-width: thin;
}

.rpt-module-footer {
    flex-shrink: 0;
    padding: 0.65rem 0.85rem 0.85rem;
    border-top: 1px solid #eef2f7;
    background: rgba(255, 255, 255, 0.9);
}

.rpt-module-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(13, 27, 75, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rpt-module-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 27, 75, 0.24);
}

.rpt-metrics-table,
.rpt-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.rpt-metrics-table th,
.rpt-metrics-table td,
.rpt-breakdown-table th,
.rpt-breakdown-table td {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    line-height: 1.3;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.rpt-metrics-table tr:last-child th,
.rpt-metrics-table tr:last-child td,
.rpt-breakdown-table tr:last-child th,
.rpt-breakdown-table tr:last-child td {
    border-bottom: none;
}

.rpt-metrics-table th,
.rpt-breakdown-table th {
    width: 58%;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rpt-metrics-table td,
.rpt-breakdown-table td {
    width: 42%;
    font-weight: 800;
    color: var(--navy);
    text-align: right;
    white-space: nowrap;
}

.rpt-breakdown {
    flex-shrink: 0;
    height: 148px;
    min-height: 148px;
    max-height: 148px;
    display: flex;
    flex-direction: column;
}

.rpt-breakdown-title {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.3rem;
    padding: 0 0.15rem;
}

.rpt-breakdown-panel {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    scrollbar-width: thin;
}

.rpt-breakdown-table th,
.rpt-breakdown-table td {
    padding: 0.36rem 0.6rem;
    font-size: 0.72rem;
}

.rpt-breakdown-table th {
    color: #475569;
}

.rpt-breakdown-table td {
    color: var(--rpt-accent, #1e40af);
    font-weight: 800;
}

@media print {
    .admin-sidebar,
    .admin-header,
    .rpt-print-btn,
    .nav-group-footer {
        display: none !important;
    }

    .admin-main {
        margin: 0 !important;
        padding: 0 !important;
    }

    .admin-content {
        padding: 0 !important;
    }

    .rpt-section,
    .rpt-module-card {
        break-inside: avoid;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .rpt-modules-grid {
        grid-template-columns: 1fr;
    }

    .rpt-module-card {
        height: auto;
        min-height: 400px;
        max-height: none;
    }

    .rpt-hero-meta {
        justify-content: flex-start;
        width: 100%;
    }
}

/* Unified Candidate Search */
.is-candidate-search-page {
    max-width: 1200px;
}

.ucs-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0ea5e9 160%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.ucs-hero-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.ucs-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.ucs-hero-title {
    margin: 0 0 0.35rem;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ucs-hero-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    max-width: 38rem;
}

.ucs-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.ucs-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 600;
}

.ucs-search-form {
    margin-bottom: 1.5rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.ucs-search-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem 1rem;
    align-items: end;
}

.ucs-search-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 0.55rem;
}

.ucs-search-input-wrap {
    position: relative;
}

.ucs-search-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.ucs-search-input {
    width: 100%;
    padding: 0.72rem 0.9rem 0.72rem 2.35rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ucs-search-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.ucs-search-btn {
    white-space: nowrap;
}

.ucs-module-filters {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.ucs-filter-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ucs-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ucs-chip {
    cursor: pointer;
}

.ucs-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ucs-chip span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ucs-chip.is-active span,
.ucs-chip input:checked + span {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.ucs-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed #cbd5e1;
}

.ucs-empty i {
    font-size: 2.2rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.ucs-empty h2 {
    margin: 0 0 0.5rem;
    color: var(--navy);
}

.ucs-empty p {
    margin: 0;
    color: #64748b;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.ucs-empty-tip {
    margin-top: 0.65rem !important;
    font-size: 0.88rem;
}

.ucs-module-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.ucs-module-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
}

.ucs-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ucs-summary {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.ucs-summary-count {
    font-weight: 800;
    color: var(--navy);
}

.ucs-section {
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.ucs-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.ucs-section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ucs-section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ucs-section-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.ucs-view-all {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
}

.ucs-view-all:hover {
    text-decoration: underline;
}

.ucs-color-orange .ucs-section-title i { color: #ea580c; }
.ucs-color-teal .ucs-section-title i { color: #0d9488; }
.ucs-color-blue .ucs-section-title i { color: #2563eb; }
.ucs-color-purple .ucs-section-title i { color: #7c3aed; }
.ucs-color-green .ucs-section-title i { color: #16a34a; }
.ucs-color-navy .ucs-section-title i { color: #0f172a; }

.ucs-results-table-wrap {
    overflow-x: auto;
}

.ucs-results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.ucs-results-table th,
.ucs-results-table td {
    padding: 0.65rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.86rem;
}

.ucs-results-table th {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #fff;
}

.ucs-results-table tr:last-child td {
    border-bottom: none;
}

.ucs-name-link {
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

.ucs-name-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

.ucs-contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.82rem;
}

.ucs-contact-line + .ucs-contact-line {
    margin-top: 0.25rem;
}

.ucs-contact-line i {
    color: #94a3b8;
    margin-top: 0.15rem;
    width: 0.85rem;
    flex-shrink: 0;
}

.ucs-cell-meta {
    color: #475569;
    max-width: 16rem;
}

.ucs-cell-date {
    white-space: nowrap;
    color: #64748b;
    font-size: 0.82rem;
}

.ucs-muted {
    color: #94a3b8;
}

.ucs-open-btn {
    white-space: nowrap;
}

.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;
}

@media (max-width: 768px) {
    .ucs-search-row {
        grid-template-columns: 1fr;
    }

    .ucs-search-label {
        padding-bottom: 0;
    }

    .ucs-search-btn {
        width: 100%;
        justify-content: center;
    }
}