/* --- SÉCURITÉ HEADER (Fallback) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(8, 8, 14, 0.95);
    /* Fond sombre quasi-opaque */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 10px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.header-auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Bouton Connexion (Style force) */
.btn-primary-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary-outline:hover {
    border-color: #a855f7;
    color: #a855f7;
}

/* ---------------------------------- */

/* ==========================================================================
   TABLE OF CONTENTS - AUDIT & REFACTORING
   1.  Variables & Reset (:root)
   2.  Base Styles & Typography
   3.  Components: Header & Navigation
   4.  Components: Search & Filters
   5.  Components: Buttons & Toggles
   6.  Layout: Main Grid & Containers
   7.  Components: Event Cards (Core & Desktop)
   8.  Components: Badges & Status
   9.  Components: Modals
   10. Views: Calendar (Navigation Fixed)
   11. Views: Statistics (Dashboard)
   12. Utilities (Loading, Footer, Scrollbar)
   13. MEDIA QUERIES (Mobile & Tablet Overrides)
   ========================================================================== */

/* ===========================
   1. Variables & Reset
   =========================== */
:root {
    /* --- Color Palette --- */
    --bg-primary: #08080e;
    --bg-secondary: #0d0d15;
    --bg-tertiary: #12121d;
    --bg-dark: #0f1016;

    /* --- Text Colors --- */
    --text-main: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    --text-muted: #a1a1aa;

    /* --- Accents & Gradients --- */
    --accent-primary: #a855f7;
    --accent-secondary: #ec4899;
    --accent-tertiary: #06b6d4;
    --accent-glow: rgba(168, 85, 247, 0.4);

    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #06b6d4 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    --bg-gradient: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0f 50%, #000000 100%);

    /* --- Surfaces & Glassmorphism --- */
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(20, 20, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-glass: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.1);

    /* --- Spacing --- */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* --- Radius --- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;

    /* --- Shadows --- */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 12px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --shadow-glow-strong: 0 0 50px var(--accent-glow);

    /* --- Status Colors --- */
    --status-past: #4a4a4a;
    --status-past-bg: rgba(255, 255, 255, 0.05);

    /* --- Transitions --- */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* --- Z-Indices --- */
    --z-card-content: 2;
    --z-header: 1000;
    --z-dropdown: 2000;
    --z-modal: 3000;
    --z-tooltip: 10001;
}

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

/* ===========================
   2. Base Styles
   =========================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    background-image: var(--bg-gradient), var(--gradient-mesh);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0;
    /* Handled by JS */
}

@media (min-width: 769px) {
    body {
        padding-top: 0 !important;
        /* Handled by JS */
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   3. Components: Header
   =========================== */
.concert-header {
    background: radial-gradient(circle at top center, #1a1c29 0%, var(--bg-dark) 80%);
    padding: 1rem 1rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth ease-out for fluid motion */
    will-change: transform, padding, background;
    box-shadow: var(--shadow-md);
    min-height: 80px;
    /* Fixed minimum height prevents jumping */
}

.concert-header.header-hidden {
    transform: translateY(-100%);
}

.concert-header.scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
    background: #0f1016;
    /* Solid dark color for legibility */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

/* Title Container - Fixed space reservation */
.header-content {
    position: relative;
    min-height: 120px;
    /* Reserve space for titles when expanded */
    transition: min-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.concert-header.scrolled .header-content {
    min-height: 0;
    /* Collapse when scrolled */
}

/* Titles Progressive Animation - Absolute positioning to prevent jumping */
.main-title,
.subtitle {
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: calc(1 - var(--scroll-progress, 0));
    transform: translateY(calc(-20px * var(--scroll-progress, 0)));
    pointer-events: auto;
}

/* Alternative: Use the .scrolled class for instant full collapse if needed */
.concert-header.scrolled .main-title,
.concert-header.scrolled .subtitle {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Progressive Hide filters on scroll */
.filters-section {
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: calc(1 - var(--scroll-progress, 0));
    transform: translateY(calc(-10px * var(--scroll-progress, 0)));
    max-height: 500px;
    /* Large enough for content */
    /* overflow: hidden; Removed to allow dropdowns */
}

.concert-header.scrolled .filters-section {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    margin: 0;
    padding: 0;
    pointer-events: none;
    overflow: hidden;
    /* Ensure content is clipped when collapsed */
}

/* Adjust header content to be compact */
.concert-header.scrolled .header-content {
    display: flex;
    justify-content: center;
    /* Force center */
    align-items: center;
    padding: 0;
    width: 100%;
}

/* Ensure Search Wrapper is visible and centered */
.concert-header.scrolled .search-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    /* Removed padding-right phantom padding as buttons are now top-left absolute */
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
    background: linear-gradient(to bottom, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    margin: 0;
    line-height: 1.1;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ===========================
   4. Components: Search & Filters
   =========================== */
.search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 1rem auto 0 auto; 
    position: relative;
    z-index: 10;
}

.home-btn {
    background: var(--accent-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    width: 48px;
    height: 48px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.search-input-container {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 52px;
    transition: all 0.3s ease;
    position: relative;
}

.search-input-container:focus-within {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
        border-color: #a855f7;
    }

    50% {
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
        border-color: #d8b4fe;
    }
}

.search-input-container input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    margin-left: 0.5rem;
    outline: none;
    font-size: 1rem;
}

.search-icon {
    opacity: 0.5;
}

.search-clear {
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.search-clear:hover {
    opacity: 1;
}

/* Filter Section */
.filters-section {
    padding: 1rem 0 0.5rem 0;
    animation: fadeIn 0.8s ease 0.3s both;
    position: relative;
    z-index: 910;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: space-between;
    /* Ensures spread */
    margin-bottom: 0;
}

.venue-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.venue-filters.hidden {
    display: none !important;
}

.filter-btn {
    padding: 0.65rem 1.25rem;
    background: var(--surface);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: var(--surface-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-glow), var(--shadow-md);
    transform: translateY(-2px);
}

.filters-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    /* Reduced from sm */
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Reduced */
}

.sort-options label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    /* Smaller */
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .sort-options label {
        display: none;
        /* Hide labels if tight */
    }
}

.custom-select-container {
    position: relative;
    width: auto;
    min-width: 140px;
    /* Reduced fixed width */
}

/* Adjust Venue Filters to wrap nicely */
.venue-filters {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: var(--spacing-xs);
    justify-content: center;
    /* Center them for better aesthetics on multi-line */
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--surface);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--accent-primary);
    background: var(--surface-hover);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select.open .chevron-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1.5px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    max-height: 500px;
    overflow-y: auto;
}

/* Custom Widths for Specific Dropdowns */
.custom-select-genre {
    min-width: 180px !important;
}

.custom-select-producer {
    min-width: 220px !important;
}

/* Stats View Dropdowns - Wider */
.stats-select-wrapper .custom-select-container,
.stats-select-wrapper .custom-select {
    min-width: 300px !important;
    /* Larger for easy reading */
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
}

.custom-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding-left: 1.25rem;
}

.custom-option.selected {
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.dropdown-search-container {
    position: sticky;
    top: 0;
    padding: 0.5rem;
    background: #1a1a1a;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-search {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    font-size: 0.85rem;
}

.dropdown-search:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}

.event-counter {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    width: fit-content;
    min-width: 200px;
}

.event-counter span {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.3rem;
}

/* ===========================
   5. Components: Buttons & Toggles
   =========================== */
.view-toggle {
    display: flex;
    background: var(--surface);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 4px;
    gap: 4px;
}

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

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

.view-btn.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* ===========================
   6. Layout: Main Grid
   =========================== */
.main-content {
    padding: 0 0 var(--spacing-2xl) 0;
    /* Top padding handled by JS */
}

/* Force click interactions to fall through to the card */
.event-card>* {
    pointer-events: none;
}

.event-card .event-card-cta {
    pointer-events: auto;
    /* Keep CTA button interactable if needed, though card click covers it */
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--spacing-lg);
    animation: fadeIn 1s ease 0.5s both;
}

/* ===========================
   7. Components: Event Cards (Core & Desktop)
   =========================== */
/* ===========================
   7. Components: Event Cards (Core & Desktop)
   =========================== */
.event-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtler border */
    border-radius: 24px;
    /* More rounded */
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: cardReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    z-index: 1;
    /* Ensure card is in proper stacking context */
    /* Desktop height default */
    height: 340px;
    /* Slightly taller */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Past Event Card Style (List) */
.event-card.past-event {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.event-card.past-event:hover {
    filter: grayscale(50%);
    opacity: 0.8;
}

.event-card.past-event .event-card-title {
    color: var(--text-muted);
}


@keyframes cardReveal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(var(--accent-rgb), 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Image Handling (Desktop Full Cover) */
.event-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #1a1a1a;
}

.event-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    /* Gradient optimisé pour la lisibilité du texte en bas */
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.0) 40%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95);
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Content Overlay */
.event-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    /* Ensure on top of gradient */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 12px;
    transform: translateY(0);
    transition: transform 0.3s ease;
    pointer-events: none;
    /* Fix clickable issue */
}

.event-card:hover .event-card-content {
    transform: translateY(-4px);
}

.event-card-title {
    font-size: 1.6rem;
    /* Bigger */
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
    font-family: 'Space Grotesk', sans-serif;
    /* Premium font */
    letter-spacing: -0.5px;
}

.event-card-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 10px;
}

/* Date Badge (Desktop Top Right) */
.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    min-width: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.date-badge .event-day {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.date-badge .event-month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    letter-spacing: 0.1em;
}

/* Year indicator for future events (Desktop) */
.year-indicator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.6rem;
    font-weight: 500;
    margin-top: 2px;
}

/* Hidden elements on Desktop */
.event-card-date,
.event-card-cta,
.event-card-price {
    display: none;
}

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

/* ===========================
   8. Components: Badges & Status
   =========================== */
.venue-badge-desktop {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.event-card-sold-out,
.event-card-cancelled {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 10;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
    color: #ffffff;
    /* Ensure text stays white */
}

.event-card-sold-out {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
}

.event-card-cancelled {
    background: linear-gradient(135deg, #6b7280, #374151);
    box-shadow: 0 0 20px rgba(107, 114, 128, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.event-support-act-badge {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    text-transform: uppercase;
    pointer-events: auto;
    text-decoration: none;
    transition: all 0.2s ease;
}

.event-support-act-badge:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Venue Colors - Refined for Contrast */
.badge-boule {
    background: #000000;
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.badge-olympia {
    background: linear-gradient(135deg, #D50000, #b71c1c);
    /* Rouge */
    background: linear-gradient(135deg, #D50000, #b71c1c);
    /* Rouge */
    box-shadow: 0 0 20px rgba(213, 0, 0, 0.5);
}

.genre-badges-container {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    gap: 4px;
    z-index: 5;
    flex-wrap: wrap;
    justify-content: flex-end;
    pointer-events: none;
    max-width: 60%;
}

.genre-badge {
    position: relative;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.event-card:hover .genre-badge {
    background: rgba(168, 85, 247, 0.8);
    border-color: rgba(168, 85, 247, 0.4);
}

/* Adjust support act badge to avoid overlap */
.event-support-act-badge {
    bottom: 3.5rem;
    /* Moved up to make space for genre */
}

.badge-pleyel {
    background: linear-gradient(135deg, #00B0FF, #0091ea);
    /* Bleu Ciel */
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.4);
}

.badge-accor,
.badge-bercy {
    background: linear-gradient(135deg, #6200EA, #311b92);
    /* Violet Foncé (New to avoid conflict) */
    box-shadow: 0 0 20px rgba(98, 0, 234, 0.4);
}

.badge-adidas {
    background: linear-gradient(135deg, #00E5FF, #00b8d4);
    /* Turquoise */
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.badge-bataclan {
    background: linear-gradient(135deg, #FFD600, #fbc02d);
    /* Jaune */
    color: #000;
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.4);
}

.badge-elysee {
    background: linear-gradient(135deg, #FF6D00, #e65100);
    /* Orange */
    box-shadow: 0 0 20px rgba(255, 109, 0, 0.4);
}

.badge-trianon {
    background: linear-gradient(135deg, #D500F9, #aa00ff);
    /* Pourpre/Lavande Vif */
    box-shadow: 0 0 20px rgba(213, 0, 249, 0.4);
}

.badge-zenith {
    background: linear-gradient(135deg, #F50057, #c51162);
    /* Rose/Magenta */
    box-shadow: 0 0 20px rgba(245, 0, 87, 0.4);
}

.badge-cigale {
    background: linear-gradient(135deg, #2962FF, #0039cb);
    /* Bleu Roi */
    box-shadow: 0 0 20px rgba(41, 98, 255, 0.4);
}

.badge-maroquinerie {
    background: linear-gradient(135deg, #FF3D00, #dd2c00);
    /* Brique/Corail */
    box-shadow: 0 0 20px rgba(255, 61, 0, 0.4);
}

.badge-trabendo {
    background: linear-gradient(135deg, #76FF03, #64dd17);
    /* Lime (Recycled from Boule) */
    color: #000;
    box-shadow: 0 0 20px rgba(118, 255, 3, 0.4);
}

.badge-defense {
    background: linear-gradient(135deg, #00C853, #00e676);
    /* Vert Émeraude */
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.4);
}

.badge-default {
    background: linear-gradient(135deg, #9e9e9e, #616161);
}

/* ===========================
   9. Components: Modals
   =========================== */
/* ===========================
   9. Components: Modals (Redesigned)
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    animation: modalFadeIn var(--transition-normal) ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    animation: modalSlideIn var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.95) translateY(40px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Close Button (Floating) */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

/* Hero Image Section */
.modal-header-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-date-badge .event-day {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.modal-date-badge .event-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    letter-spacing: 0.1em;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.5s ease;
}

/* Gradient Overlay for Text Readability */
.modal-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-secondary) 0%, rgba(19, 19, 26, 0.8) 20%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

/* Title Overlay */
.modal-title-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 10;
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Body Content */
.modal-body {
    padding: 30px;
    background: var(--bg-secondary);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Info Item Styling */
.modal-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-info-item i {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Fix Date Row Alignment */
.modal-info-item.date-row {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.info-content i {
    margin-top: 0;
    /* Align icon vertically in center */
}

/* modal-cta-inline DEPRECATED - Replaced by .modal-btn */
.modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

.modal-btn:hover::before {
    opacity: 1;
}

.modal-btn i {
    width: 16px;
    height: 16px;
    margin-left: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-btn:hover i {
    transform: rotate(-10deg);
}

.modal-btn.sold-out {
    background: var(--surface);
    color: var(--text-muted);
    box-shadow: none;
    border: 1px solid var(--glass-border);
}

/* Showtimes List */
.showtimes-container {
    flex: 1;
}

.showtimes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    list-style: none;
    padding: 0;
}

.showtimes-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
    }

    .modal-header-image {
        height: 300px;
    }

    .modal-title {
        font-size: 2rem;
    }

    .modal-title-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* ===========================
   10. Views: Calendar
   =========================== */
.calendar-view {
    animation: fadeIn 0.5s ease;
}

.calendar-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.calendar-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
}

.sidebar-box-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--glass-border);
}

/* Sidebar Navigation (Desktop) - FIXED: Arrows at extremities */
.calendar-controls-sidebar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-md);
    min-height: 40px;
}

.nav-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.calendar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.calendar-nav-btn {
    pointer-events: auto;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

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

.mode-toggle .view-btn {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Calendar Grid */
.calendar-header-mobile {
    display: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--spacing-sm);
    background: var(--glass-bg);
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--glass-border);
}

.calendar-day {
    min-height: 120px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs);
    position: relative;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
}

.calendar-day.today {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent-primary);
}

.day-number {
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    display: block;
    margin-bottom: 4px;
}

.calendar-day.today .day-number {
    color: var(--accent-primary);
}

/* Events in Calendar */
.day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.event-indicator {
    width: 100%;
    height: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.event-indicator.week-mode {
    height: 48px;
    border-radius: var(--radius-md);
    padding: 0.4rem 0.6rem;
    align-items: flex-start;
}

.event-indicator:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-name {
    display: none;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-indicator.week-mode .event-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Tooltip */
.event-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    width: 280px;
    box-shadow: var(--shadow-xl);
    z-index: var(--z-tooltip);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-indicator:hover .event-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.tooltip-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.tooltip-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.tooltip-venue {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Calendar Legend Checkboxes */
.calendar-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 0.5rem;
    width: 100%;
}

.legend-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.legend-checkbox-item:hover {
    background: var(--surface);
}

.legend-checkbox-item input {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--glass-border);
    position: relative;
    flex-shrink: 0;
}

.legend-checkbox-item input:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.venue-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    word-wrap: break-word;
}

/* ===========================
   11. Views: Statistics
   =========================== */
.stats-view {
    padding-top: 2rem;
    animation: fadeIn 0.6s ease;
    padding-bottom: 4rem;
}

.stats-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.stats-title {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.kpi-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.kpi-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}



.kpi-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.kpi-content {
    display: flex;
    flex-direction: column;
}

.kpi-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.kpi-value.is-text {
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.chart-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chart-container.large {
    grid-column: 1 / -1;
    min-height: 450px;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.chart-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 300px;
}

/* Producer List */
.producer-events-container {
    grid-column: 1 / -1;
    margin-top: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.producer-events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.producer-event-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.producer-event-row:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.producer-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    margin-right: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.producer-date-day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.producer-date-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

.producer-event-title {
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.producer-status-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 8px;
}

.producer-status-soldout {
    background: #ef4444;
    color: white;
}

.producer-link {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s;
}

.producer-link:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateY(-1px);
}

/* Border color classes for producer dates */
/* Border color classes for producer dates */
.border-badge-trianon {
    border-color: #D500F9;
}

.border-badge-elysee {
    border-color: #FF6D00;
}

.border-badge-zenith {
    border-color: #F50057;
}

.border-badge-cigale {
    border-color: #2962FF;
}

.border-badge-olympia {
    border-color: #D50000;
}


.border-badge-maroquinerie {
    border-color: #FF3D00;
}

.border-badge-adidas {
    border-color: #00E5FF;
}

.border-badge-bercy {
    border-color: #6200EA;
}

.border-badge-accor {
    border-color: #6200EA;
}

.border-badge-bataclan {
    border-color: #FFD600;
}

.border-badge-defense {
    border-color: #00C853;
}

.border-badge-trabendo {
    border-color: #76FF03;
}

.border-badge-pleyel {
    border-color: #00B0FF;
}



/* ===========================
   12. Utilities
   =========================== */
.no-results {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-tertiary);
    display: block;
}

.loading {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    border: 4px solid var(--surface);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-top: var(--spacing-2xl);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--surface);
    border-radius: 6px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--surface-hover);
}

/* ===========================
   13. MEDIA QUERIES (Overrides)
   =========================== */

/* A. DESKTOP SPECIFIC FIXES (>= 769px) */
@media (min-width: 769px) {

    /* Hide the extra toggle next to search on desktop */
    .search-wrapper .view-toggle {
        display: none !important;
    }
}

/* B. TABLET / SMALL DESKTOP (< 1024px) */
@media (max-width: 1024px) {
    .stats-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* C. MOBILE (< 768px) - Strict App-Like Experience */
@media (max-width: 768px) {

    /* --- Layout Reset --- */


    .container {
        padding: 0 16px;
    }

    /* --- Header Overrides --- */
    .concert-header {
        position: fixed !important;
        top: 0;
        z-index: 1000;
        height: auto;
        min-height: auto;
        background: #08080e !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        padding: 1.5rem 1rem;
        display: flex;
        flex-direction: column;
    }

    .concert-header .main-title {
        display: block !important;
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .concert-header .subtitle,
    .home-btn,
    .desktop-only,
    .date-badge,
    .sort-options,
    .event-counter {
        display: none !important;
    }

    .view-toggle.show-on-mobile {
        display: flex !important;
    }

    .view-toggle.show-on-desktop {
        display: none !important;
    }

    .header-content {
        padding: 0 !important;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .search-wrapper {
        width: 100%;
        gap: 10px;
    }

    .search-input-container {
        height: 44px;
        width: 100%;
        margin: 0 !important;
    }

    /* --- Horizontal Filter Scroll --- */
    .filters-section {
        height: 50px;
        width: 100%;
        background: #08080e !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0;
    }

    .filters-wrapper {
        display: block !important;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .venue-filters {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        width: 100%;
        padding: 0 24px;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        background: #08080e;
        white-space: nowrap;
    }

    .venue-filters.hidden {
        display: none !important;
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 6px 14px;
        margin: 0;
        background: #1a1a22;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .filter-btn:first-child {
        margin-left: 8px;
    }

    .filter-btn:last-child {
        margin-right: 8px;
    }

    .filters-left {
        display: none !important;
    }

    /* --- Event Cards (List View) --- */
    .events-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 80px;
    }

    .event-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        height: auto !important;
        min-height: 80px;
        background: #13131a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 12px !important;
        position: relative;
        overflow: visible;
    }

    .event-card-image,
    .event-card-price,
    .event-card-cta,
    .venue-badge-desktop {
        display: none !important;
    }

    .event-card-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100%;
        padding: 0 !important;
        position: static !important;
        background: transparent !important;
    }

    /* Date Box Mobile */
    .event-card-date {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        margin: 0 15px 0 0 !important;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        position: static !important;
    }

    /* Colored Border on Date Box */
    .event-card-date::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 14px;
        border: 1px solid currentColor;
        opacity: 0.5;
        pointer-events: none;
    }

    .event-card-date .date-day {
        font-size: 18px !important;
        font-weight: 800;
        color: white;
        line-height: 1;
    }

    .event-card-date .date-month {
        font-size: 0.6rem;
        letter-spacing: 1.2px;
        font-weight: 600;
        text-transform: uppercase;
        margin-top: 2px;
        opacity: 0.85;
    }

    /* Year indicator for future events */
    .year-indicator {
        display: block;
        font-size: 0.55rem;
        font-weight: 500;
        opacity: 0.4;
        margin-top: 3px;
        letter-spacing: 0.8px;
        color: #ffffff !important;
        /* Override venue color inheritance */
    }

    .event-card-date i {
        display: none;
    }

    /* Text Content Mobile */
    .text-wrapper {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .event-card-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: white !important;
        margin: 0 0 4px 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        position: static;
    }

    .event-card-footer {
        font-size: 13px !important;
        color: #a1a1aa !important;
        margin: 0;
        padding: 0;
        border: none;
        display: block;
        width: 100%;
    }

    .event-card::after {
        content: "›";
        font-size: 24px;
        color: #666;
        font-weight: 300;
        margin-left: 12px;
        flex-shrink: 0;
        padding-right: 4px;
    }

    /* Fix Stickers Position on Mobile */
    .event-card-sold-out,
    .event-card-cancelled {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        right: 40px !important;
        left: auto !important;
        margin: 0 !important;
        padding: 4px 8px !important;
        font-size: 0.65rem !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        z-index: 5;
        color: #ffffff !important;
        /* Override venue color inheritance */
    }

    /* --- Calendar View Mobile (Agenda Style) --- */
    .calendar-layout {
        display: block !important;
        padding: 0 !important;
    }

    .calendar-sidebar,
    .calendar-day-header,
    .calendar-day.empty {
        display: none !important;
    }

    .calendar-view .concert-header {
        background: transparent !important;
        box-shadow: none !important;
    }

    .calendar-header-mobile {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        margin-bottom: 20px;
        background: rgba(20, 20, 35, 0.6);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        width: 100%;
    }

    .calendar-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: transparent;
        border: none;
        padding: 0;
    }

    .calendar-day {
        min-height: auto;
        display: flex;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 0;
        overflow: hidden;
    }

    .calendar-day:not(.has-events) {
        display: none;
    }

    .calendar-day .day-number {
        width: 70px;
        font-size: 2.2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.02);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        margin: 0;
    }

    /* Add Month Name to Day Number */
    .calendar-day .day-number::after {
        content: attr(data-month);
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--text-secondary);
        margin-top: 4px;
        text-transform: uppercase;
    }

    .calendar-day .day-events {
        flex: 1;
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 1px;
        background: rgba(255, 255, 255, 0.02);
    }

    .event-indicator {
        height: auto !important;
        min-height: 50px;
        padding: 12px 16px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .event-indicator:last-child {
        border-bottom: none;
    }

    .event-name {
        display: block !important;
        font-size: 0.95rem;
        font-weight: 500;
        white-space: normal;
        line-height: 1.4;
        color: var(--text-primary);
    }

    .event-tooltip {
        display: none !important;
    }

    /* --- Stats Mobile --- */
    .stats-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stats-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .stats-select-wrapper {
        width: 100%;
    }

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

    .chart-container.large {
        min-height: 350px;
    }
}

/* --- Mobile Text Colors for Venue Badges --- */
.text-badge-trianon {
    color: #D500F9;
}

.text-badge-elysee {
    color: #FF6D00;
}

.text-badge-zenith {
    color: #F50057;
}

.text-badge-cigale {
    color: #2962FF;
}

.text-badge-olympia {
    color: #D50000;
}

.text-badge-boule {
    color: #FFFFFF;
}

.text-badge-maroquinerie {
    color: #FF3D00;
}

.text-badge-adidas {
    color: #00E5FF;
}

.text-badge-bercy {
    color: #6200EA;
}

.text-badge-accor {
    color: #6200EA;
}

.text-badge-bataclan {
    color: #FFD600;
}

.text-badge-defense {
    color: #00C853;
}

.text-badge-trabendo {
    color: #76FF03;
}

.text-badge-pleyel {
    color: #00B0FF;
}

.text-badge-default {
    color: #a1a1aa;
}

/* --- Mobile Card Colored Border --- */
@media (max-width: 768px) {
    .event-card.text-badge-trianon {
        border-left: 3px solid #D500F9;
    }

    .event-card.text-badge-elysee {
        border-left: 3px solid #FF6D00;
    }

    .event-card.text-badge-zenith {
        border-left: 3px solid #F50057;
    }

    .event-card.text-badge-cigale {
        border-left: 3px solid #2962FF;
    }

    .event-card.text-badge-olympia {
        border-left: 3px solid #D50000;
    }

    .event-card.text-badge-boule {
        border-left: 3px solid #FFFFFF;
    }

    .event-card.text-badge-maroquinerie {
        border-left: 3px solid #FF3D00;
    }

    .event-card.text-badge-adidas {
        border-left: 3px solid #00E5FF;
    }

    .event-card.text-badge-bercy {
        border-left: 3px solid #6200EA;
    }

    .event-card.text-badge-accor {
        border-left: 3px solid #6200EA;
    }

    .event-card.text-badge-bataclan {
        border-left: 3px solid #FFD600;
    }

    .event-card.text-badge-defense {
        border-left: 3px solid #00C853;
    }

    .event-card.text-badge-trabendo {
        border-left: 3px solid #76FF03;
    }

    .event-card.text-badge-pleyel {
        border-left: 3px solid #00B0FF;
    }

    .event-card.text-badge-default {
        border-left: 3px solid #a1a1aa;
    }
}


/* Spotify Badge */
.spotify-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 20px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spotify-badge svg {
    color: #1DB954;
    /* Spotify Green */
}

.spotify-badge span {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

.spotify-badge:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #1DB954;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
}

/* Adjust sold-out/cancelled position if Spotify badge is present */
.event-card:has(.spotify-badge) .event-card-sold-out,
.event-card:has(.spotify-badge) .event-card-cancelled {
    top: 60px;
    /* Move status down */
    left: 15px;
}


/* Venue Row (Like Date Row but for Venue + Spotify) */
.modal-info-item.venue-row {
    justify-content: space-between;
    align-items: center;
    width: 100%;
}



/* Utilities Desktop Only (Helper) */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }

    span.mobile-only {
        display: none !important;
    }
}

/* ===========================
   14. COMPONENT: LATEST TICKER
   14. COMPONENT: LATEST TICKER (CORRIGÉ & STYLISÉ)
   =========================== */
.latest-ticker-wrapper {
    width: 100%;
    height: 48px;
    /* Slightly taller for better spacing */
    background: #08080e;
    display: flex;
    justify-content: center;
    /* Center the inner container */
    position: relative;
    z-index: 900;
    overflow: hidden;
    animation: fadeIn 1s ease 0.5s both;
}

.ticker-content-container {
    width: 100%;
    max-width: 1400px;
    /* Match site standard */
    padding: 0 var(--spacing-md);
    /* Match site padding */
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Border constrained to content width */
}

/* LE LABEL FIXE À GAUCHE */
.latest-label {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 16px;
    height: 32px;
    /* Compact pill */
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 20;
    border-radius: 50px;
    /* Fully rounded */
    margin-right: 20px;
    /* Spacing from list */
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    /* Glow effect */
}

/* LA ZONE MASQUÉE (Masque) */
.ticker-mask {
    flex-grow: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
    z-index: 10;
    /* Restored fade mask */
    mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
    display: flex;
    align-items: center;
}

/* LA PISTE QUI BOUGE */
.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: tickerScroll 35s linear infinite;
    /* Faster: 50s */
    will-change: transform;
    padding-left: 0;
}

/* LES ITEMS */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Tighter internal gap */
    padding-right: 0;
    /* Remove padding, let separator handle spacing */
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

.ticker-item:hover {
    color: var(--accent-secondary);
}

.ticker-date {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    /* Slightly tighter pill */
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
    /* Set by JS */
}

.ticker-item strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SEPARATEUR */
.ticker-separator {
    display: inline-block;
    margin: 0 15px;
    /* Equal spacing 15px on both sides */
    color: var(--text-tertiary);
    opacity: 0.4;
    font-size: 0.8rem;
    /* Smaller dot */
}

/* ANIMATION */
@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.3333%);
    }
}

/* Pause au survol */
.latest-ticker-wrapper:hover .ticker-track {
    animation-play-state: paused;
}


/* Link Styling in Cards */
.hover-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.hover-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.image-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

/* =========================================
   ARTIST PROFILE STYLES
   ========================================= */

.artist-view {
    animation: fadeIn 0.4s ease-out;
}

/* =========================================
   ARTIST DASHBOARD STYLES
   ========================================= */

.artist-view {
    animation: fadeIn 0.4s ease-out;
}

.artist-hero {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 0 0 32px 32px;
    padding-top: 10px;
    padding-bottom: 30px;
}

.artist-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.25);
    /* Darker and more blurred */
    transform: scale(1.05);
    /* Reduced scale */
    z-index: 1;
}

/* New overlay for contrast */
.artist-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.artist-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    /* Wider */
    padding: 0 40px;
}

#closeArtistView {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;

    /* Position Absolute */
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

#closeArtistView:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

#closeArtistView i {
    width: 18px;
    height: 18px;
}

/* --- GRID LAYOUT --- */
.artist-header-row {
    display: grid;
    grid-template-columns: 350px 1fr;
    /* Fixed Left, Fluid Right */
    gap: 3rem;
    align-items: stretch;
    /* Cards same height */
    width: 100%;
}

/* --- LEFT COLUMN: ARTIST CARD --- */
.artist-card-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    height: 100%;
}

.artist-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.artist-name {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.artist-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.producer-pill {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats in Left Column */
.artist-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    /* Push to bottom */
}

.hero-stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.hero-stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 4px;
}

/* --- RIGHT COLUMN: ASCENSION GRAPH --- */
.artist-chart-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.chart-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===========================
   10. Artist Profile Dashboard & Timeline
   =========================== */
.artist-view {
    display: none;
    padding-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

/* Timeline Container */
.timeline-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    /* Bars align to bottom */
    gap: 4px;
    /* Space handled by padding/margins */
    overflow-x: auto;
    padding: 40px 20px 20px 20px;
    height: 400px;
    /* Fixed height for consistent baseline */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
    position: relative;
    /* Anchor for absolute info box */
}

.timeline-container::-webkit-scrollbar {
    height: 6px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

/* Timeline Step */
.timeline-step {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-width: 80px;
    height: 100%;
    transition: transform 0.3s ease;
    padding: 0 10px;
}

.timeline-step:hover {
    transform: translateY(-5px);
    z-index: 10;
}

/* Connector (Time Difference) */
.timeline-connector {
    position: absolute;
    left: -20px;
    /* Position betwen steps */
    bottom: 50%;
    /* Middle height? Or follow design */
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
}

.time-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bar Elements */
.bar-cap {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.timeline-bar {
    width: 36px;
    background: linear-gradient(to top, var(--accent-primary), var(--accent-secondary));
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Capacity Label (Top) */
.timeline-cap-label {
    position: absolute;
    top: -25px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Venue Label (Bottom) */
.timeline-venue-label {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    max-width: 120px;
    line-height: 1.3;
}

/* Connectors */
.timeline-connector {
    position: absolute;
    left: 50%;
    bottom: 50%;
    /* Adjusted dynamically */
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    z-index: 5;
    transform-origin: left center;
}

.delta-badge {
    position: absolute;
    top: -24px;
    /* Above line */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #4cd137;
    /* Matrix green or similar */
    border: 1px solid #4cd137;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    font-family: 'Space Grotesk', monospace;
}

/* Responsive */
@media (max-width: 1000px) {
    .artist-header-row {
        grid-template-columns: 1fr;
    }

    .artist-chart-column {
        height: 500px;
    }
}

@media (max-width: 900px) {
    .artist-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .artist-identity {
        align-items: center;
        /* Center on mobile */
    }

    .artist-stats-hero {
        width: 100%;
        min-width: auto;
        grid-template-columns: repeat(3, 1fr);
    }

    .artist-name {
        font-size: 2.5rem;
    }

    .artist-avatar {
        width: 120px;
        height: 120px;
    }
}

/* Timeline Multi-Show Badge */
.timeline-badge {
    position: absolute;
    top: -45px;
    /* Above capacity */
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.producer-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.artist-section {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.timeline-container {
    display: flex;
    align-items: flex-end;
    gap: 3rem;
    /* Increased gap to prevent text overlap */
    overflow-x: auto;
    padding: 3rem 1rem 2rem 1rem;
    /* More top padding for badges */
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    min-height: 400px;
    /* Increased height for better vertical flow */
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    /* Wider items */
    position: relative;
}

.timeline-bar {
    width: 50px;
    /* Wider bars */
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 1s ease-out;
    background: var(--primary);
    display: flex;
    justify-content: center;
    /* Depth Effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.tier-club {
    background: linear-gradient(180deg, #00f2fe 0%, #4facfe 100%);
}

.tier-theater {
    background: linear-gradient(180deg, #38f9d7 0%, #43e97b 100%);
}

.tier-zenith {
    background: linear-gradient(180deg, #fee140 0%, #fa709a 100%);
}

.tier-arena {
    background: linear-gradient(180deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 0 25px rgba(245, 87, 108, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.timeline-cap {
    position: absolute;
    top: -25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Timeline Multi-Show Badge - Now relative to BAR */
.timeline-badge {
    position: absolute;
    top: -55px;
    /* Higher up to clear capacity text */
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
    white-space: nowrap;
    z-index: 5;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.timeline-info {
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
}

.timeline-venue {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    /* Slightly larger */
    margin-top: 6px;
    line-height: 1.3;
    /* Prevent ellipsis, allow wrapping */
    white-space: normal;
    word-wrap: break-word;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.timeline-connector {
    position: absolute;
    right: -40px;
    top: 50%;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    white-space: nowrap;
    display: none;
}

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

/* --- NOUVEAU GRAPHIQUE ARTISTE --- */
.timeline-container {
    display: flex;
    align-items: flex-end;
    /* Aligne tout en bas */
    height: 100%;
    min-height: 400px;
    /* Force la hauteur */
    padding: 40px 20px 60px 20px;
    gap: 0;
    /* Géré par les steps */
    overflow-x: auto;
}

.timeline-step {
    position: relative;
    flex: 0 0 140px;
    /* Largeur fixe par étape */
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Connecteurs entre les barres */
.timeline-connector {
    position: absolute;
    left: -50%;
    /* Commence au milieu de la barre précédente */
    width: 100%;
    bottom: 50px;
    /* Hauteur fixe ou variable selon besoin */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    margin-top: 4px;
}

.time-badge {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 10px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

/* Barres */
.timeline-bar {
    width: 50px;
    border-radius: 6px 6px 0 0;
    transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    cursor: pointer;
}

.timeline-bar:hover {
    filter: brightness(1.2);
}

.bar-cap-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
}

.bar-venue-label {
    margin-top: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Couleurs & Glow */
.tier-club {
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.tier-theater {
    background: linear-gradient(to top, #8b5cf6, #a78bfa);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.tier-zenith {
    background: linear-gradient(to top, #d946ef, #f0abfc);
    box-shadow: 0 0 25px rgba(217, 70, 239, 0.5);
}

.tier-stadium {
    background: linear-gradient(to top, #f43f5e, #fb7185);
    box-shadow: 0 0 40px rgba(244, 63, 94, 0.6);
}

/* --- EXPERT TIMELINE VISUALIZATION --- */

/* Timeline Container */
.timeline-container {
    display: flex;
    align-items: flex-end;
    gap: 0;
    /* Managed by padding */
    overflow-x: auto;
    padding: 60px 20px 40px 20px;
    height: 450px;
    scroll-behavior: smooth;
    /* Custom Scrollbar for container */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) rgba(255, 255, 255, 0.05);
}

.timeline-step-wrapper {
    flex: 0 0 140px;
    /* Fixed comfortable width */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 0 10px;
}

/* --- CONNECTORS (GROWTH METRICS) --- */
.growth-connector {
    position: absolute;
    bottom: 60px;
    /* Base level */
    left: -50%;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 0;
}

.growth-connector span {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
}

.growth-connector .time-gap {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
    background: transparent;
    border: none;
    font-weight: 500;
}



.growth-connector.growth-explosive span {
    color: #000;
    background: #4ade80;
    /* Fluorescent Green */
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.growth-connector.growth-steady span {
    color: #4ade80;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-top: -2px;
}

/* --- BARS & TEXTURES --- */
.timeline-bar {
    width: 100%;
    max-width: 60px;
    margin: 0 auto;
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Support Act Mode: Hatched Pattern */
.timeline-bar.is-support {
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.08) 10px,
            rgba(255, 255, 255, 0.08) 20px) !important;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    opacity: 0.7;
}

/* Sold Out Mode: Internal Glow */
.timeline-bar.is-sold-out {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.timeline-bar.is-sold-out::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

/* Residency Badge (x3) */
.residency-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.4);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.venue-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1.3;
    margin-bottom: 2px;
}

/* --- INFO LABELS --- */
.bar-info-top {
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cap-number {
    font-weight: 700;
    font-size: 0.9rem;
}

.icon-soldout {
    color: #fb923c;
    /* Fire Orange */
    width: 16px;
    height: 16px;
}

.bar-info-bottom {
    margin-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.venue-name {
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 140px;
    transition: all 0.2s;
    line-height: normal;
    /* Fix alignment */
    /* Past Event Indicator */
}

.event-indicator.past-event {
    background: var(--status-past-bg) !important;
    color: var(--text-muted) !important;
    border-left-color: var(--status-past) !important;
    opacity: 0.7;
}

.event-indicator.past-event:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1) !important;
}

.event-indicator::before {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.date-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.role-label.support {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #94a3b8;
    border: 1px solid #94a3b8;
    padding: 1px 4px;
    border-radius: 4px;
    margin-top: 4px;
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Restore footer-seo from Root */
/* =========================================
   MODULE: MES TOURNÉES (V2)
   ========================================= */

/* Conteneur principal */
#toursListContainer {
    width: 100%;
    min-height: 60vh;
    padding: 20px 0;
    position: relative;
    z-index: 5;
    /* Au-dessus des loaders fantômes */
    display: block !important;
    /* Force la visibilité */
}

/* État Vide (Onboarding) */
.empty-state-hero {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.empty-state-hero h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.empty-state-hero p {
    color: #a1a1aa;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Grille des Tournées */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.tour-card {
    background: #12121d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.tour-card-header {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.tour-card-overlay h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.tour-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    color: #fff;
}

.tour-card-body {
    padding: 16px;
}

.tour-card-footer {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

/* Bouton Flottant (+) */
.floating-action-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #a855f7;
    /* Violet */
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.2s;
}

.floating-action-btn:hover {
    transform: scale(1.1);
    background: #9333ea;
}

/* Modale */
.modal-footer-create {
    display: flex;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
}

/* --- MODALE STYLE --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #12121d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 0;
    overflow: hidden;
}

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

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: white;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- FORM COMPONENTS --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #a1a1aa;
    font-size: 0.9rem;
}

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.glass-input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.1);
}

/* --- DROP ZONE --- */
.file-drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

/* --- BUTTONS --- */
.btn-primary {
    background: #a855f7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-success {
    background: #22c55e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-icon {
    background: none;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 4px;
}

.btn-icon:hover {
    color: white;
}

/* --- TABLE --- */
.glass-table {
    width: 100%;
    border-collapse: collapse;
}

.glass-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    text-align: left;
    color: #a1a1aa;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}