/* ==========================================================================
   리움테크 (Liumtech) Admin Dashboard Stylesheet (Equipment & Member Management)
   ========================================================================== */

:root {
    --primary: #0284c7;
    --primary-light: #e0f2fe;
    --primary-dark: #0369a1;
    --accent: #0d9488;
    --accent-light: #ccfbf1;
    --accent-dark: #0f766e;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --text-main: #0f172a;
    --text-sub: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #cbd5e1;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 10px 30px rgba(15, 23, 42, 0.12);
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f1f5f9;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* Typography & Buttons */
h1, h2, h3, h4 {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Action Button Group */
.action-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-edit-sm {
    padding: 6px 12px;
    border-radius: 8px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    white-space: nowrap;
}

.btn-edit-sm:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.btn-danger-sm {
    padding: 6px 12px;
    border-radius: 8px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
    white-space: nowrap;
}

.btn-danger-sm:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.btn-approve-sm {
    padding: 6px 12px;
    border-radius: 8px;
    background: #10b981;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
}

.btn-approve-sm:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-suspend-sm {
    padding: 6px 12px;
    border-radius: 8px;
    background: #f59e0b;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
    white-space: nowrap;
}

.btn-suspend-sm:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.btn-assign-sm {
    padding: 6px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

.btn-assign-sm:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   Member Status Badges
   ========================================================================== */
.badge-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.badge-status.approved {
    background: #dcfce7;
    color: #166534;
    border: 1.5px solid #86efac;
}

.badge-status.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid #fcd34d;
    animation: pulseGlow 1.5s infinite alternate;
}

.badge-status.suspended {
    background: #fee2e2;
    color: #991b1b;
    border: 1.5px solid #fca5a5;
}

@keyframes pulseGlow {
    from { opacity: 0.8; }
    to { opacity: 1; transform: scale(1.03); }
}

/* ==========================================================================
   Floor & Filter Chips
   ========================================================================== */
.floor-chips-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid #e2e8f0;
}

.floor-chip {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.floor-chip:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.floor-chip.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    font-weight: 800;
}

/* ==========================================================================
   Modal Dialog Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.25s ease;
}

.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 1.35rem;
    color: #0f172a;
    font-weight: 800;
}

.modal-close-btn {
    background: #f1f5f9;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1.5px solid #e2e8f0;
}

/* Bulk Assignment Modal Styles */
.modal-card-wide {
    max-width: 900px !important;
}

.assign-desc-text {
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 16px;
}

.assign-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 14px;
}

.assign-quick-btns {
    display: flex;
    gap: 8px;
}

.btn-subtle-sm {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-subtle-sm:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

.assign-stat-info {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

.assign-search-bar {
    margin-bottom: 14px;
}

.assign-search-bar input {
    width: 100%;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.assign-equip-grid-wrap {
    max-height: 480px;
    overflow-y: auto;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
}

.assign-equip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.assign-equip-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.assign-equip-card:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}

.assign-equip-card.checked {
    border-color: #4f46e5;
    background: #eef2ff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.assign-equip-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4f46e5;
    cursor: pointer;
}

.assign-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.assign-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assign-equip-no {
    font-family: 'Outfit', monospace;
    font-weight: 800;
    font-size: 0.92rem;
    color: #0284c7;
}

.assign-equip-loc {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

.assign-equip-model {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 11px 18px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    font-family: inherit;
    transition: all 0.25s ease;
}

.form-group textarea {
    border-radius: var(--radius-sm);
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   Login Gate Modal
   ========================================================================== */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.login-header .admin-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.login-header .admin-logo span {
    color: var(--accent);
}

.login-header h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.login-hint {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.login-hint code {
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 800;
    color: #0284c7;
}

.login-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.back-link {
    font-size: 0.88rem;
    color: #0284c7;
    text-decoration: none;
    font-weight: 700;
}

/* ==========================================================================
   Admin Header
   ========================================================================== */
.admin-header {
    background: #ffffff;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.admin-header-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0284c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-logo span {
    color: #0d9488;
}

.badge-admin {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user-tag {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.btn-subtle {
    font-size: 0.88rem;
    color: #0284c7;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: #e0f2fe;
    font-weight: 800;
    border: 1px solid #bae6fd;
}

.btn-logout {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: #ef4444;
    color: #ffffff;
}

/* ==========================================================================
   Admin Main & Stats
   ========================================================================== */
.admin-main {
    padding: 32px 24px 60px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1.5px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrap.mint {
    background: #ccfbf1;
    color: #0f766e;
}

.stat-icon-wrap.blue {
    background: #e0f2fe;
    color: #0369a1;
}

.stat-icon-wrap.gold {
    background: #fef3c7;
    color: #b45309;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
}

/* Tabs Navigation */
.admin-tabs-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 12px;
}

.tab-item {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-item:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}

.tab-item.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.badge-count {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Full Width Card */
.admin-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1.5px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
}

.full-width-card {
    width: 100%;
}

.card-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f1f5f9;
}

.title-left h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.title-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-box input {
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    width: 280px;
}

/* ==========================================================================
   Full-Width High-Visibility Table Styles (Single-line Rows)
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    max-height: 720px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    background: #ffffff;
}

.admin-table th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    text-align: left;
    padding: 14px 18px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #0284c7;
}

.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

.admin-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.admin-table tr:hover td {
    background-color: #f0f9ff !important;
}

/* Code / Equipment Number Badge */
.equip-no-badge {
    font-family: 'Outfit', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0284c7;
    background: #f0f9ff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1.5px solid #bae6fd;
    display: inline-block;
    white-space: nowrap;
}

/* Printer Category Badges */
.badge-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
    text-align: center;
}

.badge-tag.copier {
    background: #e0f2fe;
    color: #0369a1;
    border: 1.5px solid #7dd3fc;
}

.badge-tag.printer {
    background: #fef3c7;
    color: #92400e;
    border: 1.5px solid #fcd34d;
}

.badge-tag.plotter {
    background: #fce7f3;
    color: #9d174d;
    border: 1.5px solid #f9a8d4;
}

.badge-tag.pc {
    background: #e0e7ff;
    color: #3730a3;
    border: 1.5px solid #a5b4fc;
}

.badge-urgency {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.badge-urgency.urgent {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.badge-urgency.normal {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

/* Guide Cards */
.guide-card {
    max-width: 840px;
    margin: 0 auto;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.guide-step {
    display: flex;
    gap: 16px;
    background: #f8fafc;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1.5px solid #e2e8f0;
}

.guide-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.guide-step h4 {
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.guide-step p {
    font-size: 0.92rem;
    color: #475569;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .card-title-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .title-right {
        width: 100%;
        justify-content: space-between;
    }
    .search-box input {
        width: 100%;
    }
}

/* ==========================================================================
   Analytics Dashboard & Order Workflow Styles
   ========================================================================== */
.btn-status-change-sm {
    padding: 6px 12px;
    border-radius: 8px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
    white-space: nowrap;
}

.btn-status-change-sm:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.analytics-status-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-mini-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-mini-card.pending {
    border-left: 5px solid #f59e0b;
}

.stat-mini-card.processing {
    border-left: 5px solid #0284c7;
}

.stat-mini-card.completed {
    border-left: 5px solid #10b981;
}

.stat-mini-num {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
}

.stat-mini-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
}

.analytics-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rank-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.rank-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rank-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.rank-bar-bg {
    background: #f1f5f9;
    border-radius: var(--radius-pill);
    height: 10px;
    overflow: hidden;
}

.rank-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
    transition: width 0.6s ease;
}

.rank-bar-fill.accent {
    background: linear-gradient(90deg, #6366f1 0%, #a855f7 100%);
}

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

