/* ============= COMMON CSS VARIABLES AND STYLES ============= */
/* Consolidated styles for all INTARION pages */

/* ========== FONT IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=Open+Sans:wght@400;600&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
    /* Brand Colors */
    --firecore-orange: #FF6A00;
    --wisdom-purple: #6A0DAD;
    --void-black: #0D0D0D;
    --light-white: #FFFFFF;
    --error-red: #ff6b6b;
    --success-green: #4ecdc4;
    --warning-yellow: #ffd93d;
    --badge-gold: #FFD700;
    --badge-orange: #FF8C00;
    --badge-turquoise: #4ecdc4;
    --badge-coral: #ff6b6b;

    /* Theme Variables */
    --bg-primary: #0D0D0D;
    --bg-secondary: rgba(255, 255, 255, 0.05);
    --bg-tertiary: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-orange: #FF6A00;
    --border-primary: rgba(255, 106, 0, 0.2);
    --border-secondary: rgba(255, 106, 0, 0.3);

    /* Typography - Standardized Fonts */
    --font-title: 'Orbitron', sans-serif;        /* Headers, buttons, impact elements */
    --font-text: 'Inter', sans-serif;            /* Body text, paragraphs, labels */
    --font-numeric: 'Roboto Mono', monospace;    /* Numbers, metrics, financial data */

    /* Legacy aliases for backward compatibility */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;

    /* Orbitron Gradient */
    --orbitron-gradient: linear-gradient(50deg, #FF6A00, #FFFFFF);

    /* Font Sizes - Hierarchical Scale (Desktop) */
    --font-size-base: 16px;
    --font-size-h1: 3rem;        /* Main page title */
    --font-size-h2: 2.2rem;      /* Section headers */
    --font-size-h3: 1.6rem;      /* Subsections */
    --font-size-body: 1rem;      /* Standard text */
    --font-size-p: 1.05rem;      /* Paragraphs */
    --font-size-small: 0.9rem;   /* Secondary info */
    --font-size-tiny: 0.875rem;  /* Footnotes */

    /* Font Weights */
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-medium: 500;
    --font-weight-normal: 400;

    /* Gradientes dinâmicos */
    --gradient-primary: linear-gradient(135deg, var(--firecore-orange), var(--wisdom-purple));
    --gradient-success: linear-gradient(135deg, var(--success-green), #00CC66);
    --gradient-warning: linear-gradient(135deg, var(--warning-yellow), #FFA500);

    /* ========== EXTENDED COLOR SYSTEM (for airdrops.html compatibility) ========== */
    /* Orange primary color with opacity variants */
    --color-orange-rgb: 255, 106, 0;
    --color-orange-05: rgba(var(--color-orange-rgb), 0.05);
    --color-orange-1: rgba(var(--color-orange-rgb), 0.1);
    --color-orange-15: rgba(var(--color-orange-rgb), 0.15);
    --color-orange-2: rgba(var(--color-orange-rgb), 0.2);
    --color-orange-3: rgba(var(--color-orange-rgb), 0.3);
    --color-orange-4: rgba(var(--color-orange-rgb), 0.4);
    --color-orange-5: rgba(var(--color-orange-rgb), 0.5);
    --color-orange-6: rgba(var(--color-orange-rgb), 0.6);
    --color-orange-solid: rgb(var(--color-orange-rgb));

    /* Purple secondary color */
    --color-purple-rgb: 106, 13, 173;
    --color-purple-05: rgba(var(--color-purple-rgb), 0.05);
    --color-purple-1: rgba(var(--color-purple-rgb), 0.1);
    --color-purple-15: rgba(var(--color-purple-rgb), 0.15);
    --color-purple-2: rgba(var(--color-purple-rgb), 0.2);
    --color-purple-solid: rgb(var(--color-purple-rgb));

    /* Green status color (active/success) */
    --color-green-rgb: 34, 197, 94;
    --color-green-15: rgba(var(--color-green-rgb), 0.15);
    --color-green-25: rgba(var(--color-green-rgb), 0.25);
    --color-green-35: rgba(var(--color-green-rgb), 0.35);
    --color-green-4: rgba(var(--color-green-rgb), 0.4);
    --color-green-6: rgba(var(--color-green-rgb), 0.6);
    --color-green-dark-rgb: 22, 163, 74;
    --color-green-dark-25: rgba(var(--color-green-dark-rgb), 0.25);
    --color-green-dark-35: rgba(var(--color-green-dark-rgb), 0.35);

    /* Yellow warning color */
    --color-yellow-rgb: 251, 191, 36;
    --color-yellow-15: rgba(var(--color-yellow-rgb), 0.15);
    --color-yellow-25: rgba(var(--color-yellow-rgb), 0.25);
    --color-yellow-3: rgba(var(--color-yellow-rgb), 0.3);
    --color-yellow-4: rgba(var(--color-yellow-rgb), 0.4);
    --color-yellow-65: rgba(var(--color-yellow-rgb), 0.65);
    --color-yellow-dark-rgb: 245, 158, 11;
    --color-yellow-dark-25: rgba(var(--color-yellow-dark-rgb), 0.25);
    --color-yellow-dark-35: rgba(var(--color-yellow-dark-rgb), 0.35);
    --color-yellow-dark-4: rgba(var(--color-yellow-dark-rgb), 0.4);

    /* Red error/ended color */
    --color-red-rgb: 239, 68, 68;
    --color-red-15: rgba(var(--color-red-rgb), 0.15);
    --color-red-25: rgba(var(--color-red-rgb), 0.25);
    --color-red-4: rgba(var(--color-red-rgb), 0.4);
    --color-red-6: rgba(var(--color-red-rgb), 0.6);
    --color-red-dark-rgb: 220, 38, 38;
    --color-red-dark-25: rgba(var(--color-red-dark-rgb), 0.25);
    --color-red-dark-35: rgba(var(--color-red-dark-rgb), 0.35);

    /* Blue info color */
    --color-blue-rgb: 59, 130, 246;
    --color-blue-15: rgba(var(--color-blue-rgb), 0.15);
    --color-blue-25: rgba(var(--color-blue-rgb), 0.25);
    --color-blue-4: rgba(var(--color-blue-rgb), 0.4);
    --color-blue-dark-rgb: 37, 99, 235;
    --color-blue-dark-25: rgba(var(--color-blue-dark-rgb), 0.25);

    /* Common RGBA colors */
    --color-dark-text: rgba(13, 13, 13, 0.9);
    --color-black-1: rgba(0, 0, 0, 0.1);
    --color-black-06: rgba(0, 0, 0, 0.06);

    /* Extended gradients */
    --gradient-orange-purple: linear-gradient(135deg, var(--color-orange-05), var(--color-purple-05));
    --gradient-green: linear-gradient(135deg, var(--color-green-15), var(--color-green-dark-25));
    --gradient-green-light: linear-gradient(135deg, var(--color-green-25), var(--color-green-dark-35));
    --gradient-yellow: linear-gradient(135deg, var(--color-yellow-15), var(--color-yellow-dark-25));
    --gradient-yellow-light: linear-gradient(135deg, var(--color-yellow-25), var(--color-yellow-dark-35));
    --gradient-red: linear-gradient(135deg, var(--color-red-15), var(--color-red-dark-25));
    --gradient-red-light: linear-gradient(135deg, var(--color-red-25), var(--color-red-dark-35));
    --gradient-blue: linear-gradient(135deg, var(--color-blue-15), var(--color-blue-dark-25));

    /* Common shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] {
    /* Core Colors */
    --bg-primary: #F5F5F5;
    --bg-secondary: rgba(255, 255, 255, 0.9);
    --bg-tertiary: rgba(240, 240, 240, 1);
    --text-primary: #0D0D0D;
    --text-secondary: rgba(13, 13, 13, 0.85);
    --text-muted: rgba(13, 13, 13, 0.6);
    --border-primary: rgba(255, 106, 0, 0.4);
    --border-secondary: rgba(255, 106, 0, 0.6);

    /* Component Specific */
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(255, 106, 0, 0.3);
    --dropdown-bg: rgba(255, 255, 255, 0.95);
    --input-bg: rgba(0, 0, 0, 0.05);
    --header-bg: rgba(255, 255, 255, 0.95);

    /* Gradients for light theme - 10% opacity */
    --gradient-orange-purple: linear-gradient(135deg, var(--color-orange-1), var(--color-purple-1));

    /* Keep gradients unchanged */
    --void-black: #F5F5F5;
}

/* ========== LIGHT THEME - PAGE CONTENT ONLY ========== */
/* Theme ONLY affects page content (background, cards, text inside cards) */
/* Header, menus, dropdowns, toasts remain dark */

/* ========== HEADER (Light Theme) ========== */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 106, 0, 0.3);
}

/* Keep orange elements orange */
[data-theme="light"] .page-title {
    color: #FF6A00 !important;
}

[data-theme="light"] .nav-toggle {
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3) !important;
    color: #FF6A00 !important;
}

[data-theme="light"] .nav-toggle:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.5) !important;
}

[data-theme="light"] .nav-toggle svg {
    color: #FF6A00 !important;
    stroke: #FF6A00 !important;
}

[data-theme="light"] .user-info {
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] #userNameDropdown {
    color: rgba(13, 13, 13, 0.95);
}

[data-theme="light"] #userName {
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .user-avatar {
    color: #FF6A00 !important;
    border: 2px solid #FF6A00 !important;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(106, 13, 173, 0.2)) !important;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.3), inset 0 0 10px rgba(255, 106, 0, 0.1) !important;
}

[data-theme="light"] .user-avatar::before {
    background: linear-gradient(45deg, var(--firecore-orange), var(--wisdom-purple)) !important;
}

[data-theme="light"] .menu-btn {
    background: transparent;
    border: none;
    color: #FF6A00 !important;
}

/* ========== MENU DROPDOWN (Light Theme) ========== */
[data-theme="light"] .menu-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .menu-dropdown * {
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .menu-user-info {
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

[data-theme="light"] .menu-dropdown-item {
    color: rgba(13, 13, 13, 0.9);
    background: transparent;
}

[data-theme="light"] .menu-dropdown-item:hover {
    background: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
}

[data-theme="light"] .menu-dropdown-item:hover svg {
    stroke: #FF6A00;
    color: #FF6A00;
}

[data-theme="light"] .menu-dropdown-item.logout-item:hover {
    background: rgba(255, 99, 99, 0.1);
    color: #ff6b6b;
}

[data-theme="light"] #themeIcon svg {
    stroke: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .menu-dropdown-item:hover #themeIcon svg {
    stroke: #FF6A00;
}

[data-theme="light"] .menu-dropdown-separator {
    background: rgba(255, 106, 0, 0.2);
}

/* ========== NAV MENU / SIDEBAR (Light Theme) ========== */
[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .nav-menu * {
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .nav-header {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .nav-close {
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: rgba(13, 13, 13, 0.8);
}

[data-theme="light"] .nav-close:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.5);
    color: #FF6A00;
}

[data-theme="light"] .nav-close svg {
    color: rgba(13, 13, 13, 0.8);
    stroke: rgba(13, 13, 13, 0.8);
}

[data-theme="light"] .nav-close:hover svg {
    color: #FF6A00;
    stroke: #FF6A00;
}

[data-theme="light"] .nav-item {
    color: rgba(13, 13, 13, 0.85);
    background: transparent;
    border-left: 3px solid transparent;
}

[data-theme="light"] .nav-item svg {
    color: rgba(13, 13, 13, 0.85);
    stroke: rgba(13, 13, 13, 0.85);
}

[data-theme="light"] .nav-item:hover {
    background: rgba(255, 106, 0, 0.1);
    border-left-color: rgba(255, 106, 0, 0.5);
    color: #FF6A00;
}

[data-theme="light"] .nav-item:hover svg {
    color: #FF6A00;
    stroke: #FF6A00;
}

[data-theme="light"] .nav-item.active {
    background: rgba(255, 106, 0, 0.15);
    color: #FF6A00;
    border-left-color: #FF6A00;
}

[data-theme="light"] .nav-item.active svg {
    color: #FF6A00;
    stroke: #FF6A00;
}

[data-theme="light"] .nav-icon {
    color: inherit;
    stroke: inherit;
}

[data-theme="light"] .nav-separator {
    background: rgba(255, 106, 0, 0.2);
}

[data-theme="light"] .nav-overlay {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .nav-coming-soon-badge {
    background: rgba(255, 106, 0, 0.15);
    color: rgba(255, 106, 0, 0.9);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

/* ========== USER BADGES ========== */
[data-theme="light"] .user-badge-premium {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.85), rgba(255, 106, 0, 0.9)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 140, 0, 0.8) !important;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3) !important;
}

[data-theme="light"] .user-badge-trial {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.85), rgba(255, 140, 0, 0.9)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 106, 0, 0.8) !important;
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.3) !important;
}

[data-theme="light"] .user-badge-admin,
[data-theme="light"] .user-badge-mod {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.85), rgba(255, 69, 0, 0.9)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 0, 0, 0.8) !important;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3) !important;
}

[data-theme="light"] .user-badge-creator {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.85), rgba(75, 0, 130, 0.9)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(138, 43, 226, 0.8) !important;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3) !important;
}

[data-theme="light"] .user-badge-user {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.75), rgba(56, 163, 165, 0.85)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(78, 205, 196, 0.8) !important;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3) !important;
}

[data-theme="light"] .user-badge-free {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.65), rgba(96, 96, 96, 0.75)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(128, 128, 128, 0.6) !important;
    box-shadow: 0 2px 6px rgba(128, 128, 128, 0.2) !important;
}

/* ========== INVITE QUOTA BADGE ========== */
[data-theme="light"] .invite-quota-badge {
    background: rgba(255, 106, 0, 0.15) !important;
    border: 1px solid rgba(255, 106, 0, 0.4) !important;
    color: #FF6A00 !important;
}

[data-theme="light"] .infinity-symbol {
    color: #FF6A00 !important;
}

/* ========== SOCIAL LINKS (Discord, X) - Keep Orange Always ========== */
[data-theme="light"] .nav-social-link {
    background: rgba(255, 106, 0, 0.1) !important;
    border: 1px solid rgba(255, 106, 0, 0.3) !important;
    color: #FF6A00 !important;
}

[data-theme="light"] .nav-social-link:hover {
    background: rgba(255, 106, 0, 0.2) !important;
    border-color: #FF6A00 !important;
    color: #FF6A00 !important;
    transform: translateY(-2px);
}

[data-theme="light"] .nav-social-link svg {
    fill: #FF6A00 !important;
    color: #FF6A00 !important;
}

[data-theme="light"] .nav-social-link:hover svg {
    fill: #FF6A00 !important;
    color: #FF6A00 !important;
}

[data-theme="light"] .nav-social-title {
    color: rgba(13, 13, 13, 0.7);
}

/* ========== TOAST NOTIFICATIONS ========== */
[data-theme="light"] .toast {
    background: rgba(13, 13, 13, 0.98) !important;
    border: 1px solid rgba(255, 106, 0, 0.3) !important;
}

[data-theme="light"] .toast * {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .toast-content {
    color: #FFFFFF !important;
}

/* Toast close button removed - toasts auto-dismiss */

[data-theme="light"] .toast-success {
    border-color: rgba(78, 205, 196, 0.5) !important;
    background: rgba(13, 13, 13, 0.98) !important;
}

[data-theme="light"] .toast-error {
    border-color: rgba(255, 107, 107, 0.5) !important;
    background: rgba(13, 13, 13, 0.98) !important;
}

[data-theme="light"] .toast-warning {
    border-color: rgba(255, 217, 61, 0.5) !important;
    background: rgba(13, 13, 13, 0.98) !important;
}

[data-theme="light"] .toast-info {
    border-color: rgba(255, 106, 0, 0.5) !important;
    background: rgba(13, 13, 13, 0.98) !important;
}

/* 1. Page Background */
[data-theme="light"] body::before {
    background: radial-gradient(ellipse at center, #F5F5F5 0%, #E8E8E8 100%);
}

/* 2. Holographic Grid - Lighter */
[data-theme="light"] .holo-grid {
    background-image:
        linear-gradient(rgba(255, 106, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.08) 1px, transparent 1px);
}

/* 3. Glass Cards (Light Theme) - Defined in main glass-card section */

/* 4. Dashboard Cards (Light Theme) */
[data-theme="light"] .dashboard-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .dashboard-card:hover {
    border-color: rgba(255, 106, 0, 0.6);
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.2);
}

/* Dashboard card text (titles stay orange - Orbitron) */
[data-theme="light"] .dashboard-card-text {
    color: #0D0D0D;
}

[data-theme="light"] .dashboard-card-subtext {
    color: rgba(13, 13, 13, 0.7);
}

/* 4. Info Items */
[data-theme="light"] .info-item {
    background: var(--color-orange-1);
    border-color: var(--color-orange-3);
}

[data-theme="light"] .info-item:hover {
    border-color: var(--color-orange-5);
    background: var(--color-orange-15);
}

[data-theme="light"] .info-label {
    color: rgba(13, 13, 13, 0.7);
}

[data-theme="light"] .info-value {
    color: #0D0D0D;
}

/* 5. Content Sections */
[data-theme="light"] .content-section {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .content-box {
    background: transparent;
    border-color: rgba(255, 106, 0, 0.3);
}

/* 6. Stat Boxes */
[data-theme="light"] .stat-box {
    background: var(--color-orange-1);
    border: 1px solid var(--color-orange-3);
}

[data-theme="light"] .stat-box:hover {
    border-color: var(--color-orange-5);
    background: var(--color-orange-15);
    box-shadow: 0 10px 30px var(--color-orange-2);
    /* NO transform - stat-boxes are non-clickable */
}

[data-theme="light"] .stat-label {
    color: rgba(13, 13, 13, 0.7);
}

/* 7. Activity Items */
[data-theme="light"] .activity-item {
    background: var(--color-orange-1);
    border-color: var(--color-orange-3);
}

[data-theme="light"] .activity-item:hover {
    border-color: var(--color-orange-5);
    background: var(--color-orange-15);
}

[data-theme="light"] .activity-name {
    color: #0D0D0D;
}

[data-theme="light"] .activity-email {
    color: var(--firecore-orange);
}

/* 8. Page/Settings Specific */
[data-theme="light"] .page-size-section label {
    color: rgba(13, 13, 13, 0.8);
}

[data-theme="light"] .page-size-section select {
    background: rgba(255, 255, 255, 0.9);
    color: #0D0D0D;
    border: 1px solid rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .page-size-section select:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 106, 0, 0.5);
}

[data-theme="light"] .page-size-section select:focus {
    background: #FFFFFF;
    border-color: #FF6A00;
}

[data-theme="light"] .page-size-section select option {
    background: #FFFFFF;
    color: #0D0D0D;
}

[data-theme="light"] .pagination-info {
    color: rgba(13, 13, 13, 0.7);
}

/* 9. Sidebar Buttons (Profile, Settings) */
[data-theme="light"] .sidebar-btn {
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: rgba(13, 13, 13, 0.7);
}

[data-theme="light"] .sidebar-btn:hover {
    border-color: rgba(255, 106, 0, 0.5);
    background: rgba(255, 106, 0, 0.1);
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .sidebar-btn.active {
    border-color: var(--firecore-orange);
    background: rgba(255, 106, 0, 0.15);
    color: #FF6A00;
}

[data-theme="light"] .sidebar-btn svg {
    color: rgba(13, 13, 13, 0.7);
    fill: none;
    stroke: rgba(13, 13, 13, 0.7);
}

[data-theme="light"] .sidebar-btn:hover svg {
    color: rgba(13, 13, 13, 0.9);
    fill: none;
    stroke: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .sidebar-btn.active svg {
    color: #FF6A00;
    fill: none;
    stroke: #FF6A00;
}

/* Common Button Styles */
.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: none;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 8px;
    color: var(--firecore-orange);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-body);
    margin-top: 0.75rem;
}

.btn-orange:hover {
    background: rgba(255, 106, 0, 0.2);
    border-color: rgba(255, 106, 0, 0.5);
    transform: translateY(-2px);
}

.btn-orange svg {
    flex-shrink: 0;
}

.btn-orange.danger {
    background: none;
    border-color: rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.btn-orange.danger:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.5);
}

/* Common Utility Classes */
.hidden {
    display: none !important;
    visibility: hidden !important;
}

/* ========== NUMERIC FORMATTING CLASSES ========== */
/* Apply monospace font to numeric display elements only (not inputs) */
.numeric:not(input),
.price:not(input),
.percentage:not(input),
.amount:not(input),
.health-factor:not(input),
.ltv-value:not(input),
.apy-value:not(input) {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums; /* Equal width numbers */
    letter-spacing: 0.02em; /* Slight spacing for readability */
}

/* Inline Style Replacements */
.retry-btn-danger {
    background: rgba(255, 99, 99, 0.2);
    border: 1px solid rgba(255, 99, 99, 0.5);
}

.flex-center-gap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.invite-code-label {
    margin: 0 0.5rem;
    color: rgba(255,255,255,0.6);
    transform: translateY(-6px);
}

.trial-indicator-hidden {
    display: none;
}

/* Calculator specific styles */
.calc-card-gradient {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(106, 13, 173, 0.1));
    border: 1px solid rgba(255, 106, 0, 0.2);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.2);
}

.logo-container-60 {
    width: 60px;
    height: 60px;
    position: relative;
}

/* Navigation Breadcrumb */
.navigation-breadcrumb {
    position: fixed;
    top: 60px;
    left: 20px;
    background: rgba(255, 106, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 100;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 106, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Tool Cards */
.tool-card {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }

.tool-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.3);
}

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

/* Recent Tools Section */
.recent-tools-section {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 106, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 106, 0, 0.2);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--text-orange);
    margin-bottom: 1rem;
    text-align: center;
}

/* Tools Filter */
.tools-filter {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

/* Dark theme override for filter buttons - no gradient on hover */
html[data-theme="dark"] .filter-btn:not(.bg-orange-500):hover {
    background: rgba(251, 146, 60, 0.3) !important;
    background-image: none !important;
}

html[data-theme="dark"] .filter-btn.bg-orange-500:hover {
    background: rgb(249, 115, 22) !important;
    background-image: none !important;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(106, 13, 173, 0.1));
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

/* Smart Tooltip */
.smart-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 1000;
    pointer-events: none;
    animation: tooltipFadeIn 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

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

/* Enhanced Grid Layout */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .tools-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        max-width: none;
    }
}

/* ============= BODY AND BACKGROUND STYLES ============= */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    min-height: 100vh;
    color: #eaeaea;
    background-color: var(--void-black);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--void-black) 0%, #000000 100%);
    z-index: -10;
}

/* ============= TYPOGRAPHY HIERARCHY ============= */
/* All titles use Orbitron for brand identity */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: #ffffff;
    margin: 0 0 0.5em 0;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

/* Individual heading sizes */
h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
}

/* Body text elements use Inter for readability */
p, span, label, li, a {
    font-family: var(--font-text);
    font-size: var(--font-size-p);
    font-weight: 400;
    line-height: 1.6;
}

/* All inputs use Inter Bold for consistency */
input, select, textarea {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
}

/* Input placeholders use Inter Bold */
input::placeholder,
input::-webkit-input-placeholder,
input::-moz-placeholder,
input:-ms-input-placeholder,
textarea::placeholder,
textarea::-webkit-input-placeholder,
textarea::-moz-placeholder,
textarea:-ms-input-placeholder {
    font-family: var(--font-body);
    font-weight: var(--font-weight-bold);
    opacity: 1;
}

/* Numeric data and metrics use Roboto Mono (display elements only, not inputs) */
.numeric:not(input), .price:not(input), .metric, .metric-value, .apy, .balance {
    font-family: var(--font-numeric);
    font-weight: 500;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

/* Orbitron with Gradient - Global Class */
.orbitron-gradient {
    font-family: var(--font-display);
    background: var(--orbitron-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

p, span, div {
    font-family: var(--font-body);
    color: var(--text-secondary);
}

/* Holographic background grid */
.holo-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 106, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.1) 0%, transparent 70%);
    filter: blur(1px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Mouse follower effect */
.mouse-glow {
    display: none;
}

/* ============= HEADER STYLES ============= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
    padding: 1rem 0;
    z-index: 1000;
}

.header-content {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.nav-toggle {
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: #FF6A00;
    padding: 0.75rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
}


.nav-toggle:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.5);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

.header-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.page-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-orange);
    margin-left: 0.5rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============= NAVIGATION MENU STYLES ============= */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.98);
    border-right: 1px solid rgba(255, 106, 0, 0.3);
    padding: 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.nav-close {
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-close:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.5);
    color: var(--firecore-orange);
}

.nav-menu.collapsed {
    transform: translateX(-100%);
}

/* Overlay escuro quando menu está aberto */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 998;
}

.nav-overlay.collapsed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-item {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: rgba(255, 255, 255, 0.85);
    padding: 1.1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    font-size: 1.05rem;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    margin-bottom: 0.25rem;
    box-sizing: border-box;
    overflow: hidden;
}

/* Locked premium pages */
.nav-item-locked {
    opacity: 0.5;
    cursor: not-allowed !important;
    position: relative;
}

.nav-item-locked:hover {
    background: rgba(255, 106, 0, 0.05) !important;
    border-left-color: rgba(255, 106, 0, 0.2) !important;
}

.nav-item-locked .nav-icon {
    opacity: 0.6;
}

.nav-item-locked .nav-text {
    opacity: 0.7;
}

.nav-lock-icon {
    margin-left: auto;
    opacity: 0.7;
    flex-shrink: 0;
}

.nav-item:hover {
    background: rgba(255, 106, 0, 0.05);
    border-left-color: rgba(255, 106, 0, 0.5);
    color: #FF6A00;
}

.nav-item:hover svg {
    color: #FF6A00;
    stroke: #FF6A00;
}

.nav-item.active {
    background: rgba(255, 106, 0, 0.1);
    color: var(--firecore-orange);
    border-left-color: var(--firecore-orange);
}

.nav-item.active svg {
    color: var(--firecore-orange);
    stroke: var(--firecore-orange);
}

.nav-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.nav-separator {
    height: 1px;
    background: rgba(255, 106, 0, 0.2);
    margin: 0.5rem 1.5rem;
}

.nav-text {
    flex: 1;
    font-weight: 400;
}

.nav-coming-soon-badge {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: rgba(255, 106, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    font-weight: 500;
}

.nav-item.active .nav-text {
    font-weight: 600;
}

.nav-items-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Nav Footer Styles */
.nav-footer {
    margin-top: auto;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.nav-social-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
}

.nav-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 8px;
    color: var(--firecore-orange);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-social-link:hover {
    background: rgba(255, 106, 0, 0.2);
    border-color: var(--firecore-orange);
    transform: translateY(-2px);
}

.nav-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============= HEADER RIGHT SECTION ============= */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.user-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

#userNameDropdown {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
}

/* ============= USER BADGES ============= */
.user-badges {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.user-badge {
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.user-badge-premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 106, 0, 0.2));
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    animation: shimmer 3s ease-in-out infinite;
}

.user-badge-trial {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(255, 140, 0, 0.2));
    color: #FF8C00;
    border: 1px solid rgba(255, 106, 0, 0.4);
    animation: shimmer 3s ease-in-out infinite;
}

.user-badge-free {
    background: rgba(128, 128, 128, 0.15);
    color: #999;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

.user-badge-admin {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 69, 0, 0.2));
    color: #FF6347;
    border: 1px solid rgba(255, 0, 0, 0.4);
    animation: shimmer 3s ease-in-out infinite;
}

.user-badge-mod {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 69, 0, 0.2));
    color: #FF6347;
    border: 1px solid rgba(255, 0, 0, 0.4);
    animation: shimmer 3s ease-in-out infinite;
}

.user-badge-creator {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(75, 0, 130, 0.2));
    color: #BA55D3;
    border: 1px solid rgba(138, 43, 226, 0.4);
    animation: shimmer 3s ease-in-out infinite;
}

.user-badge-user {
    background: rgba(78, 205, 196, 0.15);
    color: var(--success-green);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

/* ============= USER AVATAR ============= */
.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(106, 13, 173, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--firecore-orange);
    border: 2px solid var(--firecore-orange);
    box-shadow:
        0 0 20px rgba(255, 106, 0, 0.3),
        inset 0 0 10px rgba(255, 106, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.user-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--firecore-orange), var(--wisdom-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(255, 106, 0, 0.5),
        inset 0 0 15px rgba(255, 106, 0, 0.2);
}

.user-avatar:hover::before {
    opacity: 0.5;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}

/* ============= MENU DROPDOWN STYLES ============= */
.menu-dropdown-container {
    position: relative;
}

.menu-btn {
    background: transparent;
    border: none;
    color: #FF6A00;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.menu-btn .user-avatar {
    cursor: pointer;
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.menu-user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

.menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.menu-dropdown-item:hover {
    background: rgba(255, 106, 0, 0.05);
    color: #FF6A00;
}

.menu-dropdown-item:hover #themeIcon svg {
    stroke: #FF6A00;
}

.menu-dropdown-separator {
    height: 1px;
    background: rgba(255, 106, 0, 0.2);
    margin: 0.5rem 0;
}

.menu-dropdown-item svg {
    flex-shrink: 0;
}

.menu-dropdown-item.logout-item:hover {
    background: rgba(255, 99, 99, 0.05);
    color: #ff9999;
}

/* Invite Code in Dropdown */
.invite-code-dropdown-container {
    display: flex;
    gap: 0.2rem;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--text-orange);
    letter-spacing: 0.1rem;
}

.invite-code-char-dropdown {
    /* No hover effect on text */
}

.invite-quota-badge {
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid rgba(255, 106, 0, 0.4);
    color: var(--firecore-orange);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: auto;
    white-space: nowrap;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Aumentar apenas o símbolo de infinito */
.infinity-symbol {
    font-size: 1.3rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(1px);
    color: #FF6A00;
}

/* ============= TOAST NOTIFICATION SYSTEM ============= */
.toast-container {
    position: fixed;
    top: 6rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: rgba(13, 13, 13, 0.98);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    animation: slideInRight 0.3s ease;
    transition: all 0.3s ease;
}

.toast.hiding {
    animation: slideOutRight 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    color: var(--light-white);
    font-size: 0.95rem;
}

/* Toast close button removed - toasts auto-dismiss */

.toast-success {
    border-color: rgba(78, 205, 196, 0.5);
    background: rgba(78, 205, 196, 0.1);
}

.toast-error {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(255, 107, 107, 0.1);
}

.toast-warning {
    border-color: rgba(255, 217, 61, 0.5);
    background: rgba(255, 217, 61, 0.1);
}

.toast-info {
    border-color: rgba(255, 106, 0, 0.5);
    background: rgba(255, 106, 0, 0.1);
}

/* ============= DASHBOARD CONTAINER ============= */
/* Header height: ~80px (fixed header with padding and content) + 1rem spacing */
.dashboard-container {
    margin-top: calc(80px + 1rem);
    margin-bottom: 2rem;
}

/* Main Content */
main {
    margin-top: 2rem;
}

/* Content Box */
.content-box {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 0;
    display: none;
    animation: fadeIn 0.3s ease;
    transition: all 0.3s ease;
    min-height: 100%;
    box-sizing: border-box;
    width: 100%;
}

.content-box.active {
    display: block;
}

.content-box h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--light-white);
}

/* Dashboard Cards Grid */
.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ========== GLASS CARD (Non-clickable by default) ========== */
/* Standard card for info display, stats, and non-interactive content */
.glass-card {
    background: var(--color-orange-05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-orange-2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--color-orange-6);
    /* NO transform - non-clickable cards only change border color */
}

/* Light Theme Support for Glass Card */
[data-theme="light"] .glass-card {
    /* Background inherited from inline style or default */
    border: 1px solid var(--color-orange-3);
}

[data-theme="light"] .glass-card:hover {
    border-color: var(--color-orange-5);
    box-shadow: 0 10px 30px var(--color-orange-2);
}

/* Clickable variant of glass-card */
.glass-card--clickable {
    cursor: pointer;
}

.glass-card--clickable:hover {
    border-color: var(--color-orange-6);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--color-orange-15);
}

/* ========== STANDARD INPUT STYLES ========== */
/* Standard input/textarea styling for all pages */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea,
.input-standard,
.crypto-selector {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-orange-3);
    border-radius: 10px;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus,
.input-standard:focus,
.crypto-selector:focus,
.crypto-selector.active {
    outline: none;
    border-color: var(--firecore-orange);
    box-shadow: 0 0 0 2px var(--color-orange-2);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="search"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder,
.input-standard::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Light Theme - White inputs */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="search"],
[data-theme="light"] input[type="number"],
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] .input-standard,
[data-theme="light"] .crypto-selector {
    background: rgba(255, 255, 255, 1);
    border: 1px solid var(--color-orange-3);
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] input[type="text"]:focus,
[data-theme="light"] input[type="email"]:focus,
[data-theme="light"] input[type="password"]:focus,
[data-theme="light"] input[type="search"]:focus,
[data-theme="light"] input[type="number"]:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] .input-standard:focus,
[data-theme="light"] .crypto-selector:focus,
[data-theme="light"] .crypto-selector.active {
    border-color: var(--firecore-orange);
    box-shadow: 0 0 0 2px var(--color-orange-2);
}

[data-theme="light"] input[type="text"]::placeholder,
[data-theme="light"] input[type="email"]::placeholder,
[data-theme="light"] input[type="password"]::placeholder,
[data-theme="light"] input[type="search"]::placeholder,
[data-theme="light"] input[type="number"]::placeholder,
[data-theme="light"] textarea::placeholder,
[data-theme="light"] .input-standard::placeholder {
    color: rgba(13, 13, 13, 0.5);
}

/* ========== DASHBOARD CARD (Clickable by default for backward compatibility) ========== */
/* Legacy card class - kept for backward compatibility */
.dashboard-card {
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.dashboard-card:hover {
    border-color: rgba(255, 106, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.15);
}

.dashboard-card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    color: var(--text-orange);
    margin-bottom: 1rem;
}

.dashboard-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.dashboard-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card-icon svg {
    color: var(--firecore-orange);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dashboard-card:hover .dashboard-card-icon svg {
    opacity: 1;
    transform: scale(1.05);
}

.dashboard-card-text {
    font-size: 1.1rem;
    color: var(--light-white);
    margin-bottom: 0.5rem;
}

.dashboard-card-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Tools Section Grid */
.dashboard-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Strategies Section */
.strategies-section {
    min-width: 0;
}

/* Tools Section */
.tools-section {
    min-width: 0;
}

.strategies-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .dashboard-tools-grid {
        grid-template-columns: 1fr;
    }
}

.action-button {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--firecore-orange);
    border-radius: 8px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}

.action-button:disabled,
.disabled-button {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ========== MODAL SYSTEM ========== */
/* Standard modal overlay and content styles */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: rgba(13, 13, 13, 0.95);
    background-image: var(--gradient-orange-purple);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-orange-2);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin: 1rem;
}

/* Responsive: telas menores */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        padding: 1.25rem;
        margin: 0.5rem;
    }

    .modal-form-group {
        margin-bottom: 1rem;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }
}

[data-theme="light"] .modal-content {
    background: rgba(255, 255, 255, 0.95);
    background-image: var(--gradient-orange-purple);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--firecore-orange);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-form-group {
    margin-bottom: 1.5rem;
}

.modal-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    width: 100%;
    /* Inputs herdam estilos do common.css para suportar tema claro/escuro */
}

.modal-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FF6A00' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.modal-actions .btn-primary {
    min-width: 200px;
    padding: 0.75rem 2rem;
}

/* Profile Page Specific Styles */
#profile-box .info-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Profile & Settings Info List Styles */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-orange-05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-orange-2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--color-orange-3);
    background: var(--color-orange-1);
    /* NO transform - info items are non-clickable displays */
}

.info-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-value {
    font-size: 1rem;
    color: var(--light-white);
    font-weight: 600;
    text-align: right;
}

.info-value.phone {
    letter-spacing: 0.5px;
}

.info-value-muted {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.status-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(78, 205, 196, 0.2);
    color: var(--success-green);
    border: 1px solid rgba(78, 205, 196, 0.4);
}

.status-expired {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    color: rgba(255, 106, 0, 0.7);
    transition: color 0.3s ease;
}

.info-tooltip:hover {
    color: var(--firecore-orange);
}

.info-tooltip[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-30%);
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    font-size: 0.85rem;
    line-height: 1.5;
    border-radius: 8px;
    white-space: normal;
    z-index: 10000;
    pointer-events: none;
    border: 1px solid rgba(255, 106, 0, 0.4);
    width: 280px;
    max-width: calc(100vw - 2rem);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.info-tooltip[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
}

.loading-text {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #ff6b6b;
    font-size: 1rem;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
}

/* ============= GENERIC SIDEBAR + CONTENT LAYOUT ============= */
/* This layout can be used on any page: settings, dashboard, profile, etc. */

/* Main container with sidebar */
.dashboard-container main {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    margin-left: 1rem;
    margin-right: 1rem;
}

/* Left sidebar for navigation icons */
.page-sidebar,
.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 6rem;
    flex-shrink: 0;
    width: 46px;
    margin-left: 0;
}

/* Sidebar navigation buttons */
.sidebar-btn {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    min-width: 46px;
    min-height: 46px;
}

.sidebar-btn:hover {
    border-color: rgba(255, 106, 0, 0.5);
    background: rgba(255, 106, 0, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-btn.active {
    border-color: var(--firecore-orange);
    background: rgba(255, 106, 0, 0.15);
    color: white;
}

.sidebar-btn svg {
    width: 24px;
    height: 24px;
}

/* Content area (right side) */
.page-content,
.settings-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

/* Content sections - only one visible at a time */
.page-section,
.settings-section {
    display: none;
}

.page-section.active,
.settings-section.active {
    display: block;
}

.settings-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.3), transparent);
    margin: 2rem 0;
    width: 100%;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Remove top margin when stats-row comes after h2 */
.settings-section h2 + .stats-row {
    margin-top: 0;
}

.stat-box {
    background: var(--color-orange-05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-orange-2);
    border-radius: 12px;
    padding: 1.5rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--color-orange-3);
    background: var(--color-orange-1);
    /* NO transform - stat-boxes are non-clickable info displays */
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--firecore-orange);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Controls Row (Page Size + Pagination) */
.page-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
}

.page-size-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-size-section label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
}

.page-size-section select {
    padding: 0.6rem 1rem;
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 8px;
    color: var(--light-white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.page-size-section select:hover {
    border-color: var(--firecore-orange);
    background: rgba(13, 13, 13, 0.9);
}

.page-size-section select:focus {
    outline: none;
    border-color: var(--firecore-orange);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

/* Pagination Controls Inline (same row as page size) */
.pagination-controls-inline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.pagination-controls-inline button {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 8px;
    color: var(--firecore-orange);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
    min-width: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-controls-inline button:hover:not(:disabled) {
    border-color: var(--firecore-orange);
    transform: translateY(-2px);
}

.pagination-controls-inline button:disabled {
    cursor: not-allowed;
}

.pagination-controls-inline .pagination-info {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Activity List */
.activity-list {
    min-height: 200px;
    width: 100%;
}

/* Invitations Section */
.invitations-section {
    margin-top: 0;
    width: 100%;
}

/* Override default h2 styles for section headers */
.settings-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-orange);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pagination Controls Bottom */
.pagination-controls-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 0;
    width: 100%;
}

.pagination-controls-bottom button {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 8px;
    color: var(--firecore-orange);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.pagination-controls-bottom button:hover:not(:disabled) {
    border-color: var(--firecore-orange);
    background: rgba(255, 106, 0, 0.1);
    transform: translateY(-2px);
}

.pagination-controls-bottom button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 106, 0, 0.2);
}

.pagination-info {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Activity Items Styles */
.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-orange-05);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-orange-2);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: var(--color-orange-3);
    background: var(--color-orange-1);
    /* NO transform - activity items are non-clickable displays */
}

.activity-user {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.activity-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-white);
}

.activity-email {
    font-size: 1rem;
    color: var(--firecore-orange);
}

.activity-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.activity-badges .user-badge {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
}

/* Activity Status Badges */
.activity-status {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(0, 204, 102, 0.2));
    color: #4ecdc4;
    border: 1px solid rgba(78, 205, 196, 0.4);
}

.activity-trial {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(255, 140, 0, 0.2));
    color: #FF8C00;
    border: 1px solid rgba(255, 106, 0, 0.4);
}

.activity-premium {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 106, 0, 0.2));
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.activity-free {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(128, 128, 128, 0.15);
    color: #999;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

.activity-expired {
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(239, 68, 68, 0.2));
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.pagination-controls button {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 8px;
    color: var(--firecore-orange);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-controls button:hover:not(:disabled) {
    background: rgba(255, 106, 0, 0.2);
    border-color: var(--firecore-orange);
    transform: translateY(-2px);
}

.pagination-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-size-selector label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-size-selector select {
    padding: 0.5rem;
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 6px;
    color: var(--light-white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-size-selector select:hover {
    border-color: var(--firecore-orange);
}

.page-size-selector select:focus {
    outline: none;
    border-color: var(--firecore-orange);
    box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.1);
}

/* Settings Navigation Menu */
.settings-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: rgba(13, 13, 13, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 106, 0, 0.1);
    flex-wrap: wrap;
}

.settings-nav .nav-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-nav .nav-item:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.4);
    color: var(--firecore-orange);
}

.settings-nav .nav-item.active {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--firecore-orange);
    color: var(--firecore-orange);
}

.settings-nav .nav-icon {
    width: 18px;
    height: 18px;
}

/* ============= ANIMATIONS ============= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ============= RESPONSIVE MEDIA QUERIES ============= */
@media (max-width: 768px) {
    .nav-menu {
        width: 85%;
        max-width: 340px;
    }

    .nav-header {
        padding: 1rem 1rem 0.75rem 1rem;
        margin-bottom: 0.75rem;
    }

    .nav-logo-img {
        height: 45px;
    }

    .nav-item {
        padding: 1rem 1.2rem;
        font-size: 1rem;
        gap: 1rem;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }

    .nav-toggle {
        padding: 0.6rem;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .nav-toggle svg {
        width: 22px;
        height: 22px;
    }

    .header-logo {
        height: 42px;
    }

    .page-title {
        font-size: 0.85rem;
        margin-left: 0.3rem;
    }

    .nav-footer {
        padding: 0.75rem 1rem;
    }

    .nav-social-grid {
        gap: 0.5rem;
    }

    .nav-social-title {
        font-size: 0.75rem;
    }

    .nav-social-link {
        width: 32px;
        height: 32px;
    }

    .nav-social-link svg {
        width: 16px;
        height: 16px;
    }

    .header {
        position: relative;
        padding: 0.5rem 0;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding: 0 0.5rem;
        justify-content: space-between;
    }

    .header-right {
        gap: 0.5rem;
    }

    .user-info {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .user-avatar {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .user-info-wrapper {
        gap: 0.2rem;
    }

    #userName {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    #userNameDropdown {
        font-size: 0.9rem;
    }

    .user-badges {
        gap: 0.3rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .menu-user-info {
        gap: 0.6rem;
        padding: 0.6rem;
    }

    .menu-btn {
        padding: 0;
    }

    .dashboard-container {
        margin-top: 1rem;
        max-width: 95vw;
        padding: 0 1rem;
    }

    .toast-container {
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .dashboard-container {
        margin-top: 4rem;
    }

    .dashboard-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    .content-box h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .strategies-buttons {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
    }
}

/* Mobile Small Screens */
@media (max-width: 480px) {
    .dashboard-cards-grid {
        grid-template-columns: 1fr;
    }

    .settings-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .settings-nav .nav-item {
        min-width: auto;
        width: 100%;
    }

    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .activity-badges {
        width: 100%;
        justify-content: flex-start;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pagination-controls button {
        width: 100%;
        max-width: 200px;
    }

    .page-size-selector {
        width: 100%;
        justify-content: center;
    }

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

    .stat-value {
        font-size: 1.5rem;
    }

    .page-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .page-size-section {
        justify-content: center;
    }

    .page-size-section select {
        flex: 1;
        max-width: 200px;
    }

    .pagination-controls-inline {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination-controls-inline button {
        min-width: 80px;
    }

    .settings-divider {
        margin: 1.5rem auto;
    }

    .dashboard-container main {
        flex-direction: column;
    }

    .settings-content {
        margin-right: auto;
        padding: 0;
    }

    .settings-sidebar {
        position: static;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        margin-bottom: 1.5rem;
        margin-left: 0;
    }

    .sidebar-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0.6rem;
    }

    .sidebar-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ============= COMPACT FOOTER (Version Badge) ============= */
.footer-compact {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 999;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-compact {
    color: rgba(13, 13, 13, 0.5);
}

/* ============= SUBSCRIPTION POPUP STYLES ============= */
.subscription-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.subscription-popup-overlay.show {
    opacity: 1;
}

.subscription-popup {
    background: var(--gradient-orange-purple);
    border: 2px solid rgba(255, 106, 0, 0.5);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.subscription-popup-overlay.show .subscription-popup {
    transform: scale(1);
}

.subscription-popup.warning {
    border-color: rgba(255, 217, 61, 0.5);
}

.subscription-popup.error {
    border-color: rgba(255, 107, 107, 0.5);
}

.subscription-popup.info {
    border-color: rgba(78, 205, 196, 0.5);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: rotate(90deg);
}

.popup-content {
    text-align: center;
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.3));
}

.popup-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--firecore-orange);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.popup-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--firecore-orange), var(--wisdom-purple));
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 106, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: rgba(255, 106, 0, 0.5);
    color: white;
}

/* Light Theme Support */
[data-theme="light"] .subscription-popup-overlay {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .subscription-popup {
    background: var(--gradient-orange-purple);
    border: 2px solid rgba(255, 106, 0, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .subscription-popup.warning {
    border-color: rgba(245, 158, 11, 0.6);
}

[data-theme="light"] .subscription-popup.error {
    border-color: rgba(239, 68, 68, 0.6);
}

[data-theme="light"] .subscription-popup.info {
    border-color: rgba(16, 179, 24, 0.6);
}

[data-theme="light"] .popup-icon {
    filter: drop-shadow(0 0 15px rgba(255, 106, 0, 0.2));
}

[data-theme="light"] .popup-title {
    color: var(--firecore-orange);
}

[data-theme="light"] .popup-message {
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .popup-close {
    border-color: rgba(13, 13, 13, 0.3);
    color: rgba(13, 13, 13, 0.7);
}

[data-theme="light"] .popup-close:hover {
    background: rgba(13, 13, 13, 0.1);
    border-color: rgba(13, 13, 13, 0.5);
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, var(--firecore-orange), var(--wisdom-purple));
    color: white;
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .btn-secondary {
    background: transparent;
    color: rgba(13, 13, 13, 0.8);
    border: 2px solid rgba(255, 106, 0, 0.4);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: rgba(255, 106, 0, 0.6);
    color: rgba(13, 13, 13, 0.95);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .subscription-popup {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .popup-icon {
        font-size: 3rem;
    }

    .popup-title {
        font-size: 1.4rem;
    }

    .popup-message {
        font-size: 1rem;
    }

    .popup-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* iOS Safari Compatibility */
@supports (-webkit-touch-callout: none) {
    /* Disable backdrop-filter on iOS Safari (performance issue) */
    .glass-card:not(.pricing-card):not(.faq-item):not(.auth-container):not(.chat-container):not(.history-modal-content):not(.error-container):not(.debug-info):not(.credits):not(.section-card):not(.users-table),
    .header,
    body {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Provide solid background fallback for glass morphism on iOS */
    .glass-card {
        background: var(--color-orange-15) !important;
        border: 1px solid var(--color-orange-3) !important;
    }

    .header {
        background: rgba(13, 13, 13, 0.95) !important;
        border: 1px solid var(--color-orange-2) !important;
    }

    body {
        background: radial-gradient(ellipse at center, #0D0D0D 0%, #000000 100%) !important;
    }

    :root {
        --firecore-orange: #FF6A00 !important;
        --wisdom-purple: #6A0DAD !important;
        --void-black: #0D0D0D !important;
        --light-white: #FFFFFF !important;
        --success-green: #10B318 !important;
        --warning-yellow: #F59E0B !important;
        --danger-red: #EF4444 !important;
    }
}

/* ========================================
   NOTIFICATION BELL & PANEL
   ======================================== */

/* Bell Icon Container */
.notification-bell-wrapper {
    position: relative;
    margin-right: 1rem;
}

.notification-btn {
    background: transparent;
    border: 1px solid var(--color-orange-3);
    color: var(--firecore-orange);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
}

.notification-btn:hover {
    background: var(--color-orange-1);
    border-color: var(--color-orange-5);
}

.notification-btn:focus-visible {
    outline: 2px solid var(--firecore-orange);
    outline-offset: 2px;
}

.notification-btn svg {
    display: block;
    stroke: var(--firecore-orange);
}

/* Light theme support for notification button */
[data-theme="light"] .notification-btn {
    border-color: var(--color-orange-3);
}

[data-theme="light"] .notification-btn:hover {
    background: var(--color-orange-1);
    border-color: var(--color-orange-5);
}

[data-theme="light"] .notification-btn svg {
    stroke: var(--firecore-orange);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--firecore-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-text);
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notification-badge.has-critical {
    background: #dc2626;
    animation: pulse-critical 2s infinite;
}

@keyframes pulse-critical {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Notification Panel Dropdown */
.notification-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 420px;
    max-width: 90vw;
    background: rgba(13, 13, 13, 0.98);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.notification-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Panel Header */
.notification-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
}

.notification-panel-header h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--firecore-orange);
    margin: 0;
}

.mark-all-read-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mark-all-read-btn:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: var(--firecore-orange);
    color: var(--firecore-orange);
}

.mark-all-read-btn svg {
    width: 14px;
    height: 14px;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn-sm {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn-sm:hover {
    background: var(--color-orange-1);
    color: var(--firecore-orange);
}

/* Filters */
.notification-filters {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-text);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 106, 0, 0.05);
    border-color: rgba(255, 106, 0, 0.5);
    color: #FF6A00;
}

.filter-btn.active {
    background: rgba(255, 106, 0, 0.15);
    border-color: #FF6A00;
    color: #FF6A00;
}

/* Notification List */
.notification-list {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: var(--firecore-orange);
}

/* Empty State */
.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.notification-empty svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.notification-empty p {
    font-size: 0.9375rem;
    margin: 0;
}

/* Notification Item */
.notification-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 106, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
}

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

.notification-item:hover {
    background: rgba(255, 106, 0, 0.05);
}

.notification-item.unread {
    background: rgba(255, 106, 0, 0.08);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #FF6A00;
    border-radius: 8px 0 0 8px;
}

/* Notification Icon */
.notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon.info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.notification-icon.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.notification-icon.warning {
    background: rgba(255, 106, 0, 0.15);
    color: var(--firecore-orange);
}

.notification-icon.critical {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
}

/* Notification Content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.notification-title {
    font-family: var(--font-text);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.notification-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.notification-action {
    font-size: 0.875rem;
    color: var(--firecore-orange);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: opacity 0.2s ease;
}

.notification-action:hover {
    opacity: 0.8;
}

/* Close Button */
.notification-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    opacity: 0;
}

.notification-item:hover .notification-close {
    opacity: 1;
}

.notification-close:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

/* Panel Footer */
.notification-panel-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 106, 0, 0.2);
    text-align: center;
}

.settings-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--firecore-orange);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.settings-link:hover {
    background: rgba(255, 106, 0, 0.1);
}

.settings-link svg {
    width: 16px;
    height: 16px;
}

.view-all-link {
    font-size: 0.9375rem;
    color: var(--firecore-orange);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.view-all-link:hover {
    opacity: 0.8;
}

/* Light Theme Adjustments */
[data-theme="light"] .notification-panel {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

[data-theme="light"] .notification-item:hover {
    background: rgba(255, 106, 0, 0.05);
}

[data-theme="light"] .notification-item.unread {
    background: rgba(255, 106, 0, 0.08);
}

[data-theme="light"] .notification-panel-header,
[data-theme="light"] .notification-filters,
[data-theme="light"] .notification-panel-footer {
    border-color: rgba(255, 106, 0, 0.2);
}

[data-theme="light"] .notification-item {
    border-color: rgba(255, 106, 0, 0.1);
}

[data-theme="light"] .filter-btn {
    color: rgba(13, 13, 13, 0.7);
}

[data-theme="light"] .filter-btn:hover {
    color: #FF6A00;
}

[data-theme="light"] .filter-btn.active {
    color: #FF6A00;
}

[data-theme="light"] .notification-title,
[data-theme="light"] .notification-message,
[data-theme="light"] .notification-time {
    color: rgba(13, 13, 13, 0.9);
}

[data-theme="light"] .notification-empty {
    color: rgba(13, 13, 13, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .notification-panel {
        width: 100vw;
        max-width: 100vw;
        right: -1rem;
        border-radius: 1rem 1rem 0 0;
        max-height: 80vh;
    }

    .notification-bell-wrapper {
        margin-right: 0.5rem;
    }
}

/* ============= RESPONSIVE TYPOGRAPHY ============= */
/* Mobile adjustments for better readability */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p, span, label, li, a {
        font-size: 0.95rem;
    }

    .numeric, .price, .metric, .metric-value {
        font-size: 0.9rem;
    }
}
