/* ============================================
   FIN4ME - Modern Finance App Styles
   Design ispirato al Gantt v2 di NXworld
   ============================================ */

:root {
    /* Primary Colors - Emerald Theme */
    --primary: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    
    /* Accent Colors */
    --accent: #6366f1;
    --accent-light: #818cf8;
    
    /* Semantic Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.fin-navbar {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 0 24px;
    height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: block;
}

.fin-navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.fin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.fin-brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.fin-brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.fin-brand-accent {
    color: var(--primary-light);
}

.fin-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.fin-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    background: transparent;
    border: none;
    cursor: pointer;
}

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

.fin-nav-link.active {
    color: white;
    background: var(--primary);
}

.fin-nav-link i {
    font-size: 0.95rem;
}

/* Dropdown */
.fin-dropdown {
    position: relative;
}

.fin-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    margin-top: 4px;
}

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

.fin-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.fin-dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.fin-dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--gray-400);
}

.fin-dropdown-item:hover i {
    color: var(--primary);
}

.fin-dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: var(--transition-fast);
}

.fin-dropdown:hover .fin-dropdown-arrow {
    transform: rotate(180deg);
}

/* Quick Add Button */
.fin-quick-add {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.fin-quick-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
    color: white;
}

/* User Menu */
.fin-user-menu {
    position: relative;
    margin-left: auto;
}

.fin-user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.fin-user-toggle:hover {
    background: rgba(255,255,255,0.15);
}

.fin-user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.fin-user-avatar-lg {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.fin-user-name {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.fin-user-toggle i {
    color: var(--gray-400);
    font-size: 0.7rem;
}

.fin-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 16px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

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

.fin-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
}

.fin-user-fullname {
    font-weight: 700;
    color: var(--gray-800);
}

.fin-user-email {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.fin-user-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

.fin-user-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.fin-user-action:hover {
    background: var(--gray-100);
}

.fin-user-action.logout {
    color: var(--danger);
}

.fin-user-action.logout:hover {
    background: #fee2e2;
}

.user-avatar-lg {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.user-fullname {
    font-weight: 700;
    color: var(--gray-800);
}

.user-email {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding-top: 80px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.main-content.no-navbar {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 28px 36px;
    margin: 0 24px 28px;
    color: white;
    box-shadow: var(--shadow-lg), 0 4px 20px rgba(5, 150, 105, 0.25);
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header .subtitle {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: none;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-100);
    padding: 20px 24px;
    font-weight: 700;
    color: var(--gray-800);
}

.card-body {
    padding: 24px;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--stat-color, var(--primary));
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.stat-card.income { --stat-color: var(--success); }
.stat-card.expense { --stat-color: var(--danger); }
.stat-card.balance { --stat-color: var(--primary); }
.stat-card.count { --stat-color: var(--info); }

/* ===== EXPENSE LIST ===== */
.expense-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}

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

.expense-item:hover {
    background: var(--gray-50);
}

.expense-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.expense-info {
    flex: 1;
    margin-left: 16px;
    min-width: 0;
}

.expense-description {
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expense-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

.expense-amount {
    font-weight: 700;
    font-size: 1.1rem;
    text-align: right;
}

.expense-amount.negative {
    color: var(--danger);
}

.expense-amount.positive {
    color: var(--success);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
    color: white;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

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

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary-dark);
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* ===== CATEGORY CHIP ===== */
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}

.category-chip i {
    font-size: 0.9rem;
}

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

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

.table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-link:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.page-link.active {
    background: var(--primary);
    color: white;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--gray-400);
}

.toast-notification.success { border-left-color: var(--success); }
.toast-notification.danger { border-left-color: var(--danger); }
.toast-notification.warning { border-left-color: var(--warning); }
.toast-notification.info { border-left-color: var(--info); }

.toast-notification i {
    font-size: 1.1rem;
}

.toast-notification.success i { color: var(--success); }
.toast-notification.danger i { color: var(--danger); }
.toast-notification.warning i { color: var(--warning); }
.toast-notification.info i { color: var(--info); }

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

.toast-close i {
    pointer-events: none;
}

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

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 8px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 24px 24px 0 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.add-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    margin-top: -28px;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
    padding: 0;
    justify-content: center;
}

.mobile-nav-item.add-btn i {
    font-size: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .fin-nav {
        display: none;
    }
    
    .fin-quick-add span {
        display: none;
    }
    
    .fin-quick-add {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .fin-navbar {
        padding: 0 16px;
        height: 60px;
    }
    
    .page-header {
        margin: 0 16px 20px;
        padding: 20px 24px;
        border-radius: var(--radius-lg);
    }
    
    .page-header h1 {
        font-size: 1.4rem;
    }
    
    .main-content {
        padding-top: 76px;
        padding-bottom: 90px;
    }
    
    .mobile-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .fin-quick-add {
        display: none;
    }
    
    .fin-user-name {
        display: none;
    }
    
    .stat-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .fin-brand-text {
        display: none;
    }
    
    .stat-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 24px;
}

.stat-grid {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* ===== CHART CONTAINER ===== */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* ===== LOADING ===== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== COLOR PICKER INPUT ===== */
input[type="color"] {
    width: 60px;
    height: 40px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 4px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

/* ===== QUICK ADD MODAL ===== */
.quick-add-form {
    padding: 24px;
}

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

.amount-input-wrapper::before {
    content: '€';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
}

.amount-input {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    padding-left: 40px;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary);
    background: var(--primary-50);
}

.category-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.category-btn i {
    font-size: 1.5rem;
}

.category-btn span {
    font-size: 0.85rem;
    font-weight: 500;
}

