/* Nuruni Admin Dashboard - Modern Styles */
/* Color Palette from App Theme */
:root {
    --primary: #2C3E50;
    --primary-light: #3d5166;
    --primary-dark: #1a252f;
    --accent: #E8B25C;
    --accent-light: #f0c77a;
    --accent-dark: #d49b3a;
    --background: #F8F9FA;
    --surface: #FFFFFF;
    --surface-hover: #f1f3f5;
    --text-primary: #2C3E50;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --border: #E9ECEF;
    --border-light: #f1f3f5;
    --success: #27AE60;
    --success-light: #d4edda;
    --error: #E74C3C;
    --error-light: #f8d7da;
    --warning: #F39C12;
    --warning-light: #fff3cd;
    --info: #3498db;
    --info-light: #d1ecf1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Professional Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary);
}

h1 { font-size: 26px; line-height: 1.25; }
h2 { font-size: 20px; line-height: 1.3; }
h3 { font-size: 16px; line-height: 1.4; }
h4 { font-size: 14px; line-height: 1.45; font-weight: 500; }

p { line-height: 1.6; color: var(--text-secondary); }

strong, b { font-weight: 600; }

/* Text utilities */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 16px; }

/* ============ LOGIN SCREEN - Professional Classic Design ============ */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0e8 0%, #ebe4d8 50%, #f0ebe3 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: #fdfcfa;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.15);
    overflow: hidden;
    margin: 20px;
}

.login-branding {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 178, 92, 0.12) 0%, transparent 60%);
    animation: subtleGlow 8s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.branding-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.brand-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, var(--accent) 0%, #D4A84B 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 auto 24px;
    box-shadow: 0 10px 40px rgba(232, 178, 92, 0.4);
}

.login-branding h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.login-branding p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    letter-spacing: 1px;
}

.tagline-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    background: linear-gradient(180deg, #fdfcfa 0%, #f8f5f0 100%);
    position: relative;
}

.login-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(232, 178, 92, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.login-card {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.login-header {
    margin-bottom: 36px;
    text-align: center;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: #1a1a1a;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #adb5bd;
    font-size: 20px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-wrapper input {
    padding-left: 48px;
}

.input-wrapper input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.btn-login {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(145deg, var(--accent) 0%, #D4A84B 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 15px rgba(232, 178, 92, 0.3);
}

.btn-login:hover {
    background: linear-gradient(145deg, #f0c56a 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 178, 92, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login .material-icons-round {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-login:hover .material-icons-round {
    transform: translateX(4px);
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e0dbd4;
}

.login-footer p {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Login form input styles */
.login-card .form-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e0dbd4;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1a1a1a;
}

.login-card .form-group input:focus {
    border-color: var(--primary);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.login-card .form-group input::placeholder {
    color: #6c757d;
}

.login-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive login */
@media (max-width: 900px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .login-branding {
        display: none;
    }

    .login-form-section {
        padding: 50px 30px;
    }

    .login-card::before {
        content: '';
        display: block;
        width: 60px;
        height: 60px;
        background: linear-gradient(145deg, var(--accent) 0%, #D4A84B 100%);
        border-radius: 14px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-card::after {
        content: 'N';
        display: block;
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 28px;
        font-weight: 800;
        color: var(--primary-dark);
    }

    .login-form-section {
        position: relative;
    }

    .login-header {
        margin-top: 60px;
    }
}

/* Legacy support - keep old class working */
.logo-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 16px;
}

.login-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.login-logo p {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 178, 92, 0.15);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 178, 92, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-full { width: 100%; }

.error-text {
    color: var(--error);
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
}

/* ============ DASHBOARD LAYOUT ============ */
.dashboard-container {
    display: flex;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--primary);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-circle-sm {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
    padding: 0 12px;
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    margin-bottom: 4px;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-item.active {
    background: var(--accent);
    color: var(--primary);
    font-weight: 500;
}

.nav-item .material-icons-round {
    font-size: 20px;
}

.nav-badge {
    margin-left: auto;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.nav-badge.warning {
    background: var(--warning);
}

.nav-badge.danger {
    background: var(--error);
}

.nav-item.active .nav-badge {
    background: var(--primary);
    color: white;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.admin-profile-wrapper {
    position: relative;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: -10px -12px;
}

.admin-profile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(145deg, var(--accent) 0%, #D4A84B 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.admin-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.admin-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-role {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.admin-menu-icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
}

.admin-profile-wrapper.active .admin-menu-icon {
    transform: rotate(180deg);
}

/* Admin Dropdown Menu */
.admin-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.admin-profile-wrapper.active .admin-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
}

.admin-dropdown-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, var(--accent) 0%, #D4A84B 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
}

.admin-dropdown-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.admin-dropdown-email {
    font-size: 12px;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Role badges */
.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.badge-super-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-admin {
    background: var(--primary);
    color: white;
}

.badge-moderator {
    background: #6c757d;
    color: white;
}

.admin-dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0;
}

.admin-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
}

.admin-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.admin-dropdown-item .material-icons-round {
    font-size: 20px;
    color: #6c757d;
}

.admin-dropdown-item:hover .material-icons-round {
    color: var(--primary);
}

.admin-dropdown-logout {
    color: #dc3545;
}

.admin-dropdown-logout:hover {
    background: #fff5f5;
    color: #dc3545;
}

.admin-dropdown-logout .material-icons-round {
    color: #dc3545;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu {
    display: none !important;
}

.page-title {
    display: none;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--background);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.search-box .material-icons-round {
    color: var(--text-muted);
    font-size: 20px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 200px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--surface-hover);
    color: var(--primary);
}

.notification-btn {
    position: relative;
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--error);
    border-radius: 50%;
    display: none;
}

.notification-dot.active {
    display: block;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-danger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--error);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-ghost {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: rgba(0,0,0,0.05);
    color: var(--primary);
}

/* Page Content */
.page-content {
    flex: 1;
    padding: 24px 32px;
    overflow-y: auto;
    overflow-x: hidden;
}

.page {
    display: none;
}

.page.active {
    display: block;
    max-width: 100%;
}

/* ============ AI SUMMARY CARD ============ */
.ai-summary-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.ai-header .material-icons-round {
    color: var(--accent);
}

.ai-time {
    margin-left: auto;
    font-weight: 400;
    opacity: 0.7;
    font-size: 12px;
}

.ai-summary-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

.ai-actions {
    margin-top: 16px;
}

.ai-actions .btn-ghost {
    color: rgba(255,255,255,0.8);
}

.ai-actions .btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* ============ STATS GRID ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.stat-icon.users { background: var(--info-light); color: var(--info); }
.stat-icon.active { background: var(--success-light); color: var(--success); }
.stat-icon.matches { background: #fce4ec; color: #e91e63; }
.stat-icon.messages { background: #e3f2fd; color: #1976d2; }
.stat-icon.pending { background: var(--warning-light); color: var(--warning); }

.stat-content {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 4px;
}

.stat-change.positive {
    background: var(--success-light);
    color: var(--success);
}

.stat-change.negative {
    background: var(--error-light);
    color: var(--error);
}

.stat-change.warning {
    background: var(--warning-light);
    color: var(--warning);
}

/* ============ CHARTS ============ */
.charts-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.chart-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    min-height: 300px;
    max-height: 350px;
    display: flex;
    flex-direction: column;
}

.chart-card canvas {
    flex: 1;
    max-height: 280px;
    width: 100% !important;
    height: auto !important;
}

.chart-card.large {
    grid-column: 1 / -1;
    max-height: 400px;
}

.chart-card.large canvas {
    max-height: 320px;
}

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

.chart-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.chart-header select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--surface);
    cursor: pointer;
}

/* ============ CARDS & SECTIONS ============ */
.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.card-actions {
    display: flex;
    gap: 8px;
}

.view-all {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    color: var(--accent-dark);
}

/* Quick Actions */
.quick-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-size: 14px;
    color: var(--text-primary);
}

.quick-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quick-action-btn:hover .material-icons-round {
    color: var(--accent);
}

.quick-action-btn .material-icons-round {
    color: var(--text-secondary);
    font-size: 20px;
}

.action-badge {
    margin-left: auto;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.action-badge.danger {
    background: var(--error);
}

.action-badge.warning {
    background: var(--warning);
}

.quick-action-btn:hover .action-badge {
    background: var(--accent);
    color: var(--primary);
}

/* Activity List */
.activity-list {
    padding: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 36px;
    height: 36px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon .material-icons-round {
    font-size: 18px;
    color: var(--text-secondary);
}

.activity-content {
    flex: 1;
}

.activity-text {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
}

.activity-time {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============ PAGE HEADERS ============ */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header-left h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.page-header-left p {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.filter-group {
    display: flex;
    gap: 8px;
}

.filter-group select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--surface);
    cursor: pointer;
}

/* ============ TABLES ============ */
.table-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.data-table th {
    background: var(--background);
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.data-table tr:hover td {
    background: var(--surface-hover);
}

/* Audit Log Styles */
.audit-action-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary);
}

.loading-cell {
    text-align: center;
    color: var(--text-muted);
    padding: 40px !important;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--background);
}

.user-name {
    font-weight: 500;
    color: var(--primary);
}

.user-id {
    font-size: 12px;
    color: var(--text-muted);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active { background: var(--success-light); color: var(--success); }
.status-badge.suspended { background: var(--warning-light); color: var(--warning); }
.status-badge.banned { background: var(--error-light); color: var(--error); }
.status-badge.pending { background: var(--warning-light); color: var(--warning); }
.status-badge.approved { background: var(--success-light); color: var(--success); }
.status-badge.verified { background: var(--success-light); color: var(--success); display: inline-flex; align-items: center; gap: 4px; }
.status-badge.unverified { background: var(--background); color: var(--text-muted); }

/* Enhanced User Table */
.user-avatar-medium {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.user-avatar-medium:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

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

.user-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.user-age-badge, .user-gender-badge {
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--background);
    color: var(--text-muted);
}

.user-gender-badge {
    font-size: 12px;
}

.user-location-small {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-email-cell {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--text-secondary);
}

.date-cell {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.user-row:hover {
    background: var(--background);
}

/* Icon buttons for table actions */
.btn-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: var(--background);
    color: var(--text-secondary);
}

.btn-icon-small .material-icons-round {
    font-size: 18px;
}

.btn-icon-small.view:hover {
    background: var(--primary);
    color: white;
}

.btn-icon-small.success:hover {
    background: var(--success);
    color: white;
}

.btn-icon-small.warning:hover {
    background: var(--warning);
    color: white;
}

.btn-icon-small.danger:hover {
    background: var(--error);
    color: white;
}

.action-buttons {
    display: flex;
    gap: 6px;
}
.status-badge.rejected { background: var(--error-light); color: var(--error); }
.status-badge.admin { background: var(--primary); color: white; }

/* Enhanced User Details Modal */
.user-details-modal {
    padding: 8px;
}

.user-detail-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.user-avatar-xlarge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid var(--accent);
    transition: var(--transition);
}

.user-avatar-xlarge:hover {
    transform: scale(1.05);
}

.user-detail-info h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: var(--primary);
}

.user-detail-meta {
    display: flex;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.user-detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-badges {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.user-photos-section {
    margin-bottom: 20px;
}

.user-photos-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.user-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.user-photo-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.user-photo-thumb:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.no-photos-msg {
    color: var(--text-muted);
    font-size: 13px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
    text-align: center;
    margin-bottom: 20px;
}

.user-bio-section {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius-md);
}

.user-bio-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.user-bio-text {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

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

.detail-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--background);
    border-radius: var(--radius-md);
}

.detail-stat .material-icons-round {
    color: var(--accent);
    font-size: 24px;
}

.detail-stat .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.detail-stat .stat-value {
    display: block;
    font-weight: 600;
    color: var(--primary);
}

.user-extra-info {
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.user-extra-info .info-item {
    margin-bottom: 8px;
    font-size: 14px;
}

.user-extra-info .info-item:last-child {
    margin-bottom: 0;
}

.user-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.user-modal-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.user-modal-actions .btn .material-icons-round {
    font-size: 18px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm.view { background: var(--info-light); color: var(--info); }
.btn-sm.view:hover { background: var(--info); color: white; }
.btn-sm.suspend { background: var(--warning-light); color: var(--warning); }
.btn-sm.suspend:hover { background: var(--warning); color: white; }
.btn-sm.ban { background: var(--error-light); color: var(--error); }
.btn-sm.ban:hover { background: var(--error); color: white; }
.btn-sm.approve { background: var(--success-light); color: var(--success); }
.btn-sm.approve:hover { background: var(--success); color: white; }
.btn-sm.reject { background: var(--error-light); color: var(--error); }
.btn-sm.reject:hover { background: var(--error); color: white; }

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

.pagination-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination-left label {
    font-weight: 500;
}

.pagination-left select {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 13px;
    cursor: pointer;
}

.pagination-left select:hover {
    border-color: var(--primary);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-info {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.page-info .page-range {
    font-weight: 600;
    color: var(--primary);
}

.page-info .page-total {
    font-weight: 600;
    color: var(--primary);
}

.page-info .page-divider {
    margin: 0 8px;
    color: var(--border);
}

/* ============ MODERATION ============ */
.moderation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.mod-stat-card {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mod-stat-card .material-icons-round {
    font-size: 32px;
}

.mod-stat-card.auto-approved .material-icons-round { color: var(--success); }
.mod-stat-card.needs-review .material-icons-round { color: var(--warning); }
.mod-stat-card.auto-rejected .material-icons-round { color: var(--error); }
.mod-stat-card.ai-confidence .material-icons-round { color: var(--accent); }
.mod-stat-card.content-flags .material-icons-round { color: #e67e22; }

.mod-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.mod-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.moderation-queue {
    padding: 24px;
}

/* Moderation Tabs */
.moderation-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--surface);
    padding: 6px;
    border-radius: var(--radius-lg);
    width: fit-content;
}

.mod-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mod-tab:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.mod-tab.active {
    background: var(--primary);
    color: white;
}

.mod-tab .material-icons-round {
    font-size: 18px;
}

.tab-badge {
    background: var(--error);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.mod-tab.active .tab-badge {
    background: rgba(255, 255, 255, 0.3);
}

/* Moderation Sections */
.mod-section {
    display: none;
}

.mod-section.active {
    display: block;
}

/* Content Flags List */
.content-flags-list {
    padding: 16px;
}

.content-flag-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fafafa;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border-left: 4px solid #ccc;
}

.content-flag-item.risk-high {
    border-left-color: var(--error);
    background: #fff5f5;
}

.content-flag-item.risk-medium {
    border-left-color: var(--warning);
    background: #fffbf0;
}

.content-flag-item.risk-low {
    border-left-color: #3498db;
    background: #f0f8ff;
}

.flag-user-info {
    flex-shrink: 0;
}

.flag-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-dark);
}

img.flag-user-avatar {
    object-fit: cover;
    display: block;
}

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

.flag-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.flag-user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.flag-type-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e9ecef;
    color: #495057;
    text-transform: uppercase;
}

.flag-risk-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.flag-risk-badge.high {
    background: #fee2e2;
    color: #dc2626;
}

.flag-risk-badge.medium {
    background: #fef3c7;
    color: #d97706;
}

.flag-risk-badge.low {
    background: #dbeafe;
    color: #2563eb;
}

.flag-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.flag-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.flag-reason-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 8px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}

.flag-reason-tag .material-icons-round {
    font-size: 14px;
}

.flag-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.flag-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.flag-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.flag-actions button .material-icons-round {
    font-size: 16px;
}

.btn-approve-flag {
    background: var(--success);
    color: white;
}

.btn-approve-flag:hover {
    background: #218838;
}

.btn-reject-flag {
    background: var(--error);
    color: white;
}

.btn-reject-flag:hover {
    background: #c82333;
}

.btn-view-profile {
    background: #e9ecef;
    color: #495057;
}

.btn-view-profile:hover {
    background: #dee2e6;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .material-icons-round {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* ============ VERIFICATIONS GRID ============ */
.verification-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-height: 0;
    padding-bottom: 40px;
}

/* Ensure verificationsPage fills available space */
#verificationsPage.page.active {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

#verificationsPage .page-header {
    flex-shrink: 0;
}

.verification-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.verification-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.verification-images img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    cursor: pointer;
}

.verification-info {
    padding: 16px;
}

.verification-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.verification-user-name {
    font-weight: 600;
    color: var(--primary);
}

.verification-user-id {
    font-size: 12px;
    color: var(--text-muted);
}

.verification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.verification-actions {
    display: flex;
    gap: 8px;
}

.verification-actions button {
    flex: 1;
}

/* ============ REPORTS ============ */
.reports-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.report-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    display: flex;
    gap: 16px;
}

.report-severity {
    width: 4px;
    border-radius: 2px;
}

.report-severity.high { background: var(--error); }
.report-severity.medium { background: var(--warning); }
.report-severity.low { background: var(--info); }

.report-content {
    flex: 1;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.report-type {
    display: inline-block;
    padding: 4px 10px;
    background: var(--background);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.report-time {
    font-size: 12px;
    color: var(--text-muted);
}

.report-users {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.report-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-user-label {
    font-size: 12px;
    color: var(--text-muted);
}

.report-user-name {
    font-size: 14px;
    font-weight: 500;
}

.report-reason {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.report-actions {
    display: flex;
    gap: 8px;
}

/* AI Priority Analysis */
.severity-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.severity-score .material-icons-round {
    font-size: 14px;
}

.ai-analysis-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.ai-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-label .material-icons-round {
    font-size: 14px;
}

.ai-factor {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.ai-factor.critical {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.ai-factor.high {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: #9a3412;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.ai-factor.medium {
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    color: #854d0e;
    border: 1px solid rgba(202, 138, 4, 0.2);
}

.ai-factor.base,
.ai-factor.reason {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #3730a3;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.ai-factor.detailed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ai-factor.urgency,
.ai-factor.emphasis {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #9d174d;
    border: 1px solid rgba(219, 39, 119, 0.2);
}

/* ============ ANALYTICS ============ */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.kpi-trend {
    font-weight: 600;
}

.kpi-trend.positive { color: var(--success); }
.kpi-trend.negative { color: var(--error); }

.kpi-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.kpi-chart {
    height: 40px;
}

/* ============ SAFETY ============ */
.alerts-container {
    margin-bottom: 24px;
}

.alert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.alert-card.warning {
    background: var(--warning-light);
    border-left: 4px solid var(--warning);
}

.alert-card.danger {
    background: var(--error-light);
    border-left: 4px solid var(--error);
}

.alert-card .material-icons-round {
    font-size: 24px;
}

.alert-card.warning .material-icons-round { color: var(--warning); }
.alert-card.danger .material-icons-round { color: var(--error); }

.alert-content {
    flex: 1;
}

.alert-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.alert-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.safety-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.safety-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.safety-header .material-icons-round {
    font-size: 24px;
    color: var(--accent);
}

.safety-header h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.safety-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.safety-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-top: 16px;
    overflow: hidden;
}

.safety-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--success) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ============ SETTINGS ============ */
.settings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
}

.settings-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

/* ============ ENGAGEMENT PAGE ============ */
.engagement-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.engagement-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.engagement-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.engagement-card h3 .material-icons-round {
    font-size: 20px;
    color: var(--accent);
}

/* Phone Preview */
.phone-preview {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.phone-frame {
    width: 280px;
    height: 380px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.statusbar-icons {
    display: flex;
    gap: 4px;
}

.statusbar-icons .material-icons-round {
    font-size: 16px;
}

.notification-banner {
    margin: 20px 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.notif-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

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

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

.notif-header strong {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notif-header span {
    font-size: 11px;
    color: #999;
}

.notif-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-body {
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Audience Stats */
.audience-stats {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 16px;
}

.audience-stats h4 {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reach-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.reach-stat .material-icons-round {
    font-size: 28px;
    color: var(--accent);
}

/* Templates Grid */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.template-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-btn:hover {
    border-color: var(--accent);
    background: rgba(229, 185, 103, 0.1);
}

.template-btn .material-icons-round {
    font-size: 24px;
    color: var(--accent);
}

.template-btn span:last-child {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Notification History */
.notification-history {
    max-height: 200px;
    overflow-y: auto;
}

.empty-history {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-history .material-icons-round {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 8px;
    display: block;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.history-item:last-child {
    border-bottom: none;
}

.history-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.history-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.history-meta {
    text-align: right;
}

.history-meta .sent-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
}

.history-meta .sent-time {
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
}

/* Character count */
.char-count {
    display: block;
    text-align: right;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

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

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .settings-container {
        grid-template-columns: 1fr;
    }
}

.settings-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.setting-description {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setting-control input[type="range"] {
    width: 120px;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: var(--transition);
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-slider {
    background-color: var(--accent);
}

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

/* ============ NOTIFICATION COMPOSER ============ */
.section-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.notification-composer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.notification-composer label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.notification-composer input,
.notification-composer textarea,
.notification-composer select {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition);
}

.notification-composer input:focus,
.notification-composer textarea:focus,
.notification-composer select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 178, 92, 0.15);
}

.notification-composer textarea {
    resize: vertical;
    min-height: 80px;
}

.notification-preview {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 8px;
}

.preview-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.preview-notification {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface);
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.preview-content strong {
    font-size: 14px;
    color: var(--text-primary);
}

.preview-content span {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* ============ MODALS ============ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active,
.modal[style*="display: flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-large {
    width: 90%;
    max-width: 720px;
}

.modal-image {
    background: transparent;
    padding: 0;
}

.modal-image img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
}

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

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.modal-body {
    padding: 24px;
}

/* ============ TOAST NOTIFICATIONS ============ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--info); }

.toast .material-icons-round {
    font-size: 20px;
}

.toast.success .material-icons-round { color: var(--success); }
.toast.error .material-icons-round { color: var(--error); }
.toast.warning .material-icons-round { color: var(--warning); }
.toast.info .material-icons-round { color: var(--info); }

.toast-message {
    flex: 1;
    font-size: 14px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

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

    .main-content {
        margin-left: 0;
    }

    .mobile-menu {
        display: flex;
    }

    .charts-row {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 768px) {
    .top-bar {
        padding: 12px 16px;
    }

    .page-content {
        padding: 16px;
    }

    .search-box {
        display: none;
    }

    .mobile-menu {
        display: flex !important;
    }

    .page-title {
        display: block;
    }

    .page-header {
        flex-direction: column;
    }

    .page-header-right {
        width: 100%;
        flex-wrap: wrap;
    }

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

    .verification-grid {
        flex-direction: column;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column {
        grid-template-columns: 1fr;
    }
}

/* ============ ADDITIONAL UTILITY CLASSES ============ */

/* Activity Icon Colors */
.activity-icon.success { background: var(--success-light); }
.activity-icon.success .material-icons-round { color: var(--success); }
.activity-icon.primary { background: var(--primary); background: rgba(44, 62, 80, 0.1); }
.activity-icon.primary .material-icons-round { color: var(--primary); }
.activity-icon.accent { background: rgba(232, 178, 92, 0.2); }
.activity-icon.accent .material-icons-round { color: var(--accent-dark); }
.activity-icon.warning { background: var(--warning-light); }
.activity-icon.warning .material-icons-round { color: var(--warning); }
.activity-icon.error { background: var(--error-light); }
.activity-icon.error .material-icons-round { color: var(--error); }

/* Toast show animation */
.toast.show {
    animation: slideIn 0.3s ease forwards;
}

/* Mobile sidebar open state */
.sidebar.mobile-open {
    transform: translateX(0);
}

/* AI Summary Styles */
.ai-insight-item {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Moderation Item Styles */
.moderation-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.moderation-item:last-child {
    margin-bottom: 0;
}

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

.moderation-content {
    margin-bottom: 16px;
}

.moderation-content img {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-sm);
}

.moderation-content p {
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.ai-flags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.flag-badge {
    padding: 4px 10px;
    background: var(--warning-light);
    color: var(--warning);
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

.moderation-actions {
    display: flex;
    gap: 8px;
}

.ai-score {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.ai-score.high { background: var(--success-light); color: var(--success); }
.ai-score.medium { background: var(--warning-light); color: var(--warning); }
.ai-score.low { background: var(--error-light); color: var(--error); }

/* Enhanced AI Moderation Styles */
.moderation-type {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.type-badge {
    font-size: 11px;
    padding: 2px 6px;
    background: var(--background);
    border-radius: 4px;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.photo-type-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 4px;
    text-transform: capitalize;
}

.ai-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.ai-score-badge .material-icons-round {
    font-size: 14px;
}

.ai-score-badge.high {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.ai-score-badge.medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.ai-score-badge.low {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.ai-decision-badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-decision-badge.approved {
    background: var(--success-light);
    color: var(--success);
}

.ai-decision-badge.review {
    background: var(--warning-light);
    color: var(--warning);
}

.ai-decision-badge.rejected {
    background: var(--error-light);
    color: var(--error);
}

.moderation-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.moderation-image:hover {
    transform: scale(1.02);
}

.ai-moderation-flags {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 16px;
}

.flags-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 10px;
}

.flags-header .material-icons-round {
    font-size: 16px;
}

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

.flag-item {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    background: white;
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}

.flag-item.high {
    border-left-color: var(--error);
}

.flag-item.medium {
    border-left-color: var(--warning);
}

.flag-item.low {
    border-left-color: var(--info);
}

.flag-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.flag-subcategory {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.flag-confidence {
    font-size: 11px;
    font-weight: 600;
    color: var(--error);
    margin-top: 4px;
}

.ai-safe-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: #065f46;
    margin-bottom: 16px;
}

.ai-safe-badge .material-icons-round {
    font-size: 18px;
}

/* Verification Item Styles */
.verification-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

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

.verification-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.image-box {
    text-align: center;
}

.image-box label {
    display: block;
    padding: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--background);
}

.image-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.verification-actions {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--border);
}

.verification-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Report Item Styles */
.report-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.report-item.high {
    border-left: 4px solid var(--error);
}

.report-item.medium {
    border-left: 4px solid var(--warning);
}

.report-item.low {
    border-left: 4px solid var(--info);
}

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

.report-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.report-type {
    font-weight: 600;
    color: var(--primary);
}

.priority-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge.high { background: var(--error-light); color: var(--error); }
.priority-badge.medium { background: var(--warning-light); color: var(--warning); }
.priority-badge.low { background: var(--info-light); color: var(--info); }

/* SLA Tracking Styles */
.report-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sla-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.sla-badge .material-icons-round {
    font-size: 14px;
}

.sla-badge.ok { background: var(--success-light); color: var(--success); }
.sla-badge.warning { background: #fff8e1; color: #f57c00; }
.sla-badge.critical { background: #fff3e0; color: #e65100; }
.sla-badge.breached { background: var(--error-light); color: var(--error); }
.sla-badge.unknown { background: #f5f5f5; color: #9e9e9e; }

.escalation-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: #ffebee;
    color: #c62828;
}

.escalation-badge .material-icons-round {
    font-size: 14px;
}

.report-item.sla-breached {
    border-left: 4px solid var(--error);
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.05) 0%, transparent 100%);
}

/* SLA Metrics Dashboard */
.sla-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.sla-metric-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.sla-metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.sla-metric-value.good { color: var(--success); }
.sla-metric-value.warning { color: var(--warning); }
.sla-metric-value.bad { color: var(--error); }

.sla-metric-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-users {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.report-users .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-right: 8px;
}

.report-users .arrow {
    color: var(--text-muted);
    font-size: 18px;
}

.report-reason {
    margin-bottom: 8px;
    font-size: 14px;
}

.report-description {
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.report-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.report-actions .btn {
    display: flex;
    align-items: center;
    gap: 4px;
}

.report-actions .btn .material-icons-round {
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-danger-dark {
    background: #8B0000;
    color: white;
}

.btn-danger-dark:hover {
    background: #5C0000;
}

.reported-user-cell {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.reported-user-cell:hover {
    background: var(--surface);
}

.reported-user-cell .view-icon {
    font-size: 16px;
    color: var(--text-muted);
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.reported-user-cell:hover .view-icon {
    opacity: 1;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timestamp {
    font-size: 12px;
    color: var(--text-muted);
}

/* User Avatar Sizes */
.user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.user-email {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============ USER VIEW MODAL ============ */
.user-view-modal {
    padding: 0;
}

.user-view-header {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    color: white;
}

.user-view-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.user-view-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.user-view-avatar:hover {
    transform: scale(1.05);
}

.user-view-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.user-view-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-view-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.user-view-name .admin-tag {
    font-size: 12px;
    background: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
}

.user-view-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 13px;
}

.detail-chip .material-icons-round {
    font-size: 16px;
}

.user-view-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.user-view-location .material-icons-round {
    font-size: 18px;
    opacity: 0.8;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.country-flag {
    font-size: 18px;
}

.country-code {
    opacity: 0.8;
    font-size: 12px;
}

.user-view-email {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.user-view-email .material-icons-round {
    font-size: 16px;
    opacity: 0.8;
}

.user-view-email a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.user-view-email a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Stats Container */
.user-view-stats-container {
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

/* Date Stats Row - Joined & Last Active */
.user-date-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-bottom: 1px solid var(--border);
}

.user-date-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: var(--surface);
}

.user-date-stat .material-icons-round {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.8;
}

.user-date-stat .stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-date-stat .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.user-date-stat .stat-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Numeric Stats Row - Matches, Messages, Reports */
.user-view-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 24px;
}

.user-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.user-stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.user-stat-card .material-icons-round {
    font-size: 28px;
    color: var(--primary);
}

.user-stat-card.warning {
    border-color: var(--error-light);
    background: rgba(231, 76, 60, 0.03);
}

.user-stat-card.warning .material-icons-round {
    color: var(--error);
}

.user-stat-card .stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-stat-card .stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.user-stat-card .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.user-view-section {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.user-view-section:last-of-type {
    border-bottom: none;
}

.user-view-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 16px 0;
}

.user-view-section h4 .material-icons-round {
    font-size: 18px;
}

.user-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.user-photo-item {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.2s;
}

.user-photo-item:hover {
    transform: scale(1.05);
}

.empty-section {
    color: var(--text-muted);
    font-style: italic;
    font-size: 13px;
}

.user-bio-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    background: var(--background);
    padding: 16px;
    border-radius: var(--radius-md);
}

.user-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.detail-label {
    font-size: 13px;
    color: var(--text-muted);
}

.detail-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-primary {
    color: var(--primary);
    font-weight: 600;
}

.text-accent {
    color: var(--accent-dark);
    font-weight: 600;
}

.user-view-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    background: var(--background);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .user-view-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .user-date-stats {
        grid-template-columns: 1fr;
    }

    .user-view-stats {
        grid-template-columns: 1fr;
    }

    .user-details-grid {
        grid-template-columns: 1fr;
    }

    .user-view-actions {
        flex-direction: column;
    }

    .user-view-actions .btn {
        width: 100%;
    }
}

/* Moderation Type */
.moderation-type {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: capitalize;
}

.moderation-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.moderation-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

/* ============ EFFICIENT VERIFICATION LAYOUT ============ */
.verification-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.verification-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.verification-count strong {
    font-size: 18px;
    color: var(--primary);
}

.verification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verification-row {
    display: grid;
    grid-template-columns: 40px 280px 120px 80px 80px 120px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.verification-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.verification-number {
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.verification-user-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.verification-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.verification-avatar:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.verification-user-details {
    flex: 1;
    min-width: 0;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.user-name-row strong {
    color: var(--primary);
    font-size: 14px;
}

.user-age, .user-gender {
    font-size: 12px;
    color: var(--text-muted);
    padding: 2px 6px;
    background: var(--background);
    border-radius: 4px;
}

.user-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.user-email {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-location {
    display: flex;
    align-items: center;
    gap: 2px;
}

.user-location .material-icons-round {
    font-size: 12px;
}

.user-submitted {
    font-size: 11px;
    color: var(--text-muted);
}

.verification-photos {
    display: flex;
    justify-content: center;
}

.photo-stack {
    position: relative;
    width: 80px;
    height: 60px;
}

.stacked-photo {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
    left: calc(var(--stack-index) * 15px);
    z-index: calc(3 - var(--stack-index));
}

.stacked-photo:hover {
    transform: scale(1.2) translateY(-5px);
    z-index: 10;
}

.more-photos {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

.no-photos, .no-selfie {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

.verification-selfie {
    display: flex;
    justify-content: center;
}

.selfie-photo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.selfie-photo:hover {
    transform: scale(1.1);
    border-color: var(--primary);
}

.verification-confidence {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.confidence-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.confidence-circle.high {
    background: var(--success-light);
    color: var(--success);
    border: 2px solid var(--success);
}

.confidence-circle.medium {
    background: var(--warning-light);
    color: var(--warning);
    border: 2px solid var(--warning);
}

.confidence-circle.low {
    background: var(--error-light);
    color: var(--error);
    border: 2px solid var(--error);
}

.confidence-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.verification-actions-compact {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btn .material-icons-round {
    font-size: 18px;
}

.action-btn.approve {
    background: var(--success-light);
    color: var(--success);
}

.action-btn.approve:hover {
    background: var(--success);
    color: white;
}

.action-btn.reject {
    background: var(--error-light);
    color: var(--error);
}

.action-btn.reject:hover {
    background: var(--error);
    color: white;
}

.action-btn.request {
    background: var(--background);
    color: var(--text-secondary);
}

.action-btn.request:hover {
    background: var(--primary);
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Responsive verification layout */
@media (max-width: 1200px) {
    .verification-row {
        grid-template-columns: 30px 1fr 100px 70px 70px 100px;
        gap: 12px;
        padding: 12px 16px;
    }
}

@media (max-width: 900px) {
    .verification-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .verification-number {
        display: none;
    }

    .verification-photos,
    .verification-selfie,
    .verification-confidence {
        justify-content: flex-start;
    }
}

/* Geographic Distribution Chart */
.geo-chart {
    padding: 20px 0;
}

.geo-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.geo-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.geo-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.geo-country {
    font-weight: 500;
    color: var(--text-primary);
}

.geo-users {
    font-size: 13px;
    color: var(--text-secondary);
}

.geo-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.geo-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.geo-percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 35px;
}

/* KPI Cards Enhancement */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

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

.kpi-header span:first-child {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.kpi-trend {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.kpi-trend.positive {
    background: var(--success-light);
    color: var(--success);
}

.kpi-trend.negative {
    background: var(--error-light);
    color: var(--error);
}

.kpi-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.kpi-chart {
    height: 40px;
}

/* Safety Center Enhancement */
.alerts-container {
    margin-bottom: 24px;
}

.alert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.alert-card.warning {
    border-left: 4px solid var(--warning);
}

.alert-card.danger {
    border-left: 4px solid var(--error);
}

.alert-card.info {
    border-left: 4px solid var(--info);
}

.alert-card.success {
    border-left: 4px solid var(--success);
    background: var(--success-light);
}

.alert-card .material-icons-round {
    font-size: 24px;
}

.alert-card.warning .material-icons-round { color: var(--warning); }
.alert-card.danger .material-icons-round { color: var(--error); }
.alert-card.info .material-icons-round { color: var(--info); }
.alert-card.success .material-icons-round { color: var(--success); }

.alert-content {
    flex: 1;
}

.alert-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.alert-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.safety-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.safety-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.safety-header .material-icons-round {
    font-size: 24px;
    color: var(--primary);
}

.safety-header h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.safety-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.safety-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}

.safety-bar-fill {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ============ FAKE PROFILE DETECTION ============ */
.safety-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
}

.section-title .material-icons-round {
    color: var(--primary);
    font-size: 24px;
}

.fake-profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.fp-stat-card {
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius-md);
    text-align: center;
}

.fp-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.fp-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.suspicious-profiles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suspicious-profile-card {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 16px;
    border-left: 4px solid;
}

.suspicious-profile-card.high {
    border-left-color: var(--error);
    background: linear-gradient(135deg, #fef2f2 0%, var(--background) 50%);
}

.suspicious-profile-card.medium {
    border-left-color: var(--warning);
    background: linear-gradient(135deg, #fefce8 0%, var(--background) 50%);
}

.suspicious-profile-card.low {
    border-left-color: var(--info);
}

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

.sp-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.sp-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.sp-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.unverified-badge {
    background: var(--warning-light);
    color: var(--warning);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.sp-score {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.sp-score .material-icons-round {
    font-size: 18px;
}

.sp-score.high {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.sp-score.medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.sp-score.low {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.sp-factors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sp-factor {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    background: white;
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}

.sp-factor.high {
    border-left-color: var(--error);
}

.sp-factor.medium {
    border-left-color: var(--warning);
}

.sp-factor.low {
    border-left-color: var(--info);
}

.factor-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.factor-detail {
    font-size: 10px;
    color: var(--text-muted);
}

.sp-actions {
    display: flex;
    gap: 8px;
}

.loading-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--text-muted);
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============ ANOMALY DETECTION ============ */
.anomaly-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.anomaly-stat-card {
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius-md);
    text-align: center;
}

.anomaly-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.anomaly-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.anomaly-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anomaly-card {
    background: var(--background);
    border-radius: var(--radius-md);
    padding: 16px;
    border-left: 4px solid;
}

.anomaly-card.high {
    border-left-color: var(--error);
    background: linear-gradient(135deg, #fef2f2 0%, var(--background) 50%);
}

.anomaly-card.medium {
    border-left-color: var(--warning);
    background: linear-gradient(135deg, #fefce8 0%, var(--background) 50%);
}

.anomaly-card.low {
    border-left-color: var(--info);
}

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

.anomaly-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.anomaly-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.anomaly-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.anomaly-activity {
    font-size: 11px;
    color: var(--text-muted);
}

.anomaly-score {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 13px;
}

.anomaly-score .material-icons-round {
    font-size: 16px;
}

.anomaly-score.high {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.anomaly-score.medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.anomaly-score.low {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.anomaly-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.anomaly-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}

.anomaly-item.high {
    border-left-color: var(--error);
}

.anomaly-item.medium {
    border-left-color: var(--warning);
}

.anomaly-item.low {
    border-left-color: var(--info);
}

.anomaly-item .material-icons-round {
    font-size: 18px;
    color: var(--text-secondary);
}

.anomaly-item-info {
    display: flex;
    flex-direction: column;
}

.anomaly-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.anomaly-detail {
    font-size: 10px;
    color: var(--text-muted);
}

.anomaly-actions {
    display: flex;
    gap: 8px;
}

/* Behavioral Baseline Anomalies */
.anomaly-item.behavioral {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.08), rgba(52, 152, 219, 0.05));
    border-left: 3px solid #9b59b6;
}

.anomaly-item.behavioral .material-icons-round {
    color: #9b59b6;
}

.anomaly-item.critical {
    background: rgba(231, 76, 60, 0.15);
    border-left: 3px solid #e74c3c;
}

.baseline-badge {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(155, 89, 182, 0.2);
    color: #8e44ad;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle;
}

.anomaly-deviation {
    display: block;
    font-size: 10px;
    color: #8e44ad;
    font-weight: 500;
    margin-top: 2px;
}

/* ============ VERIFICATION TABS ============ */
.verification-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 16px;
}

.verification-tabs {
    display: flex;
    gap: 8px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--background);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--surface-hover);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.tab-btn.active .tab-count {
    background: rgba(255,255,255,0.2);
}

.tab-count.warning {
    background: var(--warning-light);
    color: var(--warning);
}

.tab-count.success {
    background: var(--success-light);
    color: var(--success);
}

.tab-count.danger {
    background: var(--error-light);
    color: var(--error);
}

.tab-btn.active .tab-count.warning,
.tab-btn.active .tab-count.success,
.tab-btn.active .tab-count.danger {
    background: rgba(255,255,255,0.3);
    color: white;
}

.bulk-actions {
    display: flex;
    gap: 10px;
}

/* ============ VERIFICATION LIST - Enhanced Professional Design ============ */
.verification-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.verification-row {
    display: grid;
    grid-template-columns: 50px 1fr 200px 200px 140px 120px;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.verification-row:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.verification-row.approved {
    border-left: 5px solid var(--success);
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.03) 0%, var(--surface) 20%);
}

.verification-row.rejected {
    border-left: 5px solid var(--error);
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.03) 0%, var(--surface) 20%);
}

.verification-row.pending {
    border-left: 5px solid var(--warning);
    background: linear-gradient(90deg, rgba(243, 156, 18, 0.03) 0%, var(--surface) 20%);
}

.verification-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
}

.verification-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.verification-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid var(--background);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.verification-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.verification-user-details {
    flex: 1;
    min-width: 0;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.user-name-row strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-age, .user-gender {
    font-size: 11px;
    padding: 3px 8px;
    background: var(--primary-light);
    border-radius: 6px;
    color: var(--primary);
    font-weight: 500;
}

.verified-badge {
    color: var(--primary);
    font-size: 18px !important;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.user-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--background);
    padding: 4px 10px;
    border-radius: 6px;
}

.user-location .material-icons-round {
    font-size: 14px;
    color: var(--accent);
}

.user-submitted {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Photo comparison section */
.verification-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.verification-photos::before {
    content: 'Profile Photos';
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.photo-stack {
    display: flex;
    position: relative;
    padding-left: 24px;
}

.stacked-photo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--surface);
    margin-left: -20px;
    position: relative;
    z-index: calc(3 - var(--stack-index));
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.stacked-photo:hover {
    transform: scale(1.2) translateY(-4px);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.more-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-light), var(--background));
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-left: -20px;
    border: 3px solid var(--surface);
}

.no-photos, .no-selfie {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    background: var(--background);
    padding: 12px 16px;
    border-radius: 8px;
}

/* Selfie verification section */
.verification-selfie {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.verification-selfie::before {
    content: 'Verification Selfie';
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selfie-photo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid var(--background);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.selfie-photo:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.verification-status-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.confidence-mini {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.confidence-mini.high {
    background: var(--success-light);
    color: var(--success);
}

.confidence-mini.medium {
    background: var(--warning-light);
    color: var(--warning);
}

.confidence-mini.low {
    background: var(--error-light);
    color: var(--error);
}

.face-quality-mini {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--info-light, rgba(52, 152, 219, 0.1));
    color: var(--info, #3498DB);
    margin-top: 4px;
}

.verification-type {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--primary-light);
    color: var(--primary);
    text-transform: capitalize;
}

.rejection-reason {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 6px 10px;
    background: var(--error-light);
    color: var(--error);
    border-radius: 4px;
    font-size: 11px;
    max-width: 300px;
}

.rejection-reason .material-icons-round {
    font-size: 14px;
    flex-shrink: 0;
}

.verification-row.warning {
    border-left: 4px solid var(--info, #3498DB);
}

.verification-actions-compact {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btn .material-icons-round {
    font-size: 18px;
}

.action-btn.approve {
    background: var(--success-light);
    color: var(--success);
}

.action-btn.approve:hover {
    background: var(--success);
    color: white;
}

.action-btn.reject {
    background: var(--error-light);
    color: var(--error);
}

.action-btn.reject:hover {
    background: var(--error);
    color: white;
}

.action-btn.view {
    background: var(--primary-light);
    color: var(--primary);
}

.action-btn.view:hover {
    background: var(--primary);
    color: white;
}

.action-btn.refresh {
    background: var(--info-light, rgba(52, 152, 219, 0.1));
    color: var(--info, #3498DB);
}

.action-btn.refresh:hover {
    background: var(--info, #3498DB);
    color: white;
}

.empty-state.full-width {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
}

/* Verification Pagination */
.verification-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--background);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.pagination-btn .material-icons-round {
    font-size: 20px;
}

.pagination-pages {
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.verification-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}

.items-per-page-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--background);
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
}

/* Responsive verification rows */
@media (max-width: 1200px) {
    .verification-row {
        grid-template-columns: 32px 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
    }

    .verification-user-info {
        grid-column: 2;
    }

    .verification-photos,
    .verification-selfie,
    .verification-status-col,
    .verification-actions-compact {
        grid-column: 2;
    }
}

/* ============ ANALYTICS SECTION ============ */
.analytics-section {
    margin-bottom: 32px;
}

.analytics-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-section h3 .material-icons-round {
    color: var(--accent);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.analytics-card-header h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.analytics-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.analytics-subtext {
    font-size: 13px;
    color: var(--text-muted);
}

.analytics-progress {
    margin-top: 16px;
}

.progress-bar-bg {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-bar-fill.success {
    background: var(--success);
}

.progress-bar-fill.warning {
    background: var(--warning);
}

.progress-bar-fill.error {
    background: var(--error);
}

/* Funnel Analytics */
.funnel-step {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.funnel-step:last-child {
    border-bottom: none;
}

.funnel-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
}

.funnel-info {
    flex: 1;
}

.funnel-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.funnel-value {
    font-size: 12px;
    color: var(--text-muted);
}

.funnel-percent {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.funnel-bar {
    width: 100%;
    margin-top: 8px;
}

/* Retention Grid */
.retention-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.retention-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.retention-cell.high { background: var(--success); }
.retention-cell.medium { background: var(--warning); }
.retention-cell.low { background: var(--error); }

/* Stats Row */
.stats-row {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-item .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Account Status List */
.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--background);
    border-radius: var(--radius-md);
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon.pause { background: var(--warning-light); color: var(--warning); }
.status-icon.delete { background: var(--error-light); color: var(--error); }
.status-icon.reactivate { background: var(--success-light); color: var(--success); }

.status-info {
    flex: 1;
}

.status-reason {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.status-count {
    font-size: 12px;
    color: var(--text-muted);
}

.status-percent {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .verification-header-card {
        flex-direction: column;
        align-items: stretch;
    }

    .verification-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 70px;
        justify-content: center;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* NEW VERIFICATION TABLE LAYOUT */
/* Designed for scalability with millions of users */
/* ============================================ */

.v-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.v-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.v-header th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    border: none;
}

.v-th-compare { width: 220px; }
.v-th-user { width: 180px; }
.v-th-ai { width: 160px; }
.v-th-status { width: 100px; text-align: center; }
.v-th-actions { width: 140px; text-align: center; }

/* Verification Row Styles */
.v-row {
    background: var(--surface);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

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

.v-row:hover {
    background: var(--surface-hover);
}

.v-row td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* Status-based row styling */
.v-row.approved {
    background: linear-gradient(to right, rgba(39, 174, 96, 0.04), transparent);
}

.v-row.approved:hover {
    background: linear-gradient(to right, rgba(39, 174, 96, 0.08), var(--surface-hover));
}

.v-row.rejected {
    background: linear-gradient(to right, rgba(231, 76, 60, 0.04), transparent);
}

.v-row.rejected:hover {
    background: linear-gradient(to right, rgba(231, 76, 60, 0.08), var(--surface-hover));
}

.v-row.pending {
    background: linear-gradient(to right, rgba(243, 156, 18, 0.04), transparent);
}

.v-row.pending:hover {
    background: linear-gradient(to right, rgba(243, 156, 18, 0.08), var(--surface-hover));
}

.v-row.warning {
    background: linear-gradient(to right, rgba(243, 156, 18, 0.06), transparent);
}

/* Photo Comparison Column */
.v-comparison {
    padding: 10px 16px !important;
}

.photo-compare {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-photo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid var(--border);
}

.compare-photo:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.compare-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-photo.profile {
    border-color: var(--info);
}

.compare-photo.selfie {
    border-color: var(--success);
}

.compare-photo.missing {
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--error-light);
    cursor: default;
}

.compare-photo.missing:hover {
    transform: none;
}

.compare-photo.missing .material-icons-round {
    font-size: 28px;
    color: var(--text-muted);
}

.photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 4px 3px;
    text-align: center;
}

.compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.compare-arrow .material-icons-round {
    font-size: 20px;
}

/* User Info Column */
.v-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v-name {
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.v-name:hover {
    color: var(--accent);
}

.v-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.v-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* AI Verification Column */
.ai-verdict {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: var(--border-light);
}

.ai-verdict .material-icons-round {
    font-size: 24px;
}

.ai-verdict.high {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
}

.ai-verdict.high .material-icons-round {
    color: var(--success);
}

.ai-verdict.medium {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
}

.ai-verdict.medium .material-icons-round {
    color: var(--info);
}

.ai-verdict.low {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
}

.ai-verdict.low .material-icons-round {
    color: var(--warning);
}

.ai-verdict.risk {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
}

.ai-verdict.risk .material-icons-round {
    color: var(--error);
}

.ai-verdict.pending {
    background: var(--border-light);
}

.ai-verdict.pending .material-icons-round {
    color: var(--text-muted);
}

/* Liveness Indicator */
.liveness-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: help;
}

.liveness-indicator .material-icons-round {
    font-size: 16px;
}

.liveness-indicator.passed {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success);
}

.liveness-indicator.failed {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error);
}

.liveness-text {
    font-weight: 500;
}

/* AI-Generated Image Indicator */
.ai-generated-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    cursor: help;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(142, 68, 173, 0.1));
    border: 1px solid rgba(155, 89, 182, 0.3);
    color: #8e44ad;
}

.ai-generated-indicator .material-icons-round {
    font-size: 20px;
    color: #9b59b6;
}

.ai-generated-text {
    font-weight: 600;
    flex: 1;
}

.ai-generated-risk {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-generated-risk.high {
    background: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

.ai-generated-risk.medium {
    background: rgba(243, 156, 18, 0.2);
    color: #d68910;
}

.ai-generated-risk.low {
    background: rgba(46, 204, 113, 0.2);
    color: #27ae60;
}

/* LLM Bio Analysis Styles */
.llm-analysis-section {
    margin-top: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(155, 89, 182, 0.05));
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
}

.llm-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #2980b9;
    margin-bottom: 12px;
}

.llm-header .material-icons-round {
    font-size: 18px;
}

.llm-scores {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.llm-score-item {
    flex: 1;
}

.llm-score-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.llm-score-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.llm-score-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.llm-score-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.llm-tone-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.llm-tone-badge .material-icons-round {
    font-size: 14px;
}

.llm-tone-badge.genuine {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.llm-tone-badge.suspicious {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.llm-tone-badge.neutral {
    background: rgba(149, 165, 166, 0.2);
    color: #7f8c8d;
}

.llm-tone-badge.promotional {
    background: rgba(243, 156, 18, 0.15);
    color: #d68910;
}

.llm-recommendation {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.llm-recommendation .material-icons-round {
    font-size: 14px;
}

.llm-recommendation.approve {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.llm-recommendation.review {
    background: rgba(243, 156, 18, 0.15);
    color: #d68910;
}

.llm-recommendation.reject {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.llm-summary {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 8px;
}

.flag-reason-tag.llm-flag {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(142, 68, 173, 0.1));
    border: 1px solid rgba(155, 89, 182, 0.3);
    color: #8e44ad;
}

.ai-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ai-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.ai-score {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Status Badge Column */
.v-status {
    text-align: center;
}

.v-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v-status-badge.approved {
    background: var(--success-light);
    color: var(--success);
}

.v-status-badge.rejected {
    background: var(--error-light);
    color: var(--error);
}

.v-status-badge.pending {
    background: var(--warning-light);
    color: var(--warning);
}

.v-status-badge.warning {
    background: var(--warning-light);
    color: var(--warning);
}

/* Actions Column */
.v-actions {
    text-align: center;
}

.v-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin: 0 2px;
}

.v-btn .material-icons-round {
    font-size: 18px;
}

.v-btn.approve {
    background: var(--success-light);
    color: var(--success);
}

.v-btn.approve:hover {
    background: var(--success);
    color: white;
}

.v-btn.reject {
    background: var(--error-light);
    color: var(--error);
}

.v-btn.reject:hover {
    background: var(--error);
    color: white;
}

.v-btn.retry {
    background: var(--warning-light);
    color: var(--warning);
}

.v-btn.retry:hover {
    background: var(--warning);
    color: white;
}

.v-btn.view {
    background: var(--border-light);
    color: var(--text-secondary);
}

.v-btn.view:hover {
    background: var(--primary);
    color: white;
}

/* Responsive Table */
@media (max-width: 1200px) {
    .v-th-compare { width: 180px; }
    .v-th-user { width: 150px; }
    .v-th-ai { width: 140px; }

    .compare-photo {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 992px) {
    .v-table {
        display: block;
        overflow-x: auto;
    }

    .v-header {
        display: none;
    }

    .v-row {
        display: flex;
        flex-wrap: wrap;
        padding: 12px;
        border-bottom: 1px solid var(--border);
        gap: 12px;
    }

    .v-row td {
        display: flex;
        padding: 0;
    }

    .v-comparison {
        order: 1;
        width: auto !important;
        padding: 0 !important;
    }

    .v-user {
        order: 2;
        flex: 1;
        min-width: 120px;
    }

    .v-ai {
        order: 3;
        width: 100%;
    }

    .v-status {
        order: 4;
        text-align: left;
    }

    .v-actions {
        order: 5;
        text-align: left;
    }
}

/* ============================================ */
/* PROFILE STATUS ANALYTICS CARDS */
/* ============================================ */

.profile-status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.status-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.status-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.status-icon-large {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-icon-large .material-icons-round {
    font-size: 28px;
}

.status-icon-large.warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(243, 156, 18, 0.05));
    color: var(--warning);
}

.status-icon-large.success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.05));
    color: var(--success);
}

.status-icon-large.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.05));
    color: var(--info);
}

.status-icon-large.accent {
    background: linear-gradient(135deg, rgba(232, 178, 92, 0.15), rgba(232, 178, 92, 0.05));
    color: var(--accent-dark);
}

.status-content {
    flex: 1;
}

.status-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.status-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 4px;
}

.status-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Profile Completion Breakdown */
.completion-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breakdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.breakdown-icon .material-icons-round {
    font-size: 18px;
}

.breakdown-icon.complete {
    background: var(--success-light);
    color: var(--success);
}

.breakdown-icon.incomplete {
    background: var(--warning-light);
    color: var(--warning);
}

.breakdown-icon.empty {
    background: var(--error-light);
    color: var(--error);
}

.breakdown-info {
    flex: 1;
}

.breakdown-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.breakdown-bar {
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    margin-top: 4px;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.breakdown-bar-fill.success {
    background: var(--success);
}

.breakdown-bar-fill.warning {
    background: var(--warning);
}

.breakdown-bar-fill.error {
    background: var(--error);
}

.breakdown-stats {
    text-align: right;
    min-width: 80px;
}

.breakdown-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.breakdown-percent {
    font-size: 12px;
    color: var(--text-muted);
}

/* Duration Stats */
.duration-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.duration-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--background);
    border-radius: var(--radius-md);
}

.duration-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.duration-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .profile-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .profile-status-grid {
        grid-template-columns: 1fr;
    }

    .status-card {
        padding: 16px;
    }

    .status-icon-large {
        width: 48px;
        height: 48px;
    }

    .status-value {
        font-size: 24px;
    }
}

/* ============================================ */
/* ACCOUNT DELETIONS ANALYTICS */
/* ============================================ */

.deletion-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.deletion-stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--error);
}

.deletion-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.deletion-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 4px;
}

.deletion-stat-period {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Deletion Reasons List */
.deletion-reasons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deletion-reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--background);
    border-radius: var(--radius-md);
}

.deletion-reason-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--error-light);
    color: var(--error);
    flex-shrink: 0;
}

.deletion-reason-icon .material-icons-round {
    font-size: 16px;
}

.deletion-reason-info {
    flex: 1;
}

.deletion-reason-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.deletion-reason-bar {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.deletion-reason-bar-fill {
    height: 100%;
    background: var(--error);
    border-radius: 2px;
}

.deletion-reason-stats {
    text-align: right;
    min-width: 60px;
}

.deletion-reason-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.deletion-reason-percent {
    font-size: 11px;
    color: var(--text-muted);
}

/* Recent Deletions List */
.recent-deletions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-deletion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.recent-deletion-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--error-light);
    color: var(--error);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.recent-deletion-info {
    flex: 1;
}

.recent-deletion-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.recent-deletion-reason {
    font-size: 11px;
    color: var(--text-muted);
}

.recent-deletion-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============ AI SENTIMENT ANALYSIS ============ */
.sentiment-card {
    margin-top: 16px;
}

.sentiment-card .analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sentiment-card .analytics-card-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.ai-badge .material-icons-round {
    font-size: 12px;
}

.sentiment-empty {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
}

.sentiment-empty .material-icons-round {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.sentiment-empty p {
    margin: 0 0 8px;
    font-weight: 500;
}

.sentiment-empty small {
    opacity: 0.7;
}

.sentiment-overview {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.sentiment-stat {
    text-align: center;
}

.sentiment-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.sentiment-value.positive {
    color: var(--success);
}

.sentiment-value.negative {
    color: var(--error);
}

.sentiment-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.sentiment-breakdown {
    margin-bottom: 20px;
}

.sentiment-breakdown h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sentiment-bar {
    height: 20px;
    background: var(--border-light);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

.sentiment-segment {
    transition: width 0.3s ease;
    min-width: 2px;
}

.sentiment-segment.positive {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.sentiment-segment.neutral {
    background: linear-gradient(135deg, #9ca3af 0%, #d1d5db 100%);
}

.sentiment-segment.negative {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.sentiment-legend {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-item .dot.positive {
    background: #10b981;
}

.legend-item .dot.neutral {
    background: #9ca3af;
}

.legend-item .dot.negative {
    background: #ef4444;
}

.sentiment-themes,
.sentiment-insights,
.sentiment-notable {
    margin-bottom: 16px;
}

.sentiment-themes h5,
.sentiment-insights h5,
.sentiment-notable h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 12px;
}

.theme-name {
    color: #0369a1;
    font-weight: 500;
}

.theme-count {
    background: rgba(59, 130, 246, 0.15);
    color: #0284c7;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

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

.insight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: var(--radius-md);
}

.insight-item .material-icons-round {
    color: #d97706;
    font-size: 18px;
}

.insight-label {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #92400e;
}

.insight-count {
    font-size: 11px;
    color: #b45309;
    background: rgba(234, 179, 8, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

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

.notable-item {
    padding: 12px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-md);
}

.notable-text {
    font-size: 13px;
    color: #991b1b;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 8px;
}

.notable-meta {
    display: flex;
    gap: 6px;
}

.mini-tag {
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
    border-radius: 10px;
}

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

/* ========================================
   REAL-TIME STATUS INDICATOR
   ======================================== */

.realtime-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
}

.realtime-indicator .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9e9e9e;
    animation: pulse 2s infinite;
}

.realtime-indicator .status-dot.connected {
    background: var(--success);
    animation: none;
}

.realtime-indicator .status-dot.reconnecting {
    background: var(--warning);
    animation: pulse 1s infinite;
}

.realtime-indicator .status-dot.disconnected {
    background: var(--error);
    animation: none;
}

.realtime-indicator .status-text {
    color: var(--text-secondary);
}

.realtime-indicator .status-text::before {
    content: '';
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Real-time update flash effect */
.realtime-update {
    animation: flashUpdate 0.5s ease-out;
}

@keyframes flashUpdate {
    0% { background-color: rgba(76, 175, 80, 0.3); }
    100% { background-color: transparent; }
}

/* New item indicator */
.new-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Notification toast for real-time updates */
.realtime-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    z-index: 9999;
    animation: toastSlideIn 0.3s ease-out;
    max-width: 400px;
}

.realtime-toast.warning {
    border-left-color: var(--warning);
}

.realtime-toast.error {
    border-left-color: var(--error);
}

.realtime-toast.success {
    border-left-color: var(--success);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.realtime-toast .toast-icon {
    font-size: 24px;
    color: var(--primary);
}

.realtime-toast.warning .toast-icon { color: var(--warning); }
.realtime-toast.error .toast-icon { color: var(--error); }
.realtime-toast.success .toast-icon { color: var(--success); }

.realtime-toast .toast-content {
    flex: 1;
}

.realtime-toast .toast-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.realtime-toast .toast-message {
    font-size: 13px;
    color: var(--text-secondary);
}

.realtime-toast .toast-close {
    padding: 4px;
    cursor: pointer;
    color: var(--text-secondary);
    border: none;
    background: none;
    font-size: 18px;
}

.realtime-toast .toast-close:hover {
    color: var(--text-primary);
}
