/* ================================================================
   GALLUP TALENT MANAGER — Luxury Dark Editorial
   ================================================================ */

:root {
    --bg:            #0A0E1A;
    --bg-alt:        #0D1220;
    --sidebar-bg:    #111827;

    --card-bg:       rgba(255,255,255,0.04);
    --card-bg-hover: rgba(255,255,255,0.07);
    --card-border:   rgba(255,255,255,0.08);

    --gold:          #C8930A;
    --gold-bright:   #E5A820;
    --gold-dim:      rgba(200,147,10,0.12);
    --gold-glow:     rgba(200,147,10,0.25);

    --text:          #EAE8E3;
    --text-muted:    rgba(234,232,227,0.55);
    --text-dim:      rgba(234,232,227,0.28);

    --success:       #3BBFB0;
    --success-bg:    rgba(59,191,176,0.10);
    --danger:        #E07878;
    --danger-bg:     rgba(224,120,120,0.10);
    --warning:       #D4A853;
    --warning-bg:    rgba(212,168,83,0.10);
    --info:          #6AABDA;
    --info-bg:       rgba(106,171,218,0.10);

    --border:        rgba(255,255,255,0.08);
    --shadow:        0 8px 32px rgba(0,0,0,0.5);
    --shadow-sm:     0 2px 12px rgba(0,0,0,0.3);
    --shadow-gold:   0 4px 30px rgba(200,147,10,0.12);

    --radius:        10px;
    --radius-sm:     6px;
    --radius-lg:     16px;

    --navbar-h:      70px;
    --sidebar-w:     260px;

    --font-display:  'Playfair Display', Georgia, serif;
    --font-body:     'Inter', -apple-system, sans-serif;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h4, h5, h6, label, button, input, select, textarea {
    font-family: var(--font-body);
}

a { color: inherit; text-decoration: none; }

::selection { background: rgba(200,147,10,0.25); color: var(--text); }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,147,10,0.35); }

/* ================================================================
   PAGE VISIBILITY
   ================================================================ */
.page { display: none; }
.page.active { display: block; }

/* ================================================================
   LOGIN PAGE
   ================================================================ */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* LEFT — brand panel */
.login-left {
    position: relative;
    background: #0C1120;
    color: var(--text);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Decorative concentric rings */
.login-left::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(200,147,10,0.07);
    border-radius: 50%;
    pointer-events: none;
}

.login-left::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(200,147,10,0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* Gold left accent line on brand block */
.login-brand {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.login-brand::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(200,147,10,0.1));
    border-radius: 1px;
}

.brand-icon {
    margin-bottom: 1.5rem;
}

.brand-icon svg path {
    fill: var(--gold);
    stroke: var(--gold);
}

.brand-icon svg circle {
    fill: #0C1120;
}

.login-brand h1 {
    font-size: 2.75rem;
    line-height: 1.1;
    color: var(--text);
    font-weight: 600;
}

.login-brand h1 span {
    color: var(--gold);
    font-style: italic;
}

.login-subtitle {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 340px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* RIGHT — form panel */
.login-right {
    background: var(--bg-alt);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.login-form h2 {
    font-size: 2rem;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 2.25rem;
    font-weight: 300;
}

/* ================================================================
   FORMS
   ================================================================ */
.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C8930A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.form-group select option,
.form-group select optgroup {
    background: #1A2235;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(200,147,10,0.5);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(200,147,10,0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
    font-weight: 300;
}

.form-group small {
    display: block;
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 0.35rem;
    font-weight: 300;
}

.form-group input[type="file"] {
    padding: 0.6rem 1rem;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    padding: 0.72rem 1.4rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #9A6E08 100%);
    color: #080C15;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(200,147,10,0.38);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.09);
    color: var(--text);
    border-color: rgba(255,255,255,0.14);
}

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

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.btn-text:hover { color: var(--text); }

/* ================================================================
   DEMO ACCOUNTS
   ================================================================ */
.demo-accounts {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.demo-title {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.7rem;
}

.demo-grid { display: grid; gap: 0.45rem; }

.demo-btn {
    padding: 0.5rem 0.875rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.demo-btn:hover {
    background: var(--gold-dim);
    border-color: rgba(200,147,10,0.3);
    color: var(--gold-bright);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    background: var(--sidebar-bg);
    /* Gold line at bottom — the signature editorial touch */
    border-bottom: 1px solid rgba(200,147,10,0.3);
    box-shadow: 0 1px 0 rgba(200,147,10,0.08), 0 4px 24px rgba(0,0,0,0.5);
    padding: 0 2rem;
    height: var(--navbar-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.navbar-brand svg path { fill: var(--gold); stroke: var(--gold); }
.navbar-brand svg circle { fill: var(--sidebar-bg); }

.navbar-user {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.user-info { text-align: right; }

.user-name {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text);
}

.user-role {
    display: block;
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 1px;
}

/* ================================================================
   DASHBOARD LAYOUT
   ================================================================ */
.dashboard-container {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: calc(100vh - var(--navbar-h));
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar {
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    padding: 1.5rem 0.75rem;
    position: sticky;
    top: var(--navbar-h);
    height: calc(100vh - var(--navbar-h));
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.1rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.18s ease;
    position: relative;
    /* Gold left bar indicator — hidden by default */
    border-left: 2px solid transparent;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border-left-color: rgba(200,147,10,0.3);
}

.nav-item.active {
    background: var(--gold-dim);
    color: var(--gold-bright);
    border-left: 2px solid var(--gold);
    font-weight: 500;
}

.nav-item.active svg {
    color: var(--gold);
}

/* ================================================================
   MAIN CONTENT
   ================================================================ */
.main-content {
    padding: 2rem 2.5rem 4rem;
    background: var(--bg);
    overflow-y: auto;
}

.content-section { display: none; }
.content-section.active { display: block; }

.section-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.section-header h1 {
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

/* ================================================================
   STATS / KPI GRID
   ================================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* Staggered entrance animation */
@keyframes kpiReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stats-grid .stat-card:nth-child(1) { animation: kpiReveal 0.55s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
.stats-grid .stat-card:nth-child(2) { animation: kpiReveal 0.55s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
.stats-grid .stat-card:nth-child(3) { animation: kpiReveal 0.55s cubic-bezier(0.16,1,0.3,1) 0.25s both; }
.stats-grid .stat-card:nth-child(4) { animation: kpiReveal 0.55s cubic-bezier(0.16,1,0.3,1) 0.35s both; }

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer line on hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,147,10,0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    border-color: rgba(200,147,10,0.28);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.stat-card:hover::after { opacity: 1; }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue   { background: rgba(106,171,218,0.12); color: #8DC4E8; }
.stat-icon.green  { background: rgba(59,191,176,0.12);  color: #6DDDD0; }
.stat-icon.purple { background: rgba(168,130,228,0.12); color: #C4A8F0; }
.stat-icon.orange { background: var(--gold-dim);        color: var(--gold-bright); }

.stat-content h3 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: var(--text);
    letter-spacing: -0.03em;
}

.stat-content p {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 500;
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
}

.card + .card { margin-top: 1.5rem; }

.card h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-weight: 600;
}

/* Decorative rule after card title */
.card h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ================================================================
   QUICK ACTIONS
   ================================================================ */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.action-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-family: var(--font-body);
    color: var(--text);
    position: relative;
    overflow: hidden;
}

/* Gold sweep from bottom on hover */
.action-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.action-card:hover {
    border-color: rgba(200,147,10,0.35);
    background: rgba(200,147,10,0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(200,147,10,0.1);
}

.action-card:hover::before { opacity: 1; }

.action-icon {
    font-size: 2rem;
    margin-bottom: 0.875rem;
    display: block;
}

.action-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.action-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* ================================================================
   TABLES
   ================================================================ */
.table-container { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

thead {
    border-bottom: 1px solid rgba(200,147,10,0.2);
}

th {
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--text-dim);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text);
    font-weight: 300;
    font-size: 0.875rem;
}

tbody tr {
    transition: background 0.12s;
}

tbody tr:hover {
    background: rgba(200,147,10,0.04);
}

tbody tr:last-child td { border-bottom: none; }

/* ================================================================
   MODAL
   ================================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5,8,16,0.8);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal.active .modal-content {
    animation: modalIn 0.22s cubic-bezier(0.16,1,0.3,1) both;
}

.modal-content {
    background: #131A2B;
    border: 1px solid rgba(200,147,10,0.18);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}

.modal-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.3rem;
    color: var(--text);
}

.modal-close {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
    font-family: monospace;
}

.modal-close:hover {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: rgba(224,120,120,0.3);
}

.modal-body { padding: 1.75rem; }

.modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ================================================================
   BADGES
   ================================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.badge-success { background: var(--success-bg); color: var(--success);  border: 1px solid rgba(59,191,176,0.2); }
.badge-warning { background: var(--warning-bg); color: var(--warning);  border: 1px solid rgba(212,168,83,0.2); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger);   border: 1px solid rgba(224,120,120,0.2); }
.badge-info    { background: var(--info-bg);    color: var(--info);     border: 1px solid rgba(106,171,218,0.2); }

/* ================================================================
   ALERTS
   ================================================================ */
.error-message {
    background: var(--danger-bg);
    color: #E8A0A0;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border-left: 3px solid var(--danger);
    font-size: 0.875rem;
    font-weight: 300;
}

.success-message {
    background: var(--success-bg);
    color: var(--success);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border-left: 3px solid var(--success);
    font-size: 0.875rem;
    font-weight: 300;
}

/* ================================================================
   LOADING STATE
   ================================================================ */
.loading {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ================================================================
   FILTERS BAR
   ================================================================ */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.filter-item {
    flex: 1;
    min-width: 140px;
    margin-bottom: 0 !important;
}

.filter-reset { flex: none; }

/* ================================================================
   DETAIL PAGE
   ================================================================ */
.detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.detail-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detail-info-row:last-child { border-bottom: none; }

.detail-info-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.detail-info-value {
    font-weight: 400;
    font-size: 0.9rem;
    text-align: right;
}

.detail-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold-dim);
    border: 1px solid rgba(200,147,10,0.2);
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    margin: 0.2rem 0;
    color: var(--gold-bright);
    font-weight: 400;
}

/* ================================================================
   INLINE STYLE OVERRIDES (from existing HTML inline styles)
   ================================================================ */
[style*="display:flex"][style*="gap:1rem"] {
    gap: 1rem !important;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    background: var(--sidebar-bg) !important;
    border-top: 1px solid rgba(200,147,10,0.15) !important;
    text-align: center;
    padding: 7px !important;
    font-size: 0.68rem !important;
    color: var(--text-dim) !important;
    letter-spacing: 0.06em;
    z-index: 50;
}

/* ================================================================
   CHART CANVAS
   ================================================================ */
#talentRadarChart {
    max-height: 420px;
    filter: saturate(0.75) brightness(0.9);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 768px) {
    .login-container { grid-template-columns: 1fr; }
    .login-left { display: none; }
    .login-right { padding: 2.5rem 1.5rem; }

    .dashboard-container { grid-template-columns: 1fr; }
    .sidebar { display: none; }

    .main-content { padding: 1.25rem 1.25rem 4rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    .navbar { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .quick-actions { grid-template-columns: 1fr; }
    .login-right { padding: 2rem 1.25rem; }
}
