/* =============================================
   V2 DESIGN SYSTEM - ULTRA MODERN GLASSMORPHISM
   ============================================= */

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

:root {
    /* Nouvelle Palette Néon & Dark */
    --primary: #6366f1; /* Indigo vibrant */
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7; /* Purple vibrant */
    --accent: #f43f5e; /* Pink/Red vibrant */
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Backgrounds Profonds */
    --bg-body: #0f172a;
    --bg-glass: rgba(30, 41, 59, 0.6);
    --bg-glass-strong: rgba(15, 23, 42, 0.85);
    --bg-input: rgba(255, 255, 255, 0.05);
    
    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Borders & Effects */
    --border-glass: rgba(255, 255, 255, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --blur: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
    min-height: 100vh;
}

/* Scrollbar Moderne */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* =============================================
   LAYOUT & STRUCTURE
   ============================================= */

.main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    padding-bottom: 140px; /* Espace pour le menu */
}

/* Navigation - Glassmorphism Total */
.nav-tabs {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 580px;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav-balance {
    position: absolute;
    top: -60px;
    right: 0;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(var(--blur));
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glass);
}

.balance-amount {
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-icon {
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-label {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    position: absolute;
    bottom: -15px;
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active .tab-icon {
    transform: translateY(-8px);
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.tab-btn.active .tab-label {
        opacity: 1;
        transform: translateY(0);
    }

/* =============================================
   COMPONENTS - CARDS & CONTAINERS
   ============================================= */

/* Glass Card Standard */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
}

/* =============================================
   STATS & DASHBOARD
   ============================================= */

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

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-glass);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =============================================
   BUTTONS & INPUTS
   ============================================= */

.action-btn {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.action-btn.primary:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.action-btn.tertiary {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.action-btn.tertiary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Fix pour les options des select */
select option {
    background: #1e293b;
    color: #f8fafc;
    padding: 0.5rem;
}

/* =============================================
   CARDS & PRODUCTS
   ============================================= */

.search-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    padding-left: 3rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Compact Search Bar */
.search-card-compact {
    padding: 0.75rem 1rem !important;
    margin-bottom: 1rem !important;
}

.search-filter-card {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
}

.search-container-compact {
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.search-input-compact {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 2.5rem !important;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.search-input-compact:focus {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-icon-compact {
    position: absolute;
    left: 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.clear-search-compact {
    position: absolute;
    right: 0.7rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.clear-search-compact:hover {
    color: var(--text-primary);
}

.search-info-compact {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 1rem;
}

/* Filter Card */
.filter-card {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label i {
    color: var(--primary);
}

.filter-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.filter-group select:focus {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card-item {
    position: relative;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-item:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 10;
}

/* Design Carte Bancaire (Keep original logic but updated style) */
.card-bank-design {
    aspect-ratio: 1.586;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Specific Card Images - New System (6-digit BINs) */
.card-item.card-bin-513778 .card-bank-design {
    background-image: url('/static/images/cards/513778.jpg');
    background-size: cover;
    background-position: center;
}
.card-item.card-bin-513781 .card-bank-design {
    background-image: url('/static/images/cards/513781.jpg');
    background-size: cover;
    background-position: center;
}
.card-item.card-bin-497414 .card-bank-design {
    background-image: url('/static/images/cards/497414.jpg');
    background-size: cover;
    background-position: center;
}

/* Legacy Support (4-digit BIN prefixes) */
.card-item.card-sg-4973 .card-bank-design {
    background-image: url('/static/images/cards/sg-4973.jpg');
    background-size: cover;
    background-position: center;
}
.card-item.card-sg-4561 .card-bank-design {
    background-image: url('/static/images/cards/sg-4561.jpg');
    background-size: cover;
    background-position: center;
}
.card-item.card-ca-4533 .card-bank-design {
    background-image: url('/static/images/cards/ca-4533.jpg');
    background-size: cover;
    background-position: center;
}

.card-bin-display {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.card-holder-info {
    position: absolute;
    bottom: 4rem;
    left: 1.5rem;
}

.card-holder-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.card-city-postal {
    position: absolute;
    bottom: 2.5rem;
    left: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.card-footer-inline {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

.buy-card-btn-inline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.buy-card-btn-inline:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* =============================================
   CHAT & MESSAGING
   ============================================= */

.chat-card {
    height: 600px; /* Plus grand */
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chat-message {
    max-width: 85%;
    padding: 1rem;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    animation: slideUp 0.3s ease;
}

.chat-message-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.chat-username {
    color: var(--accent);
    font-weight: 700;
}

.chat-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-input-container {
    background: var(--bg-glass-strong);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-input-container input {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: white;
}

.chat-input-container input:focus {
    background: transparent;
    box-shadow: none;
}

.send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Media Upload */
.media-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.media-btn:hover {
    color: var(--primary);
}

/* =============================================
   BANNER & HERO
   ============================================= */

.welcome-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
}

.banner-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.banner-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.banner-link:hover {
    background: white;
    color: var(--primary);
}

/* Info Banner (News & Announcements) */
.info-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    animation: slideDown 0.5s ease;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.info-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.info-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

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

/* =============================================
   ADMIN & UTILS
   ============================================= */

.admin-section {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    margin-top: 2rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Base/Bank Selection */
.base-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.base-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.base-card:hover, .base-card.selected {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.base-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

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

/* =============================================
   TAB SYSTEM FIX
   ============================================= */

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.4s ease forwards;
}

/* =============================================
   CHAT IMAGE FIX
   ============================================= */

.chat-media {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    margin-top: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

.chat-media:hover {
    transform: scale(1.02);
}

/* Fix video size too */
.chat-media-video {
    max-width: 240px;
    max-height: 200px;
    border-radius: 12px;
}

.hidden { display: none !important; }

/* Loader */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Selection Controls */
.selection-controls {
    position: sticky;
    top: 1rem;
    z-index: 90;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.selection-info {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selection-info i {
    color: var(--success);
}

.selection-price {
    margin-left: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9em;
}

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

.btn-clear-selection {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-selection:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-buy-selection {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 10px var(--primary-glow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-buy-selection:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--primary-glow);
}

.selection-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.card-item.selected {
    transform: scale(0.98);
    opacity: 0.9;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* History Items */
.history-item {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    padding: 1rem;
    border-left: 4px solid var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
    .nav-tabs {
        width: 100%;
        bottom: 0;
        border-radius: 20px 20px 0 0;
        padding-bottom: 20px; /* Safe area */
    }
    
    .main-content {
        padding: 1rem;
        padding-bottom: 100px;
    }
    
    .card-bank-design {
        aspect-ratio: 1.5;
    }
    
    .selection-header {
        flex-direction: column;
        align-items: stretch;
}

    .selection-actions {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
}
}
