/* DATAPOS - Modern POS System CSS */
/* Base styles inspired by the original app with professional enhancements */

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

:root {
    /* Color Palette */
    --primary-gold: #FFD700;
    --primary-dark: #000000;
    --secondary-dark: #1a1a1a;
    --tertiary-dark: #2a2a2a;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-gold: rgba(255, 215, 0, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Gradients */
    --gradient-gold: linear-gradient(45deg, #FFD700, #FFA500);
    --gradient-dark: linear-gradient(135deg, #000000, #1a1a1a);
    --gradient-subtle: linear-gradient(45deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.05));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Font sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    
    /* Sidebar */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 60px;
    
    /* Animation */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* Main Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: rgba(0, 0, 0, 0.95);
    border-right: 1px solid var(--border-gold);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: all var(--transition-normal);
}

.logo-container {
    padding: var(--space-xl) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.brand-data {
    color: var(--primary-gold);
    font-weight: 800;
    font-size: var(--text-2xl);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.brand-pos {
    color: var(--text-white);
    font-weight: 800;
    font-size: var(--text-2xl);
}

/* Navigation */
.dashboard-nav {
    padding: var(--space-lg) 0;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin: var(--space-xs) var(--space-md);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link i {
    width: 20px;
    margin-right: var(--space-md);
    font-size: var(--text-base);
}

.nav-link:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(4px);
}

.nav-item.active .nav-link {
    background: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

/* Submenu */
.nav-item.has-submenu .submenu-arrow {
    margin-left: auto;
    transition: transform var(--transition-fast);
}

.nav-item.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    margin-left: var(--space-xl);
}

.nav-item.has-submenu.open .submenu {
    max-height: 300px;
}

.submenu li {
    margin: var(--space-xs) 0;
}

.submenu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.submenu a:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
    padding-left: var(--space-lg);
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.dashboard-header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    height: 64px;
}

.branch-selector {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.branch-info {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: var(--text-base);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    border: 1px solid var(--border-gold);
}

.change-branch-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.change-branch-btn:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

.logout-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 50%;
    transition: all var(--transition-fast);
    font-size: var(--text-lg);
}

.logout-btn:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.1);
}

/* Content Area */
.dashboard-content {
    flex: 1;
    padding: var(--space-xl);
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    margin: var(--space-xl);
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
    min-height: calc(100vh - 112px);
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

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

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.header-left {
    flex: 1;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.section-icon {
    background: var(--gradient-gold);
    padding: var(--space-md);
    border-radius: 8px;
    color: var(--primary-dark);
}

.section-header h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* Recipe Stats */
.recipe-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: var(--text-sm);
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
}

.stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stat-dot.yellow {
    background: var(--primary-gold);
}

.stat-dot.black {
    background: var(--text-white);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border: 1px solid var(--border-light);
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-danger {
    background: none;
    color: var(--text-muted);
    border: none;
    padding: var(--space-sm);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-danger:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: all var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.stat-icon {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.stat-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.stat-content p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
}

.stat-change {
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.stat-change.positive {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.stat-change.negative {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.stat-change.neutral {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
}

/* Dashboard Widgets */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

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

.widget-header h3 {
    font-size: var(--text-lg);
    font-weight: 600;
}

.widget-action {
    background: none;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.widget-action:hover {
    background: rgba(255, 215, 0, 0.1);
}

.widget-content {
    padding: var(--space-lg);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.activity-icon {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.activity-content p {
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
}

.activity-time {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* Popular Products */
.popular-products {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.product-info h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.product-info p {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.product-revenue {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: var(--text-base);
}

/* Controls Panel */
.controls-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    justify-content: space-between;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-white);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.filters-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.filter-select {
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-white);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.filter-select option {
    background: var(--secondary-dark);
    color: var(--text-white);
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.view-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.view-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

/* Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.recipe-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-gold);
}

.recipe-header {
    position: relative;
    height: 160px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-image {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect width="400" height="200" fill="%23FFD700"/><circle cx="200" cy="100" r="30" fill="%23000" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.recipe-title {
    position: relative;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: var(--text-lg);
    text-align: center;
    padding: 0 var(--space-md);
    z-index: 2;
}

.recipe-status {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    z-index: 3;
}

.recipe-status.producto {
    background: rgba(255, 215, 0, 0.2);
    color: #b45309;
    backdrop-filter: blur(10px);
}

.recipe-status.base {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.recipe-content {
    padding: var(--space-lg);
}

.recipe-description {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recipe-category {
    margin-bottom: var(--space-md);
}

.category-tag {
    background: rgba(255, 215, 0, 0.1);
    color: #d97706;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.recipe-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.metric {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.metric.cost {
    grid-column: 1 / -1;
    color: var(--primary-gold);
    font-weight: 600;
}

.recipe-date {
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin-bottom: var(--space-md);
}

.recipe-actions {
    display: flex;
    gap: var(--space-sm);
}

.recipe-actions .btn-secondary,
.recipe-actions .btn-primary {
    flex: 1;
    justify-content: center;
}

.recipe-actions .btn-danger {
    flex: 0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Statistics Panel */
.statistics-panel {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.panel-icon {
    background: var(--gradient-gold);
    padding: var(--space-sm);
    border-radius: 8px;
    color: var(--primary-dark);
}

.panel-title h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-white);
}

.panel-info {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-content .stat-label {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.stat-content .stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-white);
}

.stat-content .stat-value.yellow {
    color: var(--primary-gold);
}

.stat-box .stat-icon {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-muted);
}

.coming-soon i {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-gold);
}

.coming-soon h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--text-white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .controls-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: none;
    }
    
    .filters-container {
        justify-content: center;
    }
    
    .recipes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--space-lg);
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        margin: var(--space-md);
        padding: var(--space-lg);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }
    
    .header-content {
        padding: 0 var(--space-md);
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .branch-selector {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .user-info {
        order: 1;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .recipe-metrics {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .recipe-actions {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-top: 2px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.fade-in {
    animation: fadeIn var(--transition-normal);
}

.slide-up {
    animation: slideUp var(--transition-normal);
}

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