/* NafaTicket - Variables et styles globaux */
:root {
    --primary-color: #7C3AED;
    --primary-light: #a855f7;
    --secondary-color: #EC4899;
    --accent-color: #F59E0B;
    --accent2: #EC4899;
    --text-dark: #1a0636;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f8f5ff;
    --card-bg: #ffffff;
    --gradient-bar: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 40%, #ec4899 70%, #f59e0b 100%);
}

* {
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f8f5ff;
    overflow-x: clip;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
}

/* Loading Screen */
.loading-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.spinner-container {
    text-align: center;
    color: white;
}

.spinner-container .spinner-border {
    width: 3rem;
    height: 3rem;
    border-color: white;
    border-right-color: transparent;
}

/* Error UI */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Top Bar */
.top-bar {
    background: var(--gradient-bar);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
    color: #fff;
    font-size: .85rem;
    padding: 7px 0;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar i {
    margin-right: 5px;
}

/* Header */
.main-header {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 18px rgba(124,58,237,.1);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -.5px;
}

.logo:hover {
    color: var(--primary-color);
}

.logo-icon {
    background: var(--primary-color);
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 22px;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Search Bar */
.search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 10px 22px;
    padding-right: 52px;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    font-size: .9rem;
    transition: border .25s, box-shadow .25s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 14px rgba(124,58,237,.4);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-action {
    color: #6b7280;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .72rem;
    font-weight: 500;
    position: relative;
    transition: color .2s, transform .2s;
    cursor: pointer;
    gap: 2px;
}

.header-action:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header-action i {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.account-trigger {
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 8px 12px;
    outline: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.account-trigger:hover {
    color: var(--primary-color);
    background: rgba(91, 141, 238, 0.08) !important;
}

.account-trigger:focus,
.account-trigger:focus-visible,
.account-trigger:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.account-trigger i.bi-person-circle {
    font-size: 24px;
}

.account-trigger .dropdown-arrow {
    font-size: 8px;
    margin-left: 2px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.account-trigger .dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: -10px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12), 
                0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 240px;
    z-index: 1001;
    overflow: hidden;
    animation: accountMenuSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.account-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: transparent;
}

@keyframes accountMenuSlide {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.account-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 28px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin: 0;
}

.account-menu-item:hover {
    background: linear-gradient(90deg, rgba(91, 141, 238, 0.08), rgba(91, 141, 238, 0.04));
    color: var(--primary-color);
}

.account-menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: #6b7280;
    transition: color 0.2s ease;
}

.account-menu-item:hover i {
    color: var(--primary-color);
}

.account-menu-item span {
    flex: 1;
}

.account-menu-item .menu-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
}

.account-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin: 8px 16px;
}

.logout-item {
    color: #dc3545 !important;
    margin-top: 4px;
}

.logout-item i {
    color: #dc3545 !important;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.08) !important;
    color: #dc3545 !important;
}

.logout-item:hover i {
    color: #dc3545 !important;
}

/* Navigation */
.main-nav {
    background-color: white;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(124,58,237,.06);
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li a {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
    padding: 10px 14px;
    border-radius: 8px;
    border-bottom: none;
    transition: all .25s;
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    background: rgba(124,58,237,.08);
    border-bottom-color: transparent;
}
.nav-menu li a.active {
    border-bottom: 2px solid var(--primary-color);
    border-radius: 0;
}

/* Banner - styles retirés, voir PromoBanner.razor */

/* ---- NafaTicket Section Title Component ---- */
.nt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nt-section-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nt-section-icon-wrap {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.nt-section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #1a0636;
    margin: 0;
}

.nt-section-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s;
    padding: 0;
    border-radius: 0;
}
.nt-section-link:hover {
    gap: 10px;
    background: transparent;
    color: var(--primary-color);
}

/* Legacy Section Title (kept for compat) */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0 30px 0;
}

.section-title h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.section-title h3 i {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 5px;
}

.view-all-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Event Card Link Wrapper */
.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.event-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Event Cards */
.event-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(124,58,237,.07);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
    height: 100%;
    border: 1px solid rgba(124,58,237,.08);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(124,58,237,.15);
    border-color: rgba(124,58,237,.15);
}

.event-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 50%, #0d1b2a 100%);
}

.event-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .4s;
}

.event-card:hover .event-card-img {
    transform: scale(1.05);
}

.event-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 50%, #0d1b2a 100%);
    position: relative;
}
.event-card-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.35) 0%, transparent 65%);
}
.event-card-placeholder i {
    font-size: 2.5rem;
    color: rgba(168,85,247,0.7);
    position: relative;
    z-index: 1;
}
.event-card-placeholder span {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 10px 14px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.event-date-badge .day {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
}

.event-card-body {
    padding: 16px;
}

.event-category {
    font-size: .72rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 3px 10px;
    display: inline-block;
    background: rgba(124,58,237,.1);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.event-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1a0636;
    margin: 8px 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: .8rem;
}

.event-info-item i {
    color: var(--primary-color);
    font-size: .85rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.event-price {
    display: flex;
    flex-direction: column;
}

.event-price-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
}

.event-price-amount {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-get-ticket {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .82rem;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

.btn-get-ticket:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(124,58,237,.4);
    color: #fff;
}

.btn-get-ticket.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-get-ticket.disabled:hover {
    transform: none;
}

/* Tickets Remaining Badge */
.tickets-remaining-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.tickets-remaining-badge.low-stock {
    background: rgba(245, 158, 11, 0.9);
    animation: pulse-warning 2s infinite;
}

.tickets-remaining-badge.sold-out {
    background: rgba(239, 68, 68, 0.9);
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Event Badge Types */
.event-badge.badge-popular {
    background: linear-gradient(135deg, #FF6B9D, #FF8E53);
}

.event-badge.badge-new {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.event-badge.badge-urgent {
    background: linear-gradient(135deg, #EF4444, #F87171);
    animation: pulse-warning 2s infinite;
}

.event-badge.badge-soon {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

/* ========================================
   FILTERS SIDEBAR STYLES
   ======================================== */

/* ---- Events Page ---- */
.events-page {
    background: #fafafa;
    min-height: 80vh;
}

.events-hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 2.5rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.events-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.events-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.events-hero-content {
    position: relative;
    z-index: 1;
}

.events-hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.events-hero-title i {
    margin-right: 0.5rem;
}

.events-hero-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

.events-hero-stats {
    display: flex;
    gap: 2rem;
}
.events-hero-stat {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.events-hero-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
}
.events-hero-stat span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Filter Card */
.ev-filters-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    position: sticky;
    top: 90px;
}

.ev-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f0ff;
}
.ev-filters-header h5 {
    margin: 0;
    font-weight: 700;
    color: #2d3748;
    font-size: 1.05rem;
}

.ev-filter-section {
    margin-bottom: 1.25rem;
}

.ev-filter-title {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ev-search-input {
    position: relative;
}
.ev-search-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 0.9rem;
}
.ev-search-input input {
    padding-left: 2.25rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.ev-search-input input:focus {
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.ev-filters-card .form-select {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.ev-filters-card .form-select:focus {
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.ev-filters-card .filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    border: 1px solid transparent;
}
.ev-filters-card .filter-option:hover {
    background: #edf2f7;
    border-color: #e2e8f0;
}
.ev-filters-card .filter-option.active {
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    color: white;
    border-color: transparent;
}
.ev-filters-card .filter-option input[type="radio"] {
    display: none;
}

.ev-filters-card .form-check {
    margin-bottom: 0.5rem;
}
.ev-filters-card .form-check-input:checked {
    background-color: #805ad5;
    border-color: #805ad5;
}

.btn-ev-apply {
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.btn-ev-apply:hover {
    background: linear-gradient(135deg, #6b47b8, #c73578);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 90, 213, 0.3);
}

/* Toolbar */
.ev-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.ev-results-count {
    font-size: 0.9rem;
    color: #4a5568;
}
.ev-results-count strong {
    color: #805ad5;
    font-size: 1.1rem;
}
.ev-results-query {
    color: #a0aec0;
    font-style: italic;
}

.ev-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ev-sort {
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 0.85rem;
}
.ev-sort .form-select {
    width: auto;
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.ev-sort .form-select:focus {
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128,90,213,0.1);
}

.ev-view-toggle .btn {
    padding: 6px 10px;
    border-radius: 8px;
}
.ev-view-toggle .btn.active,
.ev-view-toggle .btn-primary {
    background: #805ad5 !important;
    border-color: #805ad5 !important;
}

/* Active filter chips */
.ev-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.ev-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    color: white;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}
.ev-filter-chip button {
    background: none;
    border: none;
    color: white;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0.8;
    font-size: 0.7rem;
}
.ev-filter-chip button:hover {
    opacity: 1;
}

/* Empty state */
.ev-empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ev-empty-icon {
    font-size: 3.5rem;
    color: #cbd5e0;
    margin-bottom: 0.75rem;
}
.ev-empty-state h3 {
    color: #4a5568;
    font-weight: 600;
}
.ev-empty-state p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

/* Pagination */
.ev-pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.9rem;
}
.ev-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    border-color: transparent;
    color: white;
}
.ev-pagination .page-link:hover {
    background: #f3f0ff;
    border-color: #805ad5;
    color: #805ad5;
}
.ev-pagination .page-item.disabled .page-link {
    background: #f7fafc;
    color: #cbd5e0;
}

/* Responsive */
/* ── EVENT CARD V (same as mobile) ── */
.ev-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.event-card-v {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s;
    border: 2px solid transparent;
}
.event-card-v:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(128,90,213,.15);
    border-color: #805ad5;
}
.ec-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.ec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.event-card-v:hover .ec-img img {
    transform: scale(1.05);
}
.ec-date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    line-height: 1;
}
.ec-date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #805ad5;
}
.ec-date-badge .month {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ec-tickets-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}
.ec-tickets-badge.low { background: rgba(229,62,62,.85); }
.ec-tickets-badge.sold-out { background: #e53e3e; }
.ec-body {
    padding: 14px;
}
.ec-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #805ad5;
    background: rgba(128,90,213,.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}
.ec-body h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ec-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.ec-meta span {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.3;
}
.ec-meta i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #805ad5;
    font-size: 12px;
}
.ec-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.ec-price {
    display: flex;
    flex-direction: column;
}
.ec-price .label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #9ca3af;
    text-transform: uppercase;
}
.ec-price .amount {
    font-size: 15px;
    font-weight: 800;
    color: #805ad5;
}
.ec-reserve-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .2s;
    text-decoration: none;
}
.event-card-v:hover .ec-reserve-btn {
    background: linear-gradient(135deg, #764ba2, #d53f8c);
}
.ec-reserve-btn.disabled {
    background: #ccc;
    color: #888;
}

/* ── Events Grid Responsive ── */
@media (max-width: 1200px) {
    .ev-events-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 992px) {
    .ev-events-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 576px) {
    .ev-events-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ec-body { padding: 10px; }
    .ec-body h4 { font-size: 12px; margin-bottom: 4px; }
    .ec-category { font-size: 8px; padding: 1px 6px; margin-bottom: 4px; }
    .ec-meta span { font-size: 11px; }
    .ec-footer { padding-top: 8px; }
    .ec-price .amount { font-size: 13px; }
    .ec-reserve-btn { font-size: 11px; padding: 5px 12px; }
    .ec-date-badge { top: 6px; left: 6px; padding: 3px 6px; border-radius: 8px; }
    .ec-date-badge .day { font-size: 14px; }
    .ec-date-badge .month { font-size: 7px; }
    .ec-tickets-badge { font-size: 9px; padding: 2px 6px; top: 6px; right: 6px; }
}

/* ── EVENTS PAGE MOBILE LAYOUT (same as mobile app) ── */
.ep-header {
    background: linear-gradient(135deg, var(--ticket-primary, #6b21a8), #9333ea);
    padding: 28px 16px 20px;
    color: #fff;
}
.ep-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.ep-header p {
    font-size: 13px;
    opacity: .8;
    margin: 4px 0 0;
}
.ep-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    margin: 8px 16px 16px;
    padding: 12px 16px;
    border-radius: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    position: relative;
    z-index: 5;
}
.ep-search-bar input {
    border: none;
    outline: none;
    padding: 0;
    font-size: 14px;
    flex: 1;
    background: transparent;
}
.ep-search-bar input:focus {
    box-shadow: none;
    outline: none;
}
.clear-btn {
    color: #999;
    font-size: 16px;
    padding: 0 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.ep-filters {
    padding: 0 16px 8px;
}
.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    color: #666;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s;
    cursor: pointer;
}
.filter-chip.active {
    background: var(--ticket-primary, #6b21a8);
    color: #fff;
    border-color: var(--ticket-primary, #6b21a8);
}
.filter-chip:active {
    transform: scale(.95);
}

.filter-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.filter-select {
    font-size: 12px;
    padding: 6px 28px 6px 10px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    flex: 1;
    cursor: pointer;
    appearance: auto;
}

.ep-result-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 12px;
    font-size: 12px;
    color: #666;
}
.reset-btn {
    font-size: 12px;
    color: var(--ticket-primary, #6b21a8);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile: remove container padding for events page */
@media (max-width: 991.98px) {
    .events-page > .container {
        padding-left: 0;
        padding-right: 0;
    }
    .events-page > .container > .row > .col-lg-9 {
        padding-left: 0;
        padding-right: 0;
    }
    .events-page .ev-events-grid {
        padding: 0 16px;
    }
    .events-page .ev-pagination {
        padding: 0 16px;
    }
    .events-page .ev-empty-state {
        padding: 40px 16px;
    }
}

/* Responsive Events Page */
@media (max-width: 992px) {
    .ev-filters-card {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
    }
    .events-hero-stats {
        gap: 1rem;
    }
    .events-hero-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 768px) {
    .events-hero-banner {
        padding: 1.5rem 0 1.2rem;
    }
    .events-hero-title {
        font-size: 1.3rem;
    }
    .events-hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    .events-hero-stats {
        gap: 1rem;
    }
    .events-hero-stat strong {
        font-size: 1.1rem;
    }
    .events-hero-stat span {
        font-size: 0.75rem;
    }
    .btn-ev-mobile-filter {
        border-radius: 14px;
        padding: 12px 16px;
        font-weight: 600;
        font-size: 0.9rem;
        background: linear-gradient(135deg, #805ad5, #d53f8c);
        color: #fff;
        border: none;
        display: flex;
        align-items: center;
    }
    .btn-ev-mobile-filter:hover,
    .btn-ev-mobile-filter:focus {
        color: #fff;
    }
    .ev-filters-card {
        border-radius: 14px;
        padding: 1rem;
    }
    .events-page .col-6 {
        padding-left: 6px;
        padding-right: 6px;
    }
    .events-page .row.g-3 {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }
}
@media (max-width: 576px) {
    .ev-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .ev-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    .events-hero-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    .events-hero-banner {
        padding: 1.2rem 0 1rem;
    }
    .events-hero-title {
        font-size: 1.15rem;
    }
}

.filters-sidebar {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.filters-header h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 14px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.filter-option:hover {
    background: #e9ecef;
}

.filter-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.filter-option input[type="radio"] {
    display: none;
}

.date-filter-options,
.price-filter-options {
    display: flex;
    flex-direction: column;
}

.custom-date-range {
    padding: 10px;
    background: var(--bg-light);
    border-radius: 10px;
}

/* Events Toolbar */
.events-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.results-count {
    font-size: 15px;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-dropdown {
    display: flex;
    align-items: center;
}

.sort-dropdown label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
    white-space: nowrap;
}

.sort-dropdown .form-select {
    width: auto;
    font-size: 14px;
}

.view-toggle .btn {
    padding: 8px 12px;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.filter-tag button {
    background: none;
    border: none;
    color: white;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.filter-tag button:hover {
    opacity: 1;
}

/* Events List View */
.events-list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.events-list-view .event-list-item {
    width: 100%;
}

.events-list-view .event-card {
    flex-direction: row;
}

.events-list-view .event-card-img-wrapper {
    width: 280px;
    flex-shrink: 0;
}

.events-list-view .event-card-body {
    flex: 1;
}

/* Responsive Filters */
@media (max-width: 992px) {
    .filters-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .events-list-view .event-card {
        flex-direction: column;
    }
    
    .events-list-view .event-card-img-wrapper {
        width: 100%;
    }
}

/* ========================================
   CALENDAR PAGE — redesigned (cal- prefix)
   ======================================== */

/* --- Page wrapper --- */
.cal-page {
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f3f0ff 0%, #ede8fc 40%, #f5f6fa 100%);
    min-height: 100vh;
}

/* --- Hero banner --- */
.cal-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #d53f8c 100%);
    padding: 50px 20px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: -30px;
}
.cal-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30px;
    background: var(--bg-light, #f5f6fa);
    border-radius: 30px 30px 0 0;
}
.cal-hero-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,.18);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
}
.cal-hero-title { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.cal-hero-subtitle { opacity: .85; font-size: 15px; margin: 0; }

.cal-hero-stats {
    display: flex; justify-content: center; gap: 32px;
    margin-top: 28px; flex-wrap: wrap;
}
.cal-stat {
    display: flex; flex-direction: column; align-items: center;
    background: rgba(255,255,255,.14);
    border-radius: 14px; padding: 14px 24px;
    backdrop-filter: blur(6px);
    min-width: 120px;
}
.cal-stat-number { font-size: 26px; font-weight: 800; line-height: 1; }
.cal-stat-label  { font-size: 12px; opacity: .85; margin-top: 4px; }

/* --- Calendar card --- */
.cal-card {
    background: linear-gradient(170deg, #ffffff 0%, #f8f5ff 60%, #f0ebff 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(128,90,213,.1);
    margin-top: 10px;
    border: 1px solid rgba(128,90,213,.08);
}

/* --- Navigation --- */
.cal-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.cal-nav-btn {
    width: 44px; height: 44px; border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(102,126,234,.3);
}
.cal-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102,126,234,.45);
}
.cal-month-title {
    font-weight: 700; font-size: 22px;
    color: var(--text-dark, #1a1a2e);
    min-width: 220px; text-align: center;
    margin: 0; text-transform: capitalize;
}
.cal-month-icon { color: #805ad5; margin-right: 8px; }
.cal-today-btn {
    background: linear-gradient(135deg, #f0ebff, #e8e0ff); color: #805ad5;
    border: 1px solid rgba(128,90,213,.15); border-radius: 10px;
    padding: 8px 18px; font-weight: 600;
    font-size: 13px; cursor: pointer;
    transition: all .2s;
}
.cal-today-btn:hover {
    background: linear-gradient(135deg, #805ad5, #667eea);
    color: #fff;
    box-shadow: 0 4px 14px rgba(128,90,213,.3);
}

/* --- Grid --- */
.cal-grid { width: 100%; }

.cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px; margin-bottom: 8px;
}
.cal-day-header {
    text-align: center; font-weight: 700;
    color: #fff; font-size: 13px;
    text-transform: uppercase; padding: 12px 0;
    background: linear-gradient(135deg, #805ad5, #667eea);
    border-radius: 10px;
    letter-spacing: .5px;
}

.cal-body { display: flex; flex-direction: column; gap: 6px; }

.cal-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day {
    min-height: 110px;
    background: linear-gradient(160deg, #ffffff, #f7f4ff);
    border-radius: 14px;
    padding: 10px;
    position: relative;
    transition: all .2s ease;
    border: 1px solid rgba(128,90,213,.1);
    box-shadow: 0 2px 8px rgba(128,90,213,.04);
}
.cal-day:hover {
    background: linear-gradient(160deg, #f0ebff, #e8e0ff);
    border-color: rgba(128,90,213,.25);
    box-shadow: 0 4px 14px rgba(128,90,213,.1);
    transform: translateY(-2px);
}

.cal-other { opacity: .35; }

.cal-today {
    background: linear-gradient(135deg, rgba(102,126,234,.15), rgba(213,63,140,.12));
    border: 2px solid #805ad5;
    box-shadow: 0 4px 20px rgba(128,90,213,.18);
}
.cal-today .cal-day-num {
    background: linear-gradient(135deg, #667eea, #d53f8c);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(102,126,234,.35);
    font-size: 15px;
}

.cal-has-events { cursor: pointer; }

.cal-day-num {
    font-weight: 700; font-size: 14px;
    color: #4a3b6b;
    margin-bottom: 6px;
}

/* --- Day events pills --- */
.cal-day-events { display: flex; flex-direction: column; gap: 3px; }

.cal-evt {
    display: flex; gap: 5px;
    padding: 4px 8px; border-radius: 8px;
    font-size: 11px; text-decoration: none;
    color: #fff; transition: transform .2s;
    overflow: hidden;
}
.cal-evt:hover { transform: translateX(3px); color: #fff; }

.cal-evt.cat-concerts    { background: linear-gradient(135deg, #FF6B9D, #ee5a6f); }
.cal-evt.cat-sports      { background: linear-gradient(135deg, #10B981, #059669); }
.cal-evt.cat-conferences { background: linear-gradient(135deg, #8B5CF6, #7c3aed); }
.cal-evt.cat-festivals   { background: linear-gradient(135deg, #F59E0B, #d97706); }
.cal-evt.cat-theatre     { background: linear-gradient(135deg, #5B8DEE, #4f72d8); }
.cal-evt.cat-other       { background: linear-gradient(135deg, #6B7280, #4b5563); }

.cal-evt-time { font-weight: 700; flex-shrink: 0; }
.cal-evt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cal-more {
    background: none; border: none;
    color: #805ad5; font-size: 11px;
    font-weight: 600; cursor: pointer;
    text-align: left; padding: 2px 0;
}
.cal-more:hover { text-decoration: underline; }

/* --- Legend --- */
.cal-legend {
    display: flex; flex-wrap: wrap; gap: 18px;
    margin-top: 28px; padding: 18px 24px;
    background: linear-gradient(135deg, #f8f5ff, #f0ebff);
    border-radius: 14px;
    justify-content: center;
    border: 1px solid rgba(128,90,213,.08);
}
.cal-legend-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-light, #6c757d); font-weight: 500;
}
.cal-legend-dot {
    width: 14px; height: 14px; border-radius: 6px;
}
.cal-legend-dot.concerts    { background: linear-gradient(135deg, #FF6B9D, #ee5a6f); }
.cal-legend-dot.sports      { background: linear-gradient(135deg, #10B981, #059669); }
.cal-legend-dot.conferences { background: linear-gradient(135deg, #8B5CF6, #7c3aed); }
.cal-legend-dot.festivals   { background: linear-gradient(135deg, #F59E0B, #d97706); }
.cal-legend-dot.theatre     { background: linear-gradient(135deg, #5B8DEE, #4f72d8); }

/* --- Modal (day detail) --- */
.cal-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1050; padding: 20px;
}
.cal-modal {
    background: #fff; border-radius: 22px;
    max-width: 520px; width: 100%;
    max-height: 80vh; overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.25);
    animation: calModalIn .3s ease;
}
@keyframes calModalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

.cal-modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}
.cal-modal-date { font-weight: 700; font-size: 16px; text-transform: capitalize; }
.cal-modal-close {
    background: rgba(255,255,255,.2); border: none;
    width: 36px; height: 36px; border-radius: 10px;
    color: #fff; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.cal-modal-close:hover { background: rgba(255,255,255,.35); }

.cal-modal-body { padding: 20px 24px; overflow-y: auto; max-height: 60vh; }

.cal-modal-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; background: #fafbfe;
    border-radius: 14px; margin-bottom: 12px;
    text-decoration: none; color: inherit;
    border: 2px solid transparent;
    transition: all .2s;
}
.cal-modal-card:hover {
    border-color: #805ad5;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(128,90,213,.12);
}

.cal-modal-time {
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    font-weight: 700; color: #805ad5;
    font-size: 14px; min-width: 54px;
}
.cal-modal-info { flex: 1; }
.cal-modal-info h5 { margin: 0 0 6px; font-weight: 600; color: var(--text-dark, #1a1a2e); font-size: 15px; }

.cal-modal-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }

.cal-modal-badge {
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; color: #fff;
}
.cal-modal-badge.cat-concerts    { background: #FF6B9D; }
.cal-modal-badge.cat-sports      { background: #10B981; }
.cal-modal-badge.cat-conferences { background: #8B5CF6; }
.cal-modal-badge.cat-festivals   { background: #F59E0B; }
.cal-modal-badge.cat-theatre     { background: #5B8DEE; }
.cal-modal-badge.cat-other       { background: #6B7280; }

.cal-modal-venue { font-size: 13px; color: var(--text-light, #6c757d); }
.cal-modal-price { font-size: 13px; font-weight: 600; color: #d53f8c; }

.cal-modal-arrow { color: #805ad5; font-size: 22px; }

/* --- Upcoming events --- */
.cal-upcoming {
    margin-top: 40px;
}
.cal-upcoming-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px;
}
.cal-upcoming-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 14px; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.cal-upcoming-title { margin: 0; font-weight: 700; font-size: 20px; color: var(--text-dark, #1a1a2e); }
.cal-upcoming-sub   { margin: 0; font-size: 13px; color: var(--text-light, #6c757d); }

.cal-upcoming-list {
    display: flex; flex-direction: column; gap: 14px;
}

.cal-upcoming-item {
    display: flex; align-items: center; gap: 18px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
    text-decoration: none; color: inherit;
    border: 2px solid transparent;
    transition: all .25s;
}
.cal-upcoming-item:hover {
    border-color: #805ad5;
    transform: translateX(6px);
    box-shadow: 0 6px 24px rgba(128,90,213,.12);
}

.cal-upcoming-date {
    display: flex; flex-direction: column; align-items: center;
    background: linear-gradient(135deg, #667eea, #d53f8c);
    color: #fff; padding: 10px 16px;
    border-radius: 14px; min-width: 62px;
}
.cal-upcoming-day   { font-size: 24px; font-weight: 800; line-height: 1; }
.cal-upcoming-month { font-size: 11px; font-weight: 600; margin-top: 2px; }

.cal-upcoming-details { flex: 1; }
.cal-upcoming-details h5 { margin: 0 0 6px; font-weight: 600; color: var(--text-dark, #1a1a2e); font-size: 15px; }

.cal-upcoming-meta {
    display: flex; gap: 14px; font-size: 13px;
    color: var(--text-light, #6c757d); margin-bottom: 6px;
}
.cal-upcoming-meta i { margin-right: 3px; }

.cal-upcoming-cat {
    display: inline-block;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; color: #fff;
}
.cal-upcoming-cat.cat-concerts    { background: #FF6B9D; }
.cal-upcoming-cat.cat-sports      { background: #10B981; }
.cal-upcoming-cat.cat-conferences { background: #8B5CF6; }
.cal-upcoming-cat.cat-festivals   { background: #F59E0B; }
.cal-upcoming-cat.cat-theatre     { background: #5B8DEE; }
.cal-upcoming-cat.cat-other       { background: #6B7280; }

.cal-upcoming-action {
    width: 38px; height: 38px;
    background: #f0ebff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #805ad5; font-size: 16px;
    transition: all .2s;
}
.cal-upcoming-item:hover .cal-upcoming-action {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

/* --- Empty state --- */
.cal-empty {
    text-align: center; padding: 50px 20px;
    background: #fff; border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.cal-empty-icon {
    width: 80px; height: 80px;
    background: #f0ebff; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 36px; color: #805ad5;
    margin-bottom: 16px;
}
.cal-empty h4 { font-weight: 700; color: var(--text-dark, #1a1a2e); margin-bottom: 6px; }
.cal-empty p  { color: var(--text-light, #6c757d); font-size: 14px; margin: 0; }

/* --- Calendar Events Grid (card style like mobile) --- */
.cal-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cal-event-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    transition: transform .25s, box-shadow .25s;
    border: 2px solid transparent;
}
.cal-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(128,90,213,.15);
    border-color: #805ad5;
}
.cal-event-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.cal-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.cal-event-card:hover .cal-event-img img {
    transform: scale(1.05);
}
.cal-event-date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    line-height: 1;
}
.cal-event-date-badge .day {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #805ad5;
}
.cal-event-date-badge .month {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cal-event-body {
    padding: 14px;
}
.cal-event-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #805ad5;
    background: rgba(128,90,213,.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}
.cal-event-body h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cal-event-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.cal-event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cal-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.cal-event-price .amount {
    font-size: 16px;
    font-weight: 800;
    color: #805ad5;
}
.cal-event-reserve {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .2s;
}
.cal-event-card:hover .cal-event-reserve {
    background: linear-gradient(135deg, #764ba2, #d53f8c);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .cal-events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .cal-hero { padding: 36px 16px 50px; }
    .cal-hero-title { font-size: 22px; }
    .cal-hero-stats { gap: 14px; }
    .cal-stat { padding: 10px 16px; min-width: 100px; }
    .cal-stat-number { font-size: 20px; }
}
@media (max-width: 768px) {
    .cal-card { padding: 12px; border-radius: 14px; overflow-x: auto; }
    .cal-nav { gap: 8px; flex-wrap: nowrap; }
    .cal-nav-btn { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
    .cal-month-title { font-size: 15px; min-width: auto; }
    .cal-today-btn { padding: 6px 12px; font-size: 12px; }
    .cal-grid { min-width: 0; }
    .cal-header { gap: 3px; }
    .cal-week { gap: 3px; }
    .cal-day { min-height: 52px; padding: 4px; border-radius: 8px; }
    .cal-day-num { font-size: 12px; margin-bottom: 2px; }
    .cal-day-header { padding: 8px 0; font-size: 10px; border-radius: 6px; }
    .cal-evt { padding: 2px 4px; font-size: 8px; border-radius: 4px; }
    .cal-evt-time { display: none; }
    .cal-evt-name { font-size: 8px; }
    .cal-more { font-size: 9px; }
    .cal-today .cal-day-num { width: 26px; height: 26px; font-size: 12px; }
    .cal-upcoming-item { flex-wrap: wrap; gap: 12px; }
    .cal-hero { padding: 24px 16px 40px; margin-bottom: -10px; }
    .cal-hero::after { height: 16px; }
    .cal-hero-icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 10px; }
    .cal-hero-title { font-size: 18px; }
    .cal-hero-subtitle { font-size: 12px; }
    .cal-hero-stats { flex-direction: row; flex-wrap: nowrap; gap: 8px; justify-content: center; margin-top: 16px; }
    .cal-stat { padding: 8px 10px; min-width: 80px; flex: 1; border-radius: 10px; }
    .cal-stat-number { font-size: 16px; }
    .cal-stat-label { font-size: 9px; }
    .cal-card { margin-top: 16px; }
    .cal-legend { gap: 10px; padding: 12px 16px; }
    .cal-legend-item { font-size: 11px; }
    .cal-events-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cal-event-card { border-radius: 12px; }
    .cal-event-img { aspect-ratio: 16 / 10; }
    .cal-event-date-badge { top: 6px; left: 6px; padding: 4px 8px; border-radius: 8px; }
    .cal-event-date-badge .day { font-size: 16px; }
    .cal-event-date-badge .month { font-size: 8px; }
    .cal-event-body { padding: 10px; }
    .cal-event-body h4 { font-size: 12px; margin-bottom: 4px; }
    .cal-event-category { font-size: 8px; padding: 1px 6px; margin-bottom: 4px; }
    .cal-event-meta span { font-size: 11px; }
    .cal-event-footer { padding-top: 8px; }
    .cal-event-price .amount { font-size: 13px; }
    .cal-event-reserve { font-size: 11px; padding: 5px 12px; }
    .cal-upcoming { margin-top: 20px; }
    .cal-upcoming-header { margin-bottom: 14px; }
    .cal-upcoming-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
    .cal-upcoming-title { font-size: 16px; }
}

/* ========================================
   CART PAGE STYLES
   ======================================== */

/* Empty Cart */
.empty-cart-icon {
    font-size: 100px;
    color: #dee2e6;
}

.empty-cart-icon i {
    display: block;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.2s;
}

.cart-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 120px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.cart-item-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.cart-item-header h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.cart-item-header h4 a:hover {
    color: var(--primary-color);
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

.cart-item-ticket {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticket-type-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.ticket-price {
    font-size: 14px;
    color: var(--text-light);
}

.cart-item-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cart-item-quantity .quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity .quantity-value {
    font-weight: 700;
    font-size: 16px;
    min-width: 30px;
    text-align: center;
}

.cart-item-quantity .item-total {
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
}

/* Order Summary */
.order-summary {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.order-summary h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.summary-items {
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.summary-divider {
    height: 1px;
    background: var(--bg-light);
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 10px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.summary-total span:last-child {
    color: var(--secondary-color);
}

.secure-info {
    padding-top: 15px;
    border-top: 1px solid var(--bg-light);
}

.payment-methods {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: white;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px;
    transition: all 0.25s;
    cursor: default;
}
.payment-badge:hover {
    border-color: #805ad5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128,90,213,0.12);
}
.payment-badge svg {
    width: 100%;
    height: 100%;
}

.cart-warning {
    padding: 15px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    color: #B45309;
    font-size: 13px;
}

/* Cart Badge in Header */
.cart-action .cart-badge {
    background: var(--secondary-color);
}

/* Cart Responsive */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 150px;
    }
    
    .cart-item-quantity {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid var(--bg-light);
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-actions .btn {
        width: 100%;
    }
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-container {
    background: var(--bg-light);
    min-height: 100vh;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.step.active {
    color: var(--primary-color);
}

.step.completed {
    color: #10B981;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

.step-line {
    width: 80px;
    height: 3px;
    background: #e5e7eb;
    margin: 0 15px;
}

.step-line.active {
    background: linear-gradient(90deg, #10B981, var(--primary-color));
}

.checkout-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.checkout-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-light);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item .item-image {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item .item-info {
    flex: 1;
}

.checkout-item .item-info h5 {
    margin: 0 0 8px;
    font-weight: 600;
}

.checkout-item .item-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.checkout-item .item-ticket-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-item .item-ticket-type .badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 12px;
    padding: 4px 12px;
}

.checkout-item .item-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
}

.promo-section h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-section .input-group {
    max-width: 400px;
}

.order-summary-checkout {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.order-summary-checkout h4 {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.summary-details {
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.summary-row.discount {
    color: #10B981;
}

.summary-divider {
    height: 2px;
    background: var(--bg-light);
    margin: 15px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--secondary-color);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background: rgba(91, 141, 238, 0.05);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background: rgba(91, 141, 238, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.method-icon.orange-money {
    background: linear-gradient(135deg, #FF6B00, #FF9500);
}

.method-icon.mtn-momo {
    background: linear-gradient(135deg, #FFC300, #FFDD00);
    color: #000;
}

.method-info {
    flex: 1;
}

.method-info h5 {
    margin: 0 0 5px;
    font-weight: 600;
}

.method-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-light);
}

.method-check {
    color: var(--primary-color);
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.payment-method.selected .method-check {
    opacity: 1;
}

.reservation-timer {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
}

.reservation-timer.warning {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.phone-input-section {
    max-width: 400px;
}

.mini-cart {
    margin-bottom: 15px;
}

.mini-cart-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
}

.secure-badge {
    text-align: center;
    padding: 15px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    font-size: 14px;
    color: #059669;
}

/* Confirmation */
.confirmation-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    color: #10B981;
    margin-bottom: 20px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.confirmation-card h2 {
    color: #10B981;
    margin-bottom: 10px;
}

.confirmation-details {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    display: grid;
    gap: 15px;
}

.confirmation-details .detail-item {
    display: flex;
    justify-content: space-between;
}

.confirmation-details .label {
    color: var(--text-light);
}

.confirmation-details .value {
    font-weight: 600;
}

.info-message {
    color: var(--text-light);
    font-size: 14px;
}

/* Checkout Responsive */
@media (max-width: 768px) {
    .checkout-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step-line {
        display: none;
    }
    
    .checkout-item {
        flex-wrap: wrap;
    }
    
    .checkout-item .item-price {
        width: 100%;
        text-align: right;
        margin-top: 10px;
    }
    
    .confirmation-card {
        padding: 30px 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* ========================================
   SOCIAL SHARE BUTTONS
   ======================================== */

.share-buttons {
    margin-left: auto;
}

.share-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn i {
    font-size: 16px;
}

/* Facebook */
.share-btn.btn-outline-primary:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: white;
}

/* Twitter/X */
.share-btn.btn-outline-info:hover {
    background: #000;
    border-color: #000;
    color: white;
}

/* WhatsApp */
.share-btn.btn-success {
    background: #25D366;
    border-color: #25D366;
}

.share-btn.btn-success:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* Copy Link */
.share-btn.btn-outline-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

@media (max-width: 576px) {
    .event-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .share-buttons {
        margin-left: 0;
        justify-content: center;
    }
}

/* Category Cards */
.categories-carousel {
    position: relative;
    padding: 0;
}
.cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 18px rgba(124,58,237,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s, transform .2s, box-shadow .2s, background .2s;
    color: var(--primary-color);
    font-size: 1.2rem;
}
.categories-carousel:hover .cat-arrow {
    opacity: 1;
}
.cat-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 22px rgba(124,58,237,.4);
    transform: translateY(-50%) scale(1.1);
}
.cat-arrow-left {
    left: -8px;
}
.cat-arrow-right {
    right: -8px;
}
.categories-track {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}
.categories-track::-webkit-scrollbar {
    display: none;
}
.cat-slide {
    flex: 1 1 0;
    min-width: 0;
}

.category-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: none !important;
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    border-radius: 20px;
    display: block;
}

.category-card:hover .category-card-img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15,10,30,.85) 0%, rgba(15,10,30,.4) 50%, transparent 100%);
    padding: 18px 16px;
    color: white;
    z-index: 2;
}

.category-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: white !important;
}

.category-card-subtitle {
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    margin-top: 3px;
    display: block;
}

.category-card-subtitle i {
    margin-right: 4px;
    font-size: .75rem;
}

.category-card-count {
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    margin-top: 2px;
    display: block;
}

/* Footer */
.main-footer {
    background: #0f0a1e;
    color: #9ca3af;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}
.main-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-bar);
}

/* ── New compact footer layout ── */
.mf-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px 24px; }

.mf-brand-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.mf-brand-info { max-width: 380px; }
.mf-brand-info img { margin-bottom: 12px; display: block; }
.mf-brand-info p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; margin: 0; }
.mf-social-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.mf-social-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 1rem; text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.mf-social-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

.mf-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
    margin-bottom: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 28px;
}
.mf-col h4 {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #fff; margin: 0 0 12px;
    position: relative; padding-bottom: 10px;
}
.mf-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}
.mf-subhead { margin-top: 20px !important; }
.mf-col a, .mf-contact {
    display: block; font-size: 0.82rem; color: rgba(255,255,255,0.6);
    text-decoration: none; margin-bottom: 8px;
    transition: color 0.2s;
}
.mf-col a:hover { color: #fff; }

.mf-newsletter {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 24px; margin-bottom: 24px;
}
.mf-nl-text h4 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.mf-nl-text p { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin: 0; }
.mf-nl-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 260px; position: relative; }
.mf-nl-form input {
    flex: 1; min-width: 180px; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
    padding: 10px 14px; color: #fff; font-size: 0.85rem; outline: none;
}
.mf-nl-form input::placeholder { color: rgba(255,255,255,0.3); }
.mf-nl-form button {
    padding: 10px 20px; background: var(--primary-color); color: #fff;
    border: none; border-radius: 10px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.mf-nl-form button:disabled { opacity: 0.6; }
.mf-nl-msg { font-size: 0.8rem; width: 100%; padding: 6px 10px; border-radius: 8px; }
.mf-nl-msg.ok { background: rgba(34,197,94,0.15); color: #4ade80; }
.mf-nl-msg.err { background: rgba(239,68,68,0.15); color: #f87171; }

.mf-bottom {
    border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px;
    text-align: center; color: rgba(255,255,255,0.4); font-size: 0.78rem;
}

/* Responsive footer */
@media (max-width: 768px) {
    .mf-brand-row { flex-direction: column; gap: 16px; margin-bottom: 24px; }
    .mf-brand-info { max-width: 100%; }
    .mf-links-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .mf-newsletter { flex-direction: column; gap: 16px; }
    .mf-nl-form { width: 100%; }
}
@media (max-width: 480px) {
    .mf-inner { padding: 28px 16px 16px; }
    .mf-col h4 { font-size: 0.74rem; }
    .mf-col a, .mf-contact { font-size: 0.78rem; }
}

/* ============ Hero Carousel ============ */

/* --- Categories Horizontal Scroll --- */
.categories-scroll-wrapper {
    position: relative;
}
.categories-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 0 8px;
}
.categories-scroll-container::-webkit-scrollbar {
    display: none;
}
.category-scroll-item {
    flex: 0 0 180px;
    scroll-snap-align: start;
}
.cat-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.95);
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    font-size: 14px;
    opacity: 0;
}
.categories-scroll-wrapper:hover .cat-scroll-arrow {
    opacity: 1;
}
.cat-scroll-arrow:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #333;
}
.cat-scroll-left {
    left: -12px;
}
.cat-scroll-right {
    right: -12px;
}

.hero-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    contain: layout paint;     /* isolate layout/paint for performance */
}

.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-carousel .promo-banner-card {
    border-radius: 0;
    padding: 60px 60px;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-color: #2d1b69;
}
.hero-carousel .promo-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.6) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.3) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-carousel .promo-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-carousel .promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.92);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    animation: badgePop .6s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes badgePop { from { opacity:0; transform: scale(.6) translateY(10px); } to { opacity:1; transform: scale(1) translateY(0); } }

.hero-carousel .promo-title {
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
    animation: slideUp .7s .15s cubic-bezier(.16,1,.3,1) both;
}

.hero-carousel .promo-meta {
    color: rgba(255,255,255,.85);
    font-size: .95rem;
    margin-bottom: 18px;
    animation: slideUp .7s .3s cubic-bezier(.16,1,.3,1) both;
}

.hero-carousel .promo-price {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 22px;
    animation: slideUp .7s .4s cubic-bezier(.16,1,.3,1) both;
}

.hero-carousel .promo-price strong {
    font-size: 1.1rem;
}

.hero-carousel .btn-reserve {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    border: none;
    animation: slideUp .7s .5s cubic-bezier(.16,1,.3,1) both;
    width: fit-content;
    box-shadow: 0 4px 20px rgba(124,58,237,.45);
}

.hero-carousel .btn-reserve:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124,58,237,.6);
    color: #fff;
}

@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

.hero-carousel .promo-decoration {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 160px;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
    pointer-events: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.hero-carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(124,58,237,.3);
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

.carousel-dots .dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
    transform: none;
}

@media (max-width: 768px) {
    .hero-carousel .promo-banner-card {
        padding: 35px 25px;
        min-height: 320px;
        justify-content: center;
    }
    .hero-carousel .promo-content { 
        max-width: 100%; 
        width: 100%;
        align-items: center; 
        text-align: center; 
    }
    .hero-carousel .promo-title { font-size: 24px; }
    .hero-carousel .promo-meta { font-size: 13px; }
    .hero-carousel .promo-decoration { display: none; }
    .hero-carousel .btn-reserve { 
        display: block; 
        width: 100%; 
        text-align: center; 
    }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(91, 141, 238, 0.15), rgba(255, 107, 157, 0.15));
    border-radius: 20px;
    padding: 35px 40px;
    margin: 40px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-section h4 {
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin-left: auto;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 141, 238, 0.2);
    color: white;
}

.newsletter-form .btn-primary {
    border-radius: 0 12px 12px 0;
    padding: 15px 25px;
    font-weight: 600;
}

.newsletter-message {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
}

.newsletter-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

@media (max-width: 992px) {
    .newsletter-section {
        text-align: center;
    }
    
    .newsletter-form .input-group {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .newsletter-section {
        padding: 25px 20px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn-primary {
        border-radius: 12px;
        width: 100%;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 10px 25px rgba(91,141,238,0.3);
}

/* ======================== LOGIN PAGE ======================== */
.login-page {
    display: flex;
    min-height: 100vh;
    background: #f5f3ff;
}

/* --- Left Branding Panel --- */
.login-brand {
    flex: 0 0 45%;
    background: linear-gradient(135deg, #667eea 0%, #805ad5 40%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}
.login-brand::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.login-brand::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.login-brand-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 420px;
}
.login-brand-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.login-logo-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    backdrop-filter: blur(10px);
}
.login-brand-logo h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0;
}
.login-brand-tagline {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 48px;
}
.login-brand-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.login-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.92;
}
.login-feature i {
    font-size: 22px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

/* --- Right Form Panel --- */
.login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
}
.login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 8px 40px rgba(128,90,213,0.08);
}
.login-header {
    text-align: center;
    margin-bottom: 32px;
}
.login-mobile-logo {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #805ad5;
    margin-bottom: 24px;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 2px;
}
.login-logo-sm {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #667eea, #805ad5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.login-title {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #805ad5, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px;
}
.login-subtitle {
    color: #718096;
    font-size: 15px;
    margin: 0;
}

/* Alert */
.login-alert {
    background: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    border: 1px solid #fed7d7;
    margin-bottom: 24px;
}

/* Form Fields */
.login-field {
    margin-bottom: 20px;
}
.login-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}
.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.login-input-icon {
    position: absolute;
    left: 16px;
    color: #a0aec0;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}
.login-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    color: #2d3748;
    background: #f7fafc;
    transition: all 0.25s;
}
.login-input:focus {
    outline: none;
    border-color: #805ad5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(128,90,213,0.1);
}
.login-input::placeholder {
    color: #cbd5e0;
}
.login-eye-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    transition: color 0.2s;
}
.login-eye-btn:hover {
    color: #805ad5;
}

/* Options row */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    user-select: none;
}
.login-remember input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #805ad5;
    border-radius: 4px;
    cursor: pointer;
}
.login-forgot {
    font-size: 14px;
    color: #805ad5;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.login-forgot:hover {
    color: #667eea;
    text-decoration: underline;
}

/* Submit Button */
.login-submit {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #805ad5, #667eea);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 18px rgba(128,90,213,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(128,90,213,0.4);
}
.login-submit:active:not(:disabled) {
    transform: translateY(0);
}
.login-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    color: #a0aec0;
    font-size: 13px;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}
.login-divider span {
    padding: 0 16px;
    white-space: nowrap;
}

/* Social Buttons */
.login-social {
    display: flex;
    gap: 12px;
}
.login-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.25s;
}
.login-social-btn:hover {
    border-color: #805ad5;
    background: #faf5ff;
    color: #805ad5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128,90,213,0.1);
}
.login-social-btn.facebook i {
    color: #1877f2;
    font-size: 18px;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #f0edf6;
    font-size: 14px;
    color: #718096;
}
.login-footer a {
    color: #805ad5;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}
.login-footer a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* === FORGOT / RESET PASSWORD STYLES === */
.forgot-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(128, 90, 213, 0.15);
    animation: forgot-icon-float 3s ease-in-out infinite;
}
.forgot-icon {
    font-size: 36px;
    background: linear-gradient(135deg, #805ad5, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes forgot-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.forgot-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.forgot-subtitle {
    text-align: center;
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* Alert */
.forgot-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    animation: forgot-alert-in 0.3s ease;
}
@keyframes forgot-alert-in {
    from { transform: translateY(-8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.forgot-alert-error {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* Form */
.forgot-form-group {
    margin-bottom: 24px;
}
.forgot-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.forgot-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.forgot-input-icon {
    position: absolute;
    left: 16px;
    font-size: 18px;
    color: #a0aec0;
    pointer-events: none;
    transition: color 0.2s;
}
.forgot-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    color: #2d3748;
    background: #f7fafc;
    transition: all 0.3s;
    outline: none;
}
.forgot-input:focus {
    border-color: #805ad5;
    background: white;
    box-shadow: 0 0 0 4px rgba(128, 90, 213, 0.1);
}
.forgot-input:focus + .forgot-input-icon,
.forgot-input-wrap:focus-within .forgot-input-icon {
    color: #805ad5;
}

/* Submit Button */
.forgot-submit-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #805ad5, #667eea);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(128, 90, 213, 0.25);
}
.forgot-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 90, 213, 0.35);
}
.forgot-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}
.forgot-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* === Email Sent Section === */
.forgot-sent-section {
    text-align: center;
    padding: 8px 0 16px;
    animation: forgot-sent-in 0.5s ease;
}
@keyframes forgot-sent-in {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.forgot-sent-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}
.forgot-sent-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ede9fe, #c4b5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: forgot-circle-pulse 2s ease-in-out infinite;
}
.forgot-sent-circle i {
    font-size: 40px;
    color: #7c3aed;
}
@keyframes forgot-circle-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.2); }
    50% { box-shadow: 0 0 0 16px rgba(124, 58, 237, 0); }
}
.forgot-sent-checkmark {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    animation: forgot-check-pop 0.4s ease 0.3s both;
}
.forgot-sent-checkmark i {
    font-size: 14px;
    color: white;
}
@keyframes forgot-check-pop {
    from { transform: scale(0); }
    50% { transform: scale(1.3); }
    to { transform: scale(1); }
}
.forgot-sent-title {
    font-size: 24px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 8px;
}
.forgot-sent-text {
    font-size: 14px;
    color: #718096;
    margin-bottom: 4px;
}
.forgot-sent-email {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    color: #5b21b6;
    font-size: 14px;
    margin: 8px 0 20px;
}
.forgot-sent-info {
    background: #f7fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.forgot-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: #4a5568;
}
.forgot-info-item i {
    color: #805ad5;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Resend Button */
.forgot-resend-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #4a5568;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.forgot-resend-btn:hover:not(:disabled) {
    border-color: #805ad5;
    color: #805ad5;
    background: #f5f3ff;
}
.forgot-resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.forgot-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #f0edf6;
}
.forgot-back-link {
    color: #805ad5;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.forgot-back-link:hover {
    color: #667eea;
    gap: 8px;
}

/* Countdown bar */
.forgot-countdown {
    margin-top: 20px;
}
.forgot-countdown-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}
.forgot-countdown-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 2px;
    animation: forgot-countdown-shrink linear forwards;
}
@keyframes forgot-countdown-shrink {
    from { width: 100%; }
    to { width: 0%; }
}
.forgot-countdown-text {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

/* Password strength meter */
.password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.password-strength-bar {
    height: 5px;
    border-radius: 3px;
    transition: all 0.4s ease;
}
.strength-weak { background: linear-gradient(90deg, #e53e3e, #fc8181); width: 25%; }
.strength-fair { background: linear-gradient(90deg, #ed8936, #fbd38d); width: 50%; }
.strength-good { background: linear-gradient(90deg, #48bb78, #9ae6b4); width: 75%; }
.strength-strong { background: linear-gradient(90deg, #38a169, #68d391); width: 100%; }
.password-strength-text {
    font-size: 12px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .login-brand { display: none; }
    .login-mobile-logo { display: flex !important; }
    .login-page { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); }
}
@media (max-width: 576px) {
    .login-card { padding: 32px 24px; border-radius: 20px; }
    .login-title { font-size: 22px; }
    .login-social { flex-direction: column; }
}

/* ======================== AUTH (REGISTER) PAGE ======================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 180px);
    padding: 48px 16px 64px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #e0e7ff 100%);
}

.auth-card {
    width: 100%;
    max-width: 580px;
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.12), 0 4px 20px rgba(0,0,0,0.06);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.auth-logo img {
    height: 52px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.auth-header .text-muted {
    font-size: 15px;
    color: #6b7280;
}

.auth-container .form-label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.auth-container .input-group-text {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-right: none;
    color: #9ca3af;
    font-size: 16px;
    padding: 10px 14px;
}

.auth-container .form-control {
    border: 2px solid #e5e7eb;
    border-left: none;
    padding: 10px 16px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-container .input-group:focus-within .input-group-text,
.auth-container .input-group:focus-within .form-control {
    border-color: #667eea;
    box-shadow: none;
}

.auth-container .input-group:focus-within .input-group-text {
    color: #667eea;
}

.auth-container .form-control:focus {
    box-shadow: none;
}

.auth-container .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-container .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.auth-container .btn-primary:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.auth-container .btn-outline-secondary {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.auth-container .btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 28px 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 16px;
    color: #9ca3af;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 15px;
}

.auth-footer a,
.auth-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover,
.auth-link:hover {
    color: #5a6fd6;
    text-decoration: underline;
}

.auth-container .form-check-label {
    font-size: 14px;
    color: #4b5563;
}

.auth-container .form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 32px 20px;
        border-radius: 20px;
    }
    .auth-header h2 {
        font-size: 22px;
    }
}

/* Ticket Card */
.ticket-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.ticket-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.ticket-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-card-body {
    padding: 25px;
}

.ticket-qr {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
}

.ticket-qr img {
    max-width: 200px;
    border-radius: 10px;
}

.ticket-status {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-status.valid {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.ticket-status.used {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.ticket-status.cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Enhanced Ticket Card */
.ticket-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s;
    border-left: 5px solid var(--primary-color);
}

.ticket-card-enhanced:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.ticket-card-enhanced.valid {
    border-left-color: #22c55e;
}

.ticket-card-enhanced.used {
    border-left-color: #6b7280;
    opacity: 0.7;
}

.ticket-card-enhanced.cancelled {
    border-left-color: #ef4444;
    opacity: 0.6;
}

.ticket-card-enhanced.transferred {
    border-left-color: #3b82f6;
}

.ticket-status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.ticket-status-indicator.valid {
    background: #22c55e;
}

.ticket-status-indicator.used {
    background: #6b7280;
}

.ticket-status-indicator.cancelled {
    background: #ef4444;
}

.ticket-status-indicator.transferred {
    background: #3b82f6;
}

.ticket-card-enhanced .ticket-card-body {
    padding: 25px;
}

.ticket-event-info h5 {
    margin: 0 0 10px;
    font-weight: 700;
    padding-right: 45px;
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.ticket-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 15px;
}

.ticket-detail-item {
    text-align: center;
}

.ticket-detail-item .label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.ticket-detail-item .value {
    font-weight: 600;
    font-size: 13px;
}

.ticket-actions {
    display: flex;
    gap: 10px;
}

.ticket-price-tag {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 15px 0 0 0;
    font-weight: 700;
    font-size: 14px;
}

/* Tickets Filters */
.tickets-filters {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tickets-tabs .nav-link {
    font-weight: 600;
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
}

.tickets-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

/* Transfer & Cancel Modals */
.ticket-preview {
    border-left: 4px solid var(--primary-color);
}

.refund-summary table {
    margin-bottom: 0;
}

.refund-summary table tr:last-child td {
    border-bottom: none;
}

.modal-header.bg-info .btn-close-white,
.modal-header.bg-danger .btn-close-white {
    filter: brightness(0) invert(1);
}

.dropdown-menu {
    min-width: 160px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
}

.dropdown-item.text-danger:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

/* =====================================================
   NOTIFICATIONS
   ===================================================== */

/* Notification Bell */
.notification-bell-container {
    display: flex;
    align-items: center;
}

.notification-bell-container .btn-icon {
    background: none;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.2s;
}

.notification-bell-container .btn-icon:hover {
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.notification-dropdown-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-dropdown-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.no-notifications {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.no-notifications i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.notification-item:hover {
    background: var(--bg-light);
}

.notification-item.unread {
    background: rgba(91, 141, 238, 0.05);
}

.notification-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon-wrapper.info { background: rgba(91, 141, 238, 0.15); color: var(--primary-color); }
.notification-icon-wrapper.success { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.notification-icon-wrapper.warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.notification-icon-wrapper.alert { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.notification-icon-wrapper.event { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.notification-icon-wrapper.purchase { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.notification-icon-wrapper.favorite { background: rgba(255, 107, 157, 0.15); color: var(--secondary-color); }
.notification-icon-wrapper.promo { background: rgba(255, 165, 0, 0.15); color: var(--accent-color); }
.notification-icon-wrapper.transfer { background: rgba(14, 165, 233, 0.15); color: #0ea5e9; }
.notification-icon-wrapper.refund { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.notification-message {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 11px;
    color: var(--text-light);
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
    margin-top: 6px;
}

.notification-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

/* Notifications Page */
.notification-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-dark);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.notification-date-group .date-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: capitalize;
    margin-bottom: 12px;
}

.notification-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.notification-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.notification-card.unread {
    border-left: 4px solid var(--primary-color);
}

.notification-card .notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.notification-card .notification-icon.info { background: rgba(91, 141, 238, 0.15); color: var(--primary-color); }
.notification-card .notification-icon.success { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.notification-card .notification-icon.warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.notification-card .notification-icon.alert { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.notification-card .notification-icon.event { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.notification-card .notification-icon.purchase { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.notification-card .notification-icon.favorite { background: rgba(255, 107, 157, 0.15); color: var(--secondary-color); }
.notification-card .notification-icon.promo { background: rgba(255, 165, 0, 0.15); color: var(--accent-color); }
.notification-card .notification-icon.transfer { background: rgba(14, 165, 233, 0.15); color: #0ea5e9; }
.notification-card .notification-icon.refund { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.notification-card .notification-body {
    flex: 1;
    cursor: pointer;
}

.notification-card .notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-card .notification-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
}

.notification-card .notification-message {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.notification-card .notification-link {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.notification-card .notification-link:hover {
    text-decoration: underline;
}

.notification-card .notification-time {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
}

.notification-card .notification-actions {
    display: flex;
    gap: 5px;
}

.notification-card .notification-actions .btn-icon {
    padding: 8px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.notification-card:hover .notification-actions .btn-icon {
    opacity: 1;
}

/* =====================================================
   ORDERS PAGE
   ===================================================== */

.orders-filters {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-summary {
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.order-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.order-number {
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 12px;
}

.order-date {
    font-size: 13px;
    color: var(--text-light);
}

.order-body {
    padding: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 24px;
}

.order-item-details {
    flex: 1;
}

.order-item-details h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.item-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.order-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.order-total {
    display: flex;
    gap: 10px;
    align-items: center;
}

.order-total strong {
    font-size: 18px;
    color: var(--primary-color);
}

.order-actions {
    display: flex;
    gap: 10px;
}

/* =====================================================
   REVIEWS PAGE
   ===================================================== */

.reviews-tabs .nav-link {
    font-weight: 600;
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
}

.reviews-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

.review-pending-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
}

.review-pending-card .event-image {
    width: 150px;
    flex-shrink: 0;
}

.review-pending-card .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-pending-card .event-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.review-pending-card .event-info {
    padding: 20px;
    flex: 1;
}

.review-pending-card .event-info h5 {
    margin: 0 0 10px 0;
    font-weight: 700;
}

.review-pending-card .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-event h6 {
    margin: 0;
    font-weight: 700;
}

.review-rating {
    display: flex;
    gap: 2px;
    font-size: 16px;
}

.review-comment {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

.review-actions {
    display: flex;
    gap: 8px;
}

/* Star Rating in Modal */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star-btn {
    background: none;
    border: none;
    font-size: 36px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.star-btn:hover,
.star-btn.active {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-text {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
   BECOME ORGANIZER PAGE
   ===================================================== */

.organizer-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}

.organizer-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.organizer-hero .lead {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 12px;
    font-size: 16px;
}

.benefits-list li i {
    margin-right: 10px;
}

.signup-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.signup-progress {
    position: relative;
    padding-bottom: 20px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-steps .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
}

.progress-steps .step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.progress-steps .step.completed .step-number {
    background: #22c55e;
    color: white;
}

.progress-steps .step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.progress-steps .step.active .step-label {
    color: var(--primary-color);
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s;
}

.categories-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.categories-checkboxes .form-check {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-card h5 {
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* Alert */
.alert-custom {
    padding: 16px 24px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-custom.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.alert-custom.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.alert-custom.info {
    background: rgba(91, 141, 238, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(91, 141, 238, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .search-container {
        margin: 15px 0;
        max-width: 100%;
    }

    .header-actions {
        gap: 10px;
    }

    .promo-banner {
        padding: 30px;
    }

    .promo-content h2 {
        font-size: 32px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .event-card-img {
        height: 180px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* =====================================================
   EVENT DETAIL PAGE - Modern & Responsive Design
   ===================================================== */

/* Event Hero Section */
.event-hero {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 0;
    margin-top: -1px;
}

.event-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.event-hero .container {
    position: relative;
    z-index: 2;
}

.event-hero .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 20px;
}

.event-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.event-hero .breadcrumb-item a:hover {
    color: white;
}

.event-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.event-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

.event-hero-content {
    color: white;
}

.event-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(91, 141, 238, 0.5);
}

.event-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
    line-height: 1.1;
    color: white;
}

.event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 17px;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.event-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-hero-meta i {
    font-size: 18px;
    color: var(--secondary-color);
}

/* Event Detail Card */
.event-detail-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.event-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-actions .btn {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-actions .btn-outline-danger:hover,
.event-actions .btn-danger {
    background: linear-gradient(135deg, #FF6B9D, #FF4757);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.event-actions .btn-outline-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.event-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.event-highlights {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.event-highlights h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

/* Event Details Grid */
.event-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.detail-item i {
    font-size: 24px;
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(91, 141, 238, 0.15);
    flex-shrink: 0;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.detail-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Organizer Info */
.organizer-info h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.organizer-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
}

.organizer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.organizer-details {
    display: flex;
    flex-direction: column;
}

.organizer-details strong {
    font-size: 16px;
    color: var(--text-dark);
}

.organizer-details .text-muted {
    font-size: 13px;
}

/* Event Gallery */
.event-gallery h4,
.event-map h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Event Map */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* Ticket Selection Card */
.ticket-selection-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.ticket-selection-card h3 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.ticket-selection-card h3 i {
    color: var(--primary-color);
}

/* Ticket Type Item */
.ticket-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ticket-type-item:hover:not(.sold-out) {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(91, 141, 238, 0.15);
}

.ticket-type-item.sold-out {
    opacity: 0.6;
    background: #f5f5f5;
}

.ticket-type-info h5 {
    margin: 0 0 5px 0;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.ticket-type-info small {
    font-size: 13px;
}

.ticket-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 8px;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quantity-selector .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}

.quantity-selector .btn:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.quantity-value {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* Ticket Summary */
.ticket-summary {
    padding-top: 20px;
    border-top: 2px dashed var(--border-color);
}

.total-price {
    font-size: 20px;
    color: var(--text-dark);
}

.ticket-selection-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ticket-selection-card .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 141, 238, 0.4);
}

.ticket-selection-card .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sold Out Banner */
.sold-out-banner {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    border-radius: 16px;
    border: 2px dashed #fc8181;
}

.sold-out-icon {
    font-size: 3.5rem;
    color: #e53e3e;
    margin-bottom: 0.75rem;
    animation: soldOutPulse 2s ease-in-out infinite;
}

.sold-out-banner h4 {
    color: #e53e3e;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

@keyframes soldOutPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.secure-checkout {
    padding: 10px;
    background: var(--bg-light);
    border-radius: 10px;
}

.secure-checkout i {
    color: #10B981;
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: linear-gradient(135deg, #f8f9fe 0%, #fff 100%);
    padding: 80px 0;
}

.upcoming-events-section .section-title {
    margin-bottom: 40px;
}

.upcoming-event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.upcoming-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.upcoming-event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.upcoming-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.upcoming-event-card:hover .upcoming-event-image img {
    transform: scale(1.1);
}

.upcoming-event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.upcoming-event-date .day {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.upcoming-event-date .month {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
}

.upcoming-event-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.upcoming-event-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

.upcoming-event-content h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.upcoming-event-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.upcoming-event-content h4 a:hover {
    color: var(--primary-color);
}

.upcoming-event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.upcoming-event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upcoming-event-meta i {
    color: var(--secondary-color);
    width: 16px;
}

.upcoming-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.upcoming-event-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.upcoming-event-price small {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

.upcoming-event-footer .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.upcoming-event-footer .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(91, 141, 238, 0.4);
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
}

.empty-state i {
    color: var(--text-light);
}

.empty-state h3 {
    color: var(--text-dark);
    margin-top: 20px;
}

/* Responsive - Event Detail */
@media (max-width: 991px) {
    .event-hero {
        min-height: 350px;
    }
    
    .event-hero-title {
        font-size: 2.2rem;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-selection-card {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .event-hero {
        min-height: 300px;
        padding: 25px 0;
    }
    
    .event-hero-title {
        font-size: 1.8rem;
    }
    
    .event-hero-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .event-detail-card,
    .ticket-selection-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .ticket-type-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ticket-quantity {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 575px) {
    .event-hero-title {
        font-size: 1.5rem;
    }
    
    .event-category-badge {
        font-size: 11px;
        padding: 6px 15px;
    }
    
    .detail-item {
        padding: 15px;
    }
    
    .detail-item i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */
.profile-container {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid white;
    overflow: hidden;
}

.profile-avatar.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s;
    color: var(--text-dark);
}

.avatar-upload-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.avatar-initials {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-email {
    opacity: 0.9;
    margin-bottom: 15px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.profile-menu {
    padding: 15px;
}

.profile-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.profile-menu .menu-item:hover {
    background: var(--bg-light);
}

.profile-menu .menu-item i:first-child {
    font-size: 20px;
    margin-right: 12px;
    color: var(--primary-color);
}

.profile-menu .menu-item span {
    flex: 1;
}

.profile-menu .menu-item i:last-child {
    opacity: 0.5;
}

.profile-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h4 {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.section-content {
    padding: 25px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 600;
    color: var(--text-dark);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.security-item,
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-info h6,
.notification-info h6 {
    margin: 0;
    font-weight: 600;
}

.security-info p,
.notification-info p {
    font-size: 13px;
}

/* Danger Zone */
.profile-section.danger-zone {
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.profile-section.danger-zone .section-header {
    background: rgba(220, 38, 38, 0.05);
}

/* ========================================
   CATEGORY PAGES STYLES
   ======================================== */
.category-page {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.category-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-hero.concerts-hero {
    background-image: linear-gradient(135deg, rgba(91, 141, 238, 0.9), rgba(255, 107, 157, 0.9)), 
                      url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?w=1200');
}

.category-hero.sports-hero {
    background-image: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(255, 193, 7, 0.9)), 
                      url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1200');
}

.category-hero.conferences-hero {
    background-image: linear-gradient(135deg, rgba(103, 58, 183, 0.9), rgba(91, 141, 238, 0.9)), 
                      url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1200');
}

.category-hero.organizers-hero {
    background-image: linear-gradient(135deg, rgba(255, 107, 157, 0.9), rgba(255, 165, 0, 0.9)), 
                      url('https://images.unsplash.com/photo-1511578314322-379afb476865?w=1200');
}

.category-hero.blog-hero {
    background-image: linear-gradient(135deg, rgba(91, 141, 238, 0.9), rgba(103, 58, 183, 0.9)), 
                      url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?w=1200');
}

/* Page wrappers */
.blog-page { background: #f8f9fa; }
.contact-page { background: #f8f9fa; }
.organizers-page { background: #f8f9fa; }

.category-hero.contact-hero {
    background-image: linear-gradient(135deg, rgba(255, 165, 0, 0.9), rgba(255, 107, 157, 0.9)), 
                      url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1200');
}

.hero-overlay {
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.filters-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h4 {
    color: var(--text-dark);
}

/* ========================================
   ORGANIZERS PAGE STYLES
   ======================================== */
.become-organizer-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: 16px;
    color: white;
}

.become-organizer-cta h3 {
    margin-bottom: 10px;
}

.become-organizer-cta .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.become-organizer-cta .btn:hover {
    background: var(--bg-light);
}

/* ── Organizers Mobile Header (web responsive) ── */
.org-mobile-header {
    background: linear-gradient(135deg, #6b21a8, #9333ea);
    padding: 28px 16px 20px;
    color: #fff;
}
.org-mobile-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}
.org-mobile-header p {
    font-size: 13px;
    opacity: .8;
    margin: 4px 0 0;
}

.org-mobile-cta {
    margin: 16px;
    background: linear-gradient(135deg, #ec4899, #f97316);
    border-radius: 16px;
    padding: 24px 20px;
    color: #fff;
    text-align: center;
}
.org-mobile-cta h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.org-mobile-cta p {
    font-size: 12px;
    opacity: .85;
    margin-bottom: 16px;
    line-height: 1.5;
}
.org-cta-btn {
    display: inline-block;
    background: #fff;
    color: #6b21a8;
    padding: 10px 24px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.org-mobile-stats {
    display: flex;
    gap: 12px;
    padding: 0 16px 16px;
}

.org-stat-box {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 16px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.org-stat-icon {
    font-size: 20px;
    margin-bottom: 2px;
}
.org-stat-number {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
}
.org-stat-label {
    font-size: 10px;
    color: #999;
    font-weight: 500;
}

/* Category chips for organizers */
.org-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
.org-chip {
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #666;
    border: 1.5px solid #e5e7eb;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.org-chip.active {
    background: #6b21a8;
    color: #fff;
    border-color: #6b21a8;
}
.org-chip:hover {
    border-color: #6b21a8;
}
.chip-badge {
    background: rgba(0,0,0,.08);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}
.org-chip.active .chip-badge {
    background: rgba(255,255,255,.25);
}

.org-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.org-section-title h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.org-count {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .organizers-page > .container {
        padding-left: 0;
        padding-right: 0;
    }
    .organizers-page .row.g-3.mb-4 {
        display: none;
    }
    .organizers-page .become-organizer-cta {
        display: none;
    }
    .organizers-page .org-category-chips {
        padding: 0 16px;
    }
    .organizers-page .org-section-title {
        padding: 0 16px;
    }
    .organizers-page .ev-events-grid {
        padding: 0 16px;
    }
}

/* ── Organizers page responsive (desktop) ── */
@media (max-width: 767px) {
    .organizers-page .become-organizer-cta {
        padding: 24px 18px;
        text-align: center;
    }
    .organizers-page .become-organizer-cta h3 {
        font-size: 1.2rem;
    }
    .organizers-page .become-organizer-cta p {
        font-size: 0.9rem;
    }
    .organizers-page .become-organizer-cta .btn {
        width: 100%;
    }
    .organizers-page .stat-card {
        padding: 16px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .organizers-page .stat-card .display-4 {
        font-size: 2rem !important;
    }
    .organizers-page .stat-card h2 {
        font-size: 1.3rem;
    }
    .organizers-page .stat-card p {
        font-size: 0.85rem;
    }
    .organizers-page .category-tabs {
        gap: 6px;
    }
    .organizers-page .category-tabs .btn {
        font-size: 0.82rem;
        padding: 6px 14px;
    }
    .organizers-page .category-tabs .btn .badge {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    .organizers-page h3 {
        font-size: 1.15rem;
    }
    .organizers-page .row.g-4 > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.organizer-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.organizer-header {
    position: relative;
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light), white);
}

.organizer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}

.organizer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.organizer-avatar .avatar-initials {
    font-size: 28px;
}

.verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--primary-color);
    font-size: 24px;
}

.organizer-body {
    padding: 0 25px 20px;
    text-align: center;
}

.organizer-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.organizer-category {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.organizer-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.organizer-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.organizer-stats .stat {
    text-align: center;
}

.organizer-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.organizer-stats .stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.organizer-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

/* ========================================
   BLOG PAGE STYLES
   ======================================== */
.featured-article {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.featured-content .article-category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 14px;
}

.article-meta i {
    margin-right: 6px;
}

.blog-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.blog-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image .article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.author-name {
    font-size: 13px;
    font-weight: 500;
}

.read-time {
    font-size: 12px;
    color: var(--text-light);
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px;
    border-radius: 16px;
    color: white;
}

.newsletter-section h3 {
    margin-bottom: 10px;
}

.newsletter-section p {
    opacity: 0.9;
}

.newsletter-section .form-control {
    border: none;
    padding: 15px 20px;
}

.newsletter-section .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

/* ========================================
   BLOG ARTICLE PAGE (ba- prefix)
   ======================================== */
.ba-hero {
    background-size: cover; background-position: center;
    padding: 100px 0 60px; color: #fff;
    position: relative;
}
.ba-back {
    display: inline-flex; align-items: center;
    color: rgba(255,255,255,.85); text-decoration: none;
    font-size: 14px; margin-bottom: 20px;
    transition: color .2s;
}
.ba-back:hover { color: #fff; }
.ba-cat {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; padding: 5px 16px;
    border-radius: 20px; font-size: 13px;
    font-weight: 600; margin-bottom: 14px;
}
.ba-title { font-size: 32px; font-weight: 800; margin: 0 0 16px; max-width: 600px; line-height: 1.25; }
.ba-meta {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 14px; opacity: .9;
}

.ba-content {
    background: #fff; border-radius: 20px;
    padding: 40px 48px; margin-top: -40px;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    font-size: 16px; line-height: 1.8;
    color: #333;
}
.ba-wrapper {
    max-width: 100%;
    padding: 0 24px;
}
.ba-content h2 {
    font-size: 24px; font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ebff;
}
.ba-content p { margin-bottom: 18px; }
.ba-lead { font-size: 20px; color: #555; font-weight: 500; line-height: 1.7; }
.ba-content ul {
    padding-left: 24px; margin-bottom: 20px;
}
.ba-content li { margin-bottom: 10px; }
.ba-content blockquote {
    border-left: 4px solid #805ad5;
    background: #f8f5ff;
    padding: 24px 28px; margin: 28px 0;
    border-radius: 0 14px 14px 0;
    font-style: italic; color: #555;
}
.ba-content blockquote p { margin: 0; }

.ba-tags {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 32px; padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}
.ba-tag {
    background: #f0ebff; color: #805ad5;
    padding: 6px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 500;
}

.ba-share {
    display: flex; align-items: center; gap: 16px;
    margin-top: 28px; padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}
.ba-share-label { font-weight: 600; color: var(--text-dark, #1a1a2e); font-size: 14px; }
.ba-share-btns { display: flex; gap: 10px; }
.ba-share-btn {
    width: 40px; height: 40px; border: none;
    border-radius: 10px; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.ba-share-btn:hover { transform: scale(1.1); }
.ba-share-btn.facebook  { background: #1877F2; }
.ba-share-btn.twitter   { background: #1DA1F2; }
.ba-share-btn.whatsapp  { background: #25D366; }
.ba-share-btn.linkedin  { background: #0A66C2; }

.ba-related {
    margin-top: 40px;
}
.ba-related h3 {
    font-weight: 700; font-size: 22px;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 24px;
}
.ba-related-card {
    display: block; text-decoration: none; color: inherit;
    background: #fff; border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    transition: all .25s;
    border: 2px solid transparent;
}
.ba-related-card:hover {
    transform: translateY(-4px);
    border-color: #805ad5;
    box-shadow: 0 8px 28px rgba(128,90,213,.15);
}
.ba-related-img { height: 160px; overflow: hidden; }
.ba-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ba-related-card:hover .ba-related-img img { transform: scale(1.05); }
.ba-related-info { padding: 16px; }
.ba-related-cat {
    display: inline-block;
    background: #f0ebff; color: #805ad5;
    padding: 3px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600;
    margin-bottom: 8px;
}
.ba-related-info h5 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }

@media (max-width: 768px) {
    .ba-hero { padding: 70px 0 40px; }
    .ba-title { font-size: 24px; }
    .ba-content { padding: 24px; margin-top: -20px; font-size: 15px; }
    .ba-share { flex-direction: column; align-items: flex-start; }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info-section h3 {
    margin-bottom: 20px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info-card .info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    background: transparent;
    padding: 0;
}

.contact-info-card .info-item:last-child {
    margin-bottom: 0;
}

.contact-info-card .info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-card .info-content h6 {
    margin: 0 0 5px;
    font-weight: 600;
}

.contact-info-card .info-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.social-section h5 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.twitter { background: #000; }
.social-link.whatsapp { background: #25d366; }

.quick-faq h5 {
    margin-bottom: 15px;
}

.faq-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.faq-links a:hover {
    text-decoration: underline;
}

.map-section {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========================================
   EVENT CARD STYLES (shared)
   ======================================== */
.event-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.event-image {
    position: relative;
    height: 200px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.event-date-badge .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.2s;
}

.favorite-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.event-content {
    padding: 20px;
}

.event-category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-title {
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 13px;
}

.event-meta i {
    margin-right: 6px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.event-price {
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   ENHANCED CATEGORY PAGES STYLES
   ======================================== */

/* Hero Content Styles */
.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-right: 8px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Enhanced Search Box */
.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
}

.search-box input {
    padding-left: 45px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(91, 141, 238, 0.1);
}

/* Sport Type Filter Buttons */
.sport-types-filter,
.conference-types-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.sport-type-btn,
.conf-type-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sport-type-btn:hover,
.conf-type-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.sport-type-btn.active {
    background: linear-gradient(135deg, #4CAF50, #FFC107);
    border-color: transparent;
    color: white;
}

.conf-type-btn.active {
    background: linear-gradient(135deg, #673AB7, #5B8DEE);
    border-color: transparent;
    color: white;
}

/* Results Info */
.results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.results-count {
    color: var(--text-light);
    font-size: 14px;
}

/* View Toggle */
.view-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Loading Container */
.loading-container {
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    margin-bottom: 20px;
}

.loading-container p {
    color: var(--text-light);
}

/* Enhanced Event Cards */
.event-card {
    cursor: pointer;
    height: 100%;
}

.event-card-horizontal {
    display: flex;
    flex-direction: row;
}

.event-card-horizontal .event-image {
    width: 280px;
    min-width: 280px;
    height: auto;
}

.event-card-horizontal .event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-horizontal .event-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

/* Category-specific card styles */
.sport-card .event-date-badge,
.sport-badge {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
}

.sport-card .event-date-badge .day,
.sport-card .event-date-badge .month {
    color: white;
}

.conference-card .event-date-badge,
.conference-badge {
    background: linear-gradient(135deg, #673AB7, #9C27B0);
    color: white;
}

.conference-card .event-date-badge .day,
.conference-card .event-date-badge .month {
    color: white;
}

/* Event Category Labels */
.event-category.sport {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(139, 195, 74, 0.1));
    color: #4CAF50;
}

.event-category.conference {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.1), rgba(156, 39, 176, 0.1));
    color: #673AB7;
}

/* Live Badge */
.live-badge {
    position: absolute;
    top: 15px;
    left: 100px;
    background: #F44336;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Featured Label */
.featured-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FFA500, #FF6B9D);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Free Badge */
.free-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #4CAF50;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Price Info */
.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--text-light);
}

.event-price.free {
    color: #4CAF50;
}

/* Event Speaker */
.event-speaker {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.event-speaker i {
    margin-right: 6px;
    color: var(--primary-color);
}

/* Button Variants */
.btn-purple {
    background: linear-gradient(135deg, #673AB7, #9C27B0);
    border: none;
    color: white;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #512DA8, #7B1FA2);
    color: white;
}

/* Enhanced Empty State */
.empty-state {
    text-align: center;
    padding: 100px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light), white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.empty-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.empty-icon.sport i {
    color: #4CAF50;
}

.empty-icon.conference i {
    color: #673AB7;
}

.empty-state h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Load More Button */
.load-more {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
}

/* List View */
.list-view .event-card {
    margin-bottom: 20px;
}

/* Enhanced Responsive Styles */
@media (max-width: 991px) {
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .sport-types-filter,
    .conference-types-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .sport-type-btn,
    .conf-type-btn {
        white-space: nowrap;
    }
    
    .event-card-horizontal {
        flex-direction: column;
    }
    
    .event-card-horizontal .event-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .category-hero {
        height: 250px;
    }
    
    .hero-overlay h1 {
        font-size: 1.75rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.75rem;
    }
    
    .filters-section {
        padding: 15px;
    }
    
    .search-box input {
        height: 44px;
    }
    
    .view-toggle {
        width: 44px;
        height: 44px;
    }
    
    .event-image {
        height: 180px;
    }
    
    .live-badge {
        left: auto;
        right: 60px;
    }
}

@media (max-width: 575px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .sport-type-btn,
    .conf-type-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .event-content {
        padding: 15px;
    }
    
    .event-title {
        font-size: 1rem;
    }
}

/* ===========================================
   STATIC PAGES - FAQ, Legal, How It Works
   =========================================== */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0 60px;
    color: white;
    margin-top: 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ Page Styles */
.faq-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.faq-search {
    max-width: 500px;
    margin: 0 auto;
}

.faq-search .form-control {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 1rem;
}

.faq-search .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.faq-search .form-control:focus {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.2);
    color: white;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 50px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.faq-answer ul {
    color: #666;
    padding-left: 20px;
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    text-align: center;
}

/* How It Works Page */
.how-it-works-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.step-card p {
    color: #666;
    line-height: 1.7;
}

.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(91,141,238,0.1) 0%, rgba(255,107,157,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.payment-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.payment-logo {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Legal Pages (Terms, Privacy, Refund) */
.legal-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.legal-nav {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.legal-nav h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 10px;
}

.legal-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 15px;
    border-radius: 8px;
}

.legal-nav a:hover,
.legal-nav a.active {
    background: rgba(91,141,238,0.1);
    color: var(--primary-color);
}

.legal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.legal-content h2:first-child {
    border-top: none;
    padding-top: 0;
}

.legal-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.info-box {
    background: linear-gradient(135deg, rgba(91,141,238,0.1) 0%, rgba(255,107,157,0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.info-box.success {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.info-box.danger {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
}

.info-box.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

.refund-timeline {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

.refund-timeline th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    font-weight: 600;
}

.refund-timeline td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #666;
}

/* Categories: Festivals Page */
.festivals-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.festivals-page .category-hero {
    background: linear-gradient(135deg, rgba(255,165,0,0.9) 0%, rgba(255,107,157,0.9) 100%), url('/images/hero-festivals.jpg');
    background-size: cover;
    background-position: center;
}

.festival-type-btn {
    padding: 10px 25px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.festival-type-btn:hover,
.festival-type-btn.active {
    background: white;
    border-color: white;
    color: #ff6b00;
}

.btn-festival {
    background: linear-gradient(135deg, #ff6b00 0%, #ff9d00 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-festival:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,107,0,0.4);
    color: white;
}

.festival-card .event-image::before {
    background: linear-gradient(135deg, rgba(255,107,0,0.2) 0%, rgba(255,157,0,0.2) 100%);
}

/* Categories: Theatre Page */
.theatre-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.theatre-page .category-hero {
    background: linear-gradient(135deg, rgba(139,69,19,0.9) 0%, rgba(205,92,92,0.9) 100%), url('/images/hero-theatre.jpg');
    background-size: cover;
    background-position: center;
}

.theatre-type-btn {
    padding: 10px 25px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theatre-type-btn:hover,
.theatre-type-btn.active {
    background: white;
    border-color: white;
    color: #8b4513;
}

.btn-theatre {
    background: linear-gradient(135deg, #8b4513 0%, #cd5c5c 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-theatre:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139,69,19,0.4);
    color: white;
}

.theatre-card .event-image::before {
    background: linear-gradient(135deg, rgba(139,69,19,0.2) 0%, rgba(205,92,92,0.2) 100%);
}

/* Static pages responsive */
@media (max-width: 991px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .legal-nav {
        position: static;
        margin-bottom: 30px;
    }
    
    .legal-content {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 50px 0 30px;
        margin-top: 70px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .faq-categories {
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .contact-cta {
        padding: 30px 20px;
    }
    
    .festival-type-btn,
    .theatre-type-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
}

/* ===========================================
   REFUND PAGE - Additional Styles
   =========================================== */
.static-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.refund-section {
    margin-bottom: 40px;
}

.refund-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.refund-case {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
}

.refund-case:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.refund-case.success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, rgba(40,167,69,0.03) 0%, white 100%);
}

.refund-case.danger {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, rgba(220,53,69,0.03) 0%, white 100%);
}

.refund-case h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.refund-case p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.refund-case ul {
    color: #666;
    padding-left: 20px;
    margin: 0;
}

.refund-case ul li {
    margin-bottom: 5px;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.step-num {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.step h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.step p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.step ul {
    color: #666;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Refund Table */
.refund-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.refund-table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 18px 20px;
    font-weight: 600;
    border: none;
}

.refund-table tbody td {
    padding: 18px 20px;
    color: #666;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.refund-table tbody tr:last-child td {
    border-bottom: none;
}

.refund-table tbody tr:hover {
    background: rgba(91,141,238,0.03);
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(91,141,238,0.3);
}

.contact-card > i {
    font-size: 4rem;
    opacity: 0.9;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.contact-card p {
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-card .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* ===========================================
   ENHANCED PROFILE PAGE STYLES
   =========================================== */
.profile-container {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 100px;
}

.profile-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border: none;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #ff9d5c 100%);
    padding: 50px 30px;
    text-align: center;
    color: white;
    position: relative;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 5px solid rgba(255,255,255,0.5);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.avatar-initials {
    font-size: 42px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.profile-email {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.3);
}

.profile-badge i {
    color: #4ade80;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(91,141,238,0.05) 0%, transparent 100%);
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-menu {
    padding: 20px;
}

.profile-menu .menu-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin-bottom: 8px;
}

.profile-menu .menu-item:hover {
    background: linear-gradient(135deg, rgba(91,141,238,0.08) 0%, rgba(255,107,157,0.08) 100%);
    transform: translateX(5px);
}

.profile-menu .menu-item i:first-child {
    font-size: 22px;
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(91,141,238,0.1) 0%, rgba(255,107,157,0.1) 100%);
    border-radius: 12px;
    color: var(--primary-color);
}

.profile-menu .menu-item span {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.profile-menu .menu-item i:last-child {
    opacity: 0.3;
    font-size: 14px;
}

.profile-menu .menu-item.text-danger:hover {
    background: rgba(220,53,69,0.08);
}

.profile-menu .menu-item.text-danger i:first-child {
    background: rgba(220,53,69,0.1);
    color: #dc3545;
}

.profile-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(180deg, rgba(91,141,238,0.03) 0%, transparent 100%);
}

.section-header h4 {
    margin: 0;
    font-weight: 700;
    color: #333;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
}

.section-header h4 i {
    color: var(--primary-color);
}

.section-header .btn-outline-primary {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 13px;
    border-width: 2px;
}

.section-content {
    padding: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(91,141,238,0.04) 0%, rgba(255,107,157,0.04) 100%);
    border-radius: 14px;
    border: 1px solid rgba(91,141,238,0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(91,141,238,0.2);
    box-shadow: 0 5px 20px rgba(91,141,238,0.1);
}

.info-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
}

.security-item,
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.security-info h6,
.notification-info h6 {
    margin: 0 0 5px;
    font-weight: 700;
    color: #333;
}

.security-info p,
.notification-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-switch .form-check-input {
    width: 50px;
    height: 26px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .profile-container {
        padding-top: 80px;
    }
    
    .profile-header {
        padding: 40px 20px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar-initials {
        font-size: 36px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .contact-card > i {
        font-size: 3rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-num {
        margin: 0 auto 15px;
    }
}

/* ===========================================
   ENHANCED FAQ PAGE STYLES
   =========================================== */
.faq-search .input-group {
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-search .input-group-text {
    background: transparent;
    border: none;
    padding-left: 25px;
    color: var(--primary-color);
}

.faq-search .form-control {
    border: none;
    padding: 20px 25px 20px 10px;
    font-size: 1rem;
}

.faq-search .form-control:focus {
    box-shadow: none;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 20px rgba(91,141,238,0.3);
}

.faq-category-btn i {
    font-size: 16px;
}

/* Accordion Styling */
.accordion {
    border-radius: 20px;
    overflow: hidden;
}

.accordion-item {
    background: white;
    border: none !important;
    margin-bottom: 15px;
    border-radius: 16px !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 22px 25px;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    background: white;
    border-radius: 16px !important;
    gap: 15px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(91,141,238,0.08) 0%, rgba(255,107,157,0.08) 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235B8DEE' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
    background-size: 20px;
}

.accordion-body {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.8;
}

.accordion-body p {
    margin-bottom: 15px;
}

.accordion-body ol,
.accordion-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.accordion-body ol li,
.accordion-body ul li {
    margin-bottom: 8px;
}

/* FAQ Category Badges */
.faq-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.faq-category-badge.achat {
    background: rgba(91,141,238,0.15);
    color: var(--primary-color);
}

.faq-category-badge.billets {
    background: rgba(255,107,157,0.15);
    color: var(--secondary-color);
}

.faq-category-badge.paiement {
    background: rgba(255,165,0,0.15);
    color: #ff8c00;
}

.faq-category-badge.compte {
    background: rgba(76,175,80,0.15);
    color: #4caf50;
}

/* ===========================================
   ENHANCED HOW IT WORKS PAGE
   =========================================== */
.how-it-works-page .page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #ff9d5c 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-page .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.steps-container {
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    right: 0;
    height: 4px;
    width: 75%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 2px;
}

.step-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 24px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(91,141,238,0.2);
    border-color: rgba(91,141,238,0.2);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(91,141,238,0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 3px dashed rgba(91,141,238,0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.step-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

/* Advantage Cards */
.advantage-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.advantage-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-8px);
    border-color: rgba(91,141,238,0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(91,141,238,0.1) 0%, rgba(255,107,157,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon i {
    color: white;
}

.advantage-card h5 {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.advantage-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Payment Cards */
.payment-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.payment-logo {
    font-size: 4rem;
    margin-bottom: 20px;
}

.payment-card h5 {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.payment-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ===========================================
   ENHANCED LEGAL PAGES
   =========================================== */
.legal-page .page-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.legal-nav {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(0,0,0,0.05);
}

.legal-nav h6 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 5px;
}

.legal-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 18px;
    border-radius: 12px;
    border-left: 3px solid transparent;
}

.legal-nav a:hover,
.legal-nav a.active {
    background: linear-gradient(135deg, rgba(91,141,238,0.08) 0%, rgba(255,107,157,0.08) 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.legal-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.legal-content section {
    scroll-margin-top: 120px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-top: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content h2::before {
    content: '';
    width: 5px;
    height: 25px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.legal-content section:first-child h2 {
    padding-top: 0;
}

.legal-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
}

.legal-content ol,
.legal-content ul {
    color: #555;
    line-height: 1.9;
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-content ol li,
.legal-content ul li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.legal-content strong {
    color: #333;
}

@media (max-width: 991px) {
    .steps-container::before {
        display: none;
    }
    
    .legal-content {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .faq-categories {
        gap: 8px;
    }
    
    .faq-category-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .faq-category-btn i {
        display: none;
    }
    
    .accordion-button {
        padding: 18px 20px;
        font-size: 0.95rem;
        flex-wrap: wrap;
    }
    
    .faq-category-badge {
        margin-bottom: 8px;
        width: 100%;
    }
}

/* ============================================
   PROFIL ORGANISATEUR
   ============================================ */
.organizer-profile-page {
    background: var(--bg-light);
    min-height: 100vh;
}

.organizer-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a7bd0 100%);
    padding: 80px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.organizer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.organizer-profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.organizer-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.organizer-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.organizer-info-main h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.organizer-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.organizer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    font-size: 1rem;
}

.organizer-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-follow {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-follow:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
}

.btn-follow.following {
    background: rgba(255,255,255,0.2);
    color: white;
}

.btn-share-organizer {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-share-organizer:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.organizer-stats-row {
    display: flex;
    gap: 40px;
    margin-top: 25px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.organizer-detail-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.organizer-detail-card h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 2px;
}

.detail-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.social-links-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.social-link-btn:hover {
    background: var(--primary-color);
    color: white;
}

.social-link-btn.facebook { background: #1877f2; color: white; }
.social-link-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-link-btn.twitter { background: #1da1f2; color: white; }
.social-link-btn.youtube { background: #ff0000; color: white; }

.category-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a7bd0 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.organizer-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.organizer-tab {
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.organizer-tab.active {
    background: var(--primary-color);
    color: white;
}

.organizer-tab:hover:not(.active) {
    background: #f0f4ff;
}

.event-card-compact {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.event-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.event-card-compact .event-image {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.event-card-compact .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-compact .event-content {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-card-compact .event-date-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.event-card-compact h5 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
}

.event-card-compact h5 a {
    color: var(--text-dark);
    text-decoration: none;
}

.event-card-compact .event-location {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card-compact .event-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
}

.rating-big {
    text-align: center;
}

.rating-big .rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-big .stars {
    color: #ffc107;
    margin: 8px 0;
}

.rating-big .review-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.rating-bars {
    flex: 1;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-row span:first-child {
    width: 20px;
    font-weight: 500;
}

.rating-bar-row .bar {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-row .bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
}

.rating-bar-row span:last-child {
    width: 30px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.review-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h6 {
    margin: 0;
    font-weight: 600;
}

.review-info .date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-stars {
    margin-left: auto;
    color: #ffc107;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-event {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .organizer-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .organizer-stats-row {
        justify-content: center;
    }
    
    .organizer-actions {
        justify-content: center;
    }
    
    .event-card-compact {
        flex-direction: column;
    }
    
    .event-card-compact .event-image {
        width: 100%;
        height: 160px;
    }
    
    .reviews-summary {
        flex-direction: column;
    }
}

/* ============================================
   CREATION D'EVENEMENT
   ============================================ */
.create-event-page {
    background: var(--bg-light);
    min-height: 100vh;
    padding-top: 20px;
}

.create-event-header {
    margin-bottom: 20px;
}

.create-event-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.create-event-header .back-link:hover {
    color: var(--primary-color);
}

.create-event-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Progress Steps */
.event-creation-progress {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.progress-steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.progress-steps-container .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background: #28a745;
    color: white;
}

.step-label {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar-container {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    position: relative;
    margin-top: -45px;
    margin-left: 25px;
    margin-right: 25px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.step-content-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

/* Location Type Options */
.location-type-options {
    display: flex;
    gap: 15px;
}

.location-type-option {
    flex: 1;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.location-type-option:hover {
    border-color: var(--primary-color);
}

.location-type-option.selected {
    border-color: var(--primary-color);
    background: #f0f6ff;
}

.location-type-option i {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.location-type-option span {
    font-weight: 500;
}

/* Image Upload */
.image-upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.image-upload-zone:hover {
    border-color: var(--primary-color);
    background: #f8faff;
}

.image-upload-zone.has-image {
    padding: 0;
    border-style: solid;
}

.image-upload-zone .preview-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.image-upload-zone .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
}

.upload-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.6;
}

.upload-placeholder p {
    margin: 15px 0 5px;
    font-weight: 500;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Gallery Upload */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.8rem;
}

.gallery-add {
    aspect-ratio: 1;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.gallery-add:hover {
    border-color: var(--primary-color);
}

.gallery-add i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Ticket Types */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket-type-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ticket-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.ticket-details {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.ticket-description {
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.add-ticket-form {
    background: #f8faff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--primary-color);
}

.add-ticket-form h6 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Promo Codes */
.promo-codes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-code-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.promo-code-tag .btn-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
}

.promo-code-tag .btn-remove:hover {
    color: #dc3545;
}

/* Visibility Options */
.visibility-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visibility-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.visibility-option:hover {
    border-color: var(--primary-color);
}

.visibility-option.selected {
    border-color: var(--primary-color);
    background: #f0f6ff;
}

.visibility-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.visibility-option div strong {
    display: block;
    margin-bottom: 3px;
}

.visibility-option div span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Review Section */
.review-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
}

.review-card h6 {
    margin: 0 0 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.review-table {
    width: 100%;
}

.review-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.review-table td:first-child {
    color: var(--text-light);
    width: 40%;
}

.review-table tr.total td {
    border-top: 2px solid var(--primary-color);
    padding-top: 15px;
    border-bottom: none;
}

.commission-info {
    text-align: center;
}

.commission-info p {
    margin: 5px 0;
}

/* Sidebar */
.create-event-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.sidebar-card h6 {
    margin: 0 0 15px;
    font-weight: 600;
}

.tips-card {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    border-left: 4px solid #ffc107;
}

.tips-card h6 {
    color: #856404;
}

.tips-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #856404;
}

.revenue-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left: 4px solid #28a745;
    text-align: center;
}

.revenue-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
}

/* Navigation */
.create-event-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-right {
    display: flex;
    gap: 15px;
}

/* Success Modal */
.success-animation {
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 991px) {
    .progress-steps-container .step-label {
        display: none;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content-card {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .location-type-options {
        flex-direction: column;
    }
    
    .create-event-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-left, .nav-right {
        width: 100%;
    }
    
    .nav-left .btn, .nav-right .btn {
        width: 100%;
    }
}

/* ============================================
   DASHBOARD ORGANISATEUR
   ============================================ */
.organizer-dashboard {
    background: var(--bg-light);
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.dashboard-header p {
    margin: 5px 0 0;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Category filter tabs */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.category-tabs .btn {
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 8px 18px;
    transition: all 0.3s;
}

.category-tabs .btn .badge {
    font-size: 0.75rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Quick Actions */
.quick-actions-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-actions-card h5 {
    margin: 0 0 20px;
    font-weight: 600;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
}

.quick-action:hover {
    background: #e8f0ff;
    transform: translateY(-3px);
    color: var(--primary-color);
}

.quick-action i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quick-action span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

/* Events Section */
.events-section-card,
.sales-section-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h5 {
    margin: 0;
    font-weight: 600;
}

.event-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.filter-btn:hover:not(.active) {
    background: #e0e0e0;
}

/* Event Row */
.event-row {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: var(--bg-light);
    gap: 15px;
    transition: all 0.3s;
}

.event-row:hover {
    background: #e8f0ff;
}

.event-row .event-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.event-row .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.draft {
    background: #ffc107;
    color: #333;
}

.status-badge.cancelled {
    background: #dc3545;
    color: white;
}

.event-row .event-info {
    flex: 1;
    min-width: 0;
}

.event-row .event-info h6 {
    margin: 0 0 5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-row .event-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.event-row .event-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.event-row .event-stats .stat {
    text-align: center;
}

.event-row .event-stats .value {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.event-row .event-stats .label {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Progress Ring */
.progress-ring {
    position: relative;
    width: 50px;
    height: 50px;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring .bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 3;
}

.progress-ring .fill {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
}

.progress-ring span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 600;
}

.event-row .event-revenue {
    text-align: right;
    min-width: 100px;
}

.event-row .event-revenue .amount {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #28a745;
}

.event-row .event-revenue .currency {
    font-size: 0.75rem;
    color: var(--text-light);
}

.btn-scanner {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(124,58,237,0.35);
}
.btn-scanner:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: white;
    box-shadow: 0 4px 14px rgba(124,58,237,0.5);
    transform: translateY(-1px);
}

/* Sales Table */
.sales-table {
    overflow-x: auto;
}

.sales-table .buyer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.buyer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Profile Summary Card */
.profile-summary-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-header .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-header h5 {
    margin: 0 0 10px;
    font-weight: 600;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.profile-stats .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Upcoming Reminder Card */
.upcoming-reminder-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 16px;
    padding: 25px;
    border-left: 4px solid #ff9800;
}

.reminder-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff9800;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.upcoming-reminder-card h6 {
    margin: 0 0 10px;
    font-weight: 600;
}

.countdown {
    margin: 0 0 15px;
    color: #e65100;
}

.countdown strong {
    font-size: 1.1rem;
}

.reminder-details {
    font-size: 0.85rem;
    color: #795548;
}

.reminder-details span {
    display: block;
    margin-bottom: 5px;
}

/* Revenue Chart Card */
.revenue-chart-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.revenue-chart-card h6 {
    margin: 0 0 20px;
    font-weight: 600;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    gap: 8px;
    padding-bottom: 10px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), #7da8f5);
    border-radius: 4px 4px 0 0;
    position: relative;
    cursor: pointer;
    min-height: 5%;
    transition: all 0.3s;
}

.chart-bar:hover {
    opacity: 0.8;
}

.chart-bar .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.chart-bar:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

/* Notifications Card */
.notifications-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notifications-card h6 {
    margin: 0 0 20px;
    font-weight: 600;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notification-item i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.notification-item p {
    margin: 0 0 3px;
    font-size: 0.9rem;
}

.notification-item .time {
    font-size: 0.75rem;
    color: var(--text-light);
}

@media (max-width: 991px) {
    .event-row {
        flex-wrap: wrap;
    }

    .event-row .event-stats {
        width: 100%;
        justify-content: space-around;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 767px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
    }

    .event-filters {
        flex-wrap: wrap;
    }

    .event-row .event-revenue {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    /* Event actions on mobile: full-width row of buttons */
    .event-row .event-actions {
        width: 100%;
        display: flex;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
    }

    .event-row .event-actions .btn-scanner {
        flex: 1;
        width: auto;
        height: 36px;
        border-radius: 10px;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .event-row .event-actions .btn-scanner::after {
        content: "Scanner";
        font-weight: 600;
    }

    .event-row .event-actions .dropdown {
        flex: 1;
    }

    .event-row .event-actions .dropdown > button {
        width: 100%;
        height: 36px;
        border-radius: 10px;
    }
}

/* ============================================
   GESTION D'ÉVÉNEMENT
   ============================================ */
.event-management-page {
    background: var(--bg-light);
    min-height: 100vh;
}

.management-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 15px;
}

.management-header .back-link:hover {
    color: var(--primary-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.event-title-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.event-title-section .event-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.event-title-section .event-meta span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.quick-stats .stat-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quick-stats .stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.quick-stats .stat-content {
    display: flex;
    flex-direction: column;
}

.quick-stats .stat-content .value {
    font-size: 1.4rem;
    font-weight: 700;
}

.quick-stats .stat-content .label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Management Tabs */
.management-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #f0f4ff;
}

/* Card Section */
.card-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-section h5 {
    margin: 0 0 20px;
    font-weight: 600;
}

.card-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.card-section .period-filter {
    display: flex;
    gap: 5px;
}

/* Sales Chart */
.sales-chart {
    padding: 20px 0;
}

.chart-visual {
    display: flex;
    align-items: flex-end;
    height: 200px;
    gap: 10px;
}

.chart-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.chart-bar-wrapper .chart-bar {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(to top, var(--primary-color), #7da8f5);
    border-radius: 4px 4px 0 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.chart-bar-wrapper .bar-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 10;
}

.chart-bar-wrapper .chart-bar:hover .bar-tooltip {
    opacity: 1;
    visibility: visible;
}

.chart-bar-wrapper .bar-label {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Ticket Breakdown */
.ticket-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ticket-type-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.ticket-info .ticket-name {
    display: block;
    font-weight: 600;
}

.ticket-info .ticket-price {
    font-size: 0.85rem;
    color: var(--text-light);
}

.ticket-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticket-progress .progress {
    flex: 1;
    height: 8px;
    border-radius: 4px;
}

.ticket-progress .progress-text {
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
}

.ticket-revenue {
    text-align: right;
    color: #28a745;
}

/* Summary Card */
.summary-card .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-card .summary-row.total {
    font-size: 1.1rem;
}

.payout-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fe;
    padding: 12px;
    border-radius: 8px;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-item i {
    font-size: 1.2rem;
}

.activity-item p {
    margin: 0 0 3px;
    font-size: 0.9rem;
}

.activity-item .time {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Attendees Grid */
.attendees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.attendee-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.attendee-card:hover {
    background: #e8f0ff;
}

.attendee-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.attendee-info {
    flex: 1;
    min-width: 0;
}

.attendee-info h6 {
    margin: 0 0 3px;
    font-weight: 600;
}

.attendee-info .email,
.attendee-info .phone {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attendee-ticket {
    text-align: center;
}

.attendee-ticket .ticket-type {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
}

.attendee-ticket .ticket-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Check-in */
.scanner-placeholder {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px !important;
}

.checkin-stats {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.checkin-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.circle-progress {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) var(--progress), #e9ecef var(--progress));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-progress::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
}

.circle-progress span {
    position: relative;
    font-weight: 700;
    font-size: 1.2rem;
}

.stat-details {
    text-align: left;
}

.stat-details strong {
    display: block;
    font-size: 1.5rem;
}

.stat-details span {
    color: var(--text-light);
}

.recent-checkins {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkin-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 8px;
}

.checkin-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.checkin-item strong {
    display: block;
}

.checkin-item span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.checkin-item .time {
    margin-left: auto;
    font-size: 0.75rem;
    color: #28a745;
}

@media (max-width: 991px) {
    .ticket-type-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .ticket-revenue {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .header-content {
        flex-direction: column;
    }
    
    .header-actions {
        width: 100%;
        display: flex;
        gap: 10px;
    }
    
    .header-actions .btn {
        flex: 1;
    }
    
    .checkin-stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-details {
        text-align: center;
    }
}

/* ===================================================================
   PHASE 8 - ADMINISTRATION PAGES
   =================================================================== */

/* Admin Dashboard Layout */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sidebar-header span {
    font-weight: 600;
    font-size: 1.1rem;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-item:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.sidebar-nav .nav-item.active {
    color: white;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    border-left: 3px solid var(--primary);
}

.sidebar-nav .nav-item.nav-scanner {
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 4px 14px rgba(107,33,168,.35);
}
.sidebar-nav .nav-item.nav-scanner:hover { background: linear-gradient(90deg, #5b21b6, #6d28d9); box-shadow: 0 6px 20px rgba(107,33,168,.45); }
.sidebar-nav .nav-item.nav-scanner.active { background: linear-gradient(90deg, #4c1d95, #5b21b6); border-left: 3px solid #fff; }

.sidebar-nav .nav-item i {
    font-size: 1.2rem;
    width: 24px;
}

.admin-content {
    margin-left: 260px;
    flex: 1;
    padding: 0;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-header h1 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.content-body {
    padding: 30px;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.positive {
    color: #28a745;
}

.stat-trend.negative {
    color: #dc3545;
}

/* Admin Cards */
.admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-card .card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.admin-card .card-header h6 {
    font-weight: 600;
    margin: 0;
}

.admin-card .card-body {
    padding: 20px;
}

/* Filters Row */
.filters-row {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    padding-left: 40px;
}

/* Admin Tables */
.admin-card .table {
    margin: 0;
}

.admin-card .table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-bottom: none;
}

.admin-card .table td {
    vertical-align: middle;
    padding: 12px 16px;
}

.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    gap: 5px;
}

/* User/Organizer Cells */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-cell img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-cell strong {
    display: block;
}

.user-cell small {
    color: var(--text-light);
}

/* Event Cells */
.event-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-thumb {
    width: 50px;
    height: 35px;
    border-radius: 6px;
    object-fit: cover;
}

.event-location {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Event Admin Stats */
.event-admin-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-box i {
    font-size: 1.5rem;
}

.stat-box .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-box .value {
    font-size: 1.3rem;
    font-weight: 700;
}

.stat-box .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Category Badge */
.category-badge {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Tickets Progress */
.tickets-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tickets-progress span {
    font-size: 0.85rem;
}

/* Organizer Link */
.organizer-link {
    color: var(--primary);
    text-decoration: none;
}

.organizer-link:hover {
    text-decoration: underline;
}

/* Payment Method */
.payment-method {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Transaction Table */
.transactions-table .transaction-id {
    font-size: 0.8rem;
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
}

.date-cell {
    display: flex;
    flex-direction: column;
}

.date-cell small {
    color: var(--text-light);
}

.buyer-cell {
    display: flex;
    flex-direction: column;
}

.event-link {
    color: var(--text-dark);
    text-decoration: none;
}

.event-link:hover {
    color: var(--primary);
}

/* Reports List */
.reports-list .report-item {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.reports-list .report-item:last-child {
    border-bottom: none;
}

.report-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* Pending Requests Grid (Organizers) */
.pending-requests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

.request-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
}

.request-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.request-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.request-header h6 {
    margin: 0;
}

.request-header small {
    color: var(--text-light);
}

.request-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.request-docs {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.doc-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.doc-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.request-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.request-actions .btn {
    flex: 1;
}

/* Settings Page */
.settings-nav .list-group-item {
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    color: var(--text-dark);
}

.settings-nav .list-group-item.active {
    background: linear-gradient(90deg, var(--primary) 0%, rgba(91, 141, 238, 0.1) 100%);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.settings-nav .list-group-item i {
    width: 20px;
}

/* Categories Grid (Settings) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.categories-grid .category-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border: none;
}

.categories-grid .category-card.inactive {
    opacity: 0.5;
}

.category-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-actions {
    display: flex;
    gap: 5px;
}

/* Payment Methods List (Settings) */
.payment-methods-list .payment-method-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.payment-methods-list .payment-method-item:last-child {
    border-bottom: none;
}

/* Reports Page */
.demo-chart {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    width: 100%;
    gap: 10px;
}

.chart-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.chart-bar {
    width: 100%;
    max-width: 60px;
    background: linear-gradient(180deg, var(--primary) 0%, #3366cc 100%);
    border-radius: 6px 6px 0 0;
    margin-top: auto;
    min-height: 10px;
    transition: height 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(180deg, var(--secondary) 0%, #ff4081 100%);
}

.chart-label {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Category Distribution */
.category-distribution .distribution-item {
    margin-bottom: 15px;
}

.category-distribution .distribution-item:last-child {
    margin-bottom: 0;
}

/* User Growth Stats */
.user-growth-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.growth-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.growth-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.growth-info {
    display: flex;
    flex-direction: column;
}

.growth-info .value {
    font-size: 1.3rem;
    font-weight: 700;
}

.growth-info .label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Report Download Cards */
.report-download-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.report-download-card:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.report-download-card h6 {
    margin: 10px 0 5px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        width: 70px;
        overflow: visible;
    }
    
    .sidebar-header span,
    .sidebar-nav .nav-item span {
        display: none;
    }
    
    .sidebar-logo {
        width: 30px;
        height: 30px;
    }
    
    .sidebar-header {
        justify-content: center;
    }
    
    .sidebar-nav .nav-item {
        justify-content: center;
        padding: 15px;
    }
    
    .sidebar-nav .nav-item i {
        font-size: 1.3rem;
    }
    
    .admin-content {
        margin-left: 70px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .header-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .content-body {
        padding: 15px;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .pending-requests-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .event-admin-stats {
        flex-direction: column;
    }
    
    .stat-box {
        width: 100%;
    }
}

/* =====================================================
   ADMIN - Dashboard Stat Cards & Additional Styles
   ===================================================== */

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.admin-stat-card.wide {
    grid-column: span 2;
}

.admin-stat-card .stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.admin-stat-card .stat-icon.users {
    background: linear-gradient(135deg, #5B8DEE, #3366cc);
}

.admin-stat-card .stat-icon.organizers {
    background: linear-gradient(135deg, #FF6B9D, #ff4081);
}

.admin-stat-card .stat-icon.events {
    background: linear-gradient(135deg, #10B981, #059669);
}

.admin-stat-card .stat-icon.tickets {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.admin-stat-card .stat-icon.revenue {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.admin-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-card .stat-info .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.admin-stat-card .stat-info .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2px;
}

.admin-stat-card .stat-info .stat-change {
    font-size: 0.8rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-stat-card .stat-info .stat-change.positive {
    color: #10B981;
}

.admin-stat-card .stat-info .stat-change.warning {
    color: #F59E0B;
}

/* Chart Container */
.chart-container {
    padding: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.chart-bar-group .bar {
    width: 30px;
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    position: relative;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chart-bar-group .bar.revenue {
    background: linear-gradient(180deg, #5B8DEE, #3366cc);
    margin-right: 4px;
}

.chart-bar-group .bar.commission {
    background: linear-gradient(180deg, #10B981, #059669);
}

.chart-bar-group .bar .tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
}

.chart-bar-group .bar:hover .tooltip {
    display: block;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 8px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.legend-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-item .dot.revenue {
    background: #5B8DEE;
}

.legend-item .dot.commission {
    background: #10B981;
}

/* Period Selector */
.period-selector {
    display: flex;
    gap: 5px;
}

.admin-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pending List */
.pending-list {
    padding: 15px;
}

.pending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.pending-item:last-child {
    border-bottom: none;
}

.pending-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.pending-icon.organizer {
    background: rgba(255, 107, 157, 0.1);
    color: #FF6B9D;
}

.pending-icon.event {
    background: rgba(91, 141, 238, 0.1);
    color: #5B8DEE;
}

.pending-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pending-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Health Metrics */
.health-metrics {
    padding: 15px;
}

.health-item {
    margin-bottom: 18px;
}

.health-item:last-child {
    margin-bottom: 0;
}

.health-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.health-label .status {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.health-label .status.online {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.health-label .status.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.health-bar {
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.health-bar .bar {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #059669);
    border-radius: 3px;
}

.health-value {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
    display: block;
}

/* Top Events List */
.top-events-list {
    padding: 15px;
}

.top-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.top-event-item:last-child {
    border-bottom: none;
}

.top-event-item .rank {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    min-width: 30px;
}

.top-event-item .event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-event-item .event-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.top-event-item .revenue {
    font-weight: 600;
    font-size: 0.85rem;
    color: #10B981;
    white-space: nowrap;
}

/* User Stats Row */
.user-stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.user-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 150px;
}

.user-stat i {
    font-size: 1.5rem;
}

.user-stat .value {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
}

.user-stat .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* User Avatar Large */
.user-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-id {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: monospace;
}

/* Activity Summary */
.activity-summary {
    display: flex;
    gap: 20px;
}

.activity-summary .activity-item {
    text-align: center;
    flex: 1;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
}

.activity-summary .activity-item .value {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
}

.activity-summary .activity-item .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Organizer Cells */
.org-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.org-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.org-type-small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Request Details (Organizer) */
.request-details .detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.request-details .detail-row i {
    color: var(--text-light);
    width: 18px;
}

/* Request Categories */
.request-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

/* Request Documents */
.request-documents {
    margin: 15px 0;
}

.request-documents h6 {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.document-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.document-item span {
    flex: 1;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
}

/* Admin Avatar (header) */
.admin-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.date-display {
    color: var(--text-light);
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Success Icon in Modal */
.success-icon {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile adjustments for new admin components */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-stat-card.wide {
        grid-column: span 1;
    }
    
    .user-stats-row {
        flex-direction: column;
    }
    
    .activity-summary {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-bars {
        height: 150px;
    }
    
    .chart-bar-group .bar {
        width: 15px;
    }
}

/* =====================================================
   CALENDAR FIX - Force grid display
   ===================================================== */
.calendar-container .calendar-grid {
    display: block !important;
    width: 100%;
}

.calendar-container .calendar-header {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
}

.calendar-container .calendar-day-header {
    text-align: center !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    padding: 15px 10px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    background: var(--bg-light) !important;
    border-radius: 8px !important;
}

.calendar-container .calendar-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.calendar-container .calendar-week {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 5px !important;
}

.calendar-container .calendar-day {
    min-height: 120px !important;
    background: var(--bg-light) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    position: relative !important;
}

/* =====================================================
   STEPPER FIX - Become Organizer Form
   ===================================================== */
.signup-card {
    background: white !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

.signup-progress {
    position: relative !important;
    padding-bottom: 30px !important;
    margin-bottom: 30px !important;
}

.signup-progress .progress-steps {
    display: flex !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 1 !important;
}

.signup-progress .progress-steps .step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
}

.signup-progress .progress-steps .step .step-number {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #e5e7eb !important;
    color: #6c757d !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    transition: all 0.3s !important;
    border: 3px solid transparent !important;
}

.signup-progress .progress-steps .step.active .step-number {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: rgba(91, 141, 238, 0.3) !important;
    box-shadow: 0 4px 15px rgba(91, 141, 238, 0.4) !important;
}

.signup-progress .progress-steps .step.completed .step-number {
    background: #22c55e !important;
    color: white !important;
}

.signup-progress .progress-steps .step .step-label {
    font-size: 13px !important;
    color: #6c757d !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.signup-progress .progress-steps .step.active .step-label {
    color: var(--primary-color) !important;
}

.signup-progress .progress-line {
    position: absolute !important;
    top: 25px !important;
    left: 15% !important;
    right: 15% !important;
    height: 4px !important;
    background: #e5e7eb !important;
    border-radius: 2px !important;
    z-index: 0 !important;
}

.signup-progress .progress-line .progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, var(--primary-color), #22c55e) !important;
    border-radius: 2px !important;
    transition: width 0.3s ease !important;
}

/* Organizer Hero Fix */
.organizer-signup-page .organizer-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: white !important;
    padding: 60px 0 !important;
}

.organizer-signup-page .organizer-hero h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
}

.organizer-signup-page .organizer-hero .lead {
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
}

.organizer-signup-page .benefits-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 30px 0 !important;
}

.organizer-signup-page .benefits-list li {
    margin-bottom: 12px !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.organizer-signup-page .hero-image {
    padding: 40px !important;
}

.organizer-signup-page .hero-image i {
    font-size: 8rem !important;
    opacity: 0.3 !important;
}

/* Auth Tabs on BecomeOrganizer */
.organizer-signup-page .auth-tabs {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
}

.organizer-signup-page .auth-tabs .nav-link {
    border-radius: 10px;
    font-weight: 600;
    color: #6c757d;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.organizer-signup-page .auth-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.organizer-signup-page .auth-tabs .nav-link:not(.active):hover {
    color: var(--primary-color);
    background: rgba(108, 92, 231, 0.05);
}

/* Session Expired Modal */
.session-expired-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.session-expired-modal {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.session-expired-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B, #EE5A24);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.session-expired-icon.warning {
    background: linear-gradient(135deg, #FDCB6E, #E17055);
    animation: pulse 2s infinite;
}

.session-expired-icon i {
    font-size: 2rem;
    color: white;
}

.session-expired-modal h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3436;
}

.session-expired-modal p {
    color: #636e72;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.session-expired-modal p strong {
    color: #E17055;
    font-size: 1.2em;
}

.session-progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.session-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E17055, #FDCB6E);
    border-radius: 3px;
    transition: width 1s linear;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ======================== */
/* ORDERS PAGE              */
/* ======================== */
.orders-page {
    background: linear-gradient(135deg, #faf5ff 0%, #fff5f5 50%, #fffaf0 100%);
    min-height: 80vh;
}

.orders-hero {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.orders-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}
.orders-title i {
    color: #805ad5;
}

.orders-subtitle {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.orders-stats-row {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.orders-stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fafafa;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-width: 130px;
}

.orders-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.orders-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.orders-stat-label {
    font-size: 0.75rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Filters */
.orders-filter-bar {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.orders-search {
    position: relative;
}
.orders-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}
.orders-search input {
    padding-left: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.orders-search input:focus {
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.orders-filter-bar .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.orders-filter-bar .form-select:focus {
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

/* Loading / Empty */
.orders-loading {
    text-align: center;
    padding: 4rem 0;
}
.orders-loading p {
    margin-top: 1rem;
    color: #718096;
}

.orders-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.orders-empty-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}
.orders-empty h3 {
    color: #4a5568;
    font-weight: 600;
}
.orders-empty p {
    color: #a0aec0;
    margin-bottom: 1.5rem;
}

/* Order Cards */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.order-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f7fafc;
    background: linear-gradient(135deg, #faf5ff, #fff5f5);
}

.order-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.order-number {
    font-weight: 700;
    color: #2d3748;
    font-size: 0.95rem;
}

.order-date {
    display: block;
    color: #a0aec0;
    font-size: 0.8rem;
}

/* Status badges */
.order-status-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.order-status-badge.status-success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #c6f6d5;
}
.order-status-badge.status-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.order-status-badge.status-danger {
    background: #fff5f5;
    color: #9b2c2c;
    border: 1px solid #fed7d7;
}
.order-status-badge.status-info {
    background: #ebf8ff;
    color: #2a4365;
    border: 1px solid #bee3f8;
}
.order-status-badge.status-muted,
.order-status-badge.status-default {
    background: #f7fafc;
    color: #718096;
    border: 1px solid #e2e8f0;
}

/* Order body */
.order-card-body {
    padding: 0.75rem 1.25rem;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}
.order-item-row + .order-item-row {
    border-top: 1px solid #f7fafc;
}

.order-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.order-item-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9d5ff, #fce7f3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #805ad5;
    font-size: 1.3rem;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-event-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    color: #718096;
}

.order-item-amount {
    font-weight: 700;
    color: #805ad5;
    font-size: 1rem;
    white-space: nowrap;
}
.order-item-amount small {
    font-weight: 500;
    font-size: 0.75rem;
    color: #a0aec0;
}

/* Order footer */
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.order-total-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
}
.order-total-line strong {
    font-size: 1.1rem;
    color: #805ad5;
}

.order-btn-group {
    display: flex;
    gap: 0.5rem;
}
.order-btn-group .btn-outline-primary {
    border-color: #805ad5;
    color: #805ad5;
    border-radius: 8px;
}
.order-btn-group .btn-outline-primary:hover {
    background: #805ad5;
    color: white;
}
.order-btn-group .btn-primary {
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    border: none;
    border-radius: 8px;
}
.order-btn-group .btn-primary:hover {
    background: linear-gradient(135deg, #6b47b8, #c73578);
}

/* Responsive */
@media (max-width: 768px) {
    .orders-stats-row {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .orders-stat-card {
        min-width: auto;
        flex: 1;
    }
    .order-card-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .order-item-row {
        flex-wrap: wrap;
    }
    .order-item-amount {
        width: 100%;
        text-align: right;
    }
    .order-card-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    .order-btn-group {
        width: 100%;
    }
    .order-btn-group .btn {
        flex: 1;
    }
}

/* =====================================================
   GLOBAL RESPONSIVE - Mobile-First Overhaul
   ===================================================== */

/* --- Header Row Layout --- */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

/* Logo variants: default visible, mobile hidden on desktop */
.logo-default { display: inline-block; }
.logo-mobile { display: none; }

/* --- Mobile Menu Button --- */
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-dark);
    padding: 4px 8px;
    cursor: pointer;
    line-height: 1;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.mobile-menu-btn:hover {
    background: rgba(91, 141, 238, 0.1);
    color: var(--primary-color);
}

/* --- Mobile Search Button --- */
.mobile-search-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.mobile-search-btn:hover {
    background: rgba(91, 141, 238, 0.1);
    color: var(--primary-color);
}

/* --- Mobile Search Bar (slide down) --- */
.mobile-search-bar {
    background: white;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-bottom: 1px solid var(--border-color);
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Mobile Navigation Drawer --- */
.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeInBackdrop 0.25s ease;
}

@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(91, 141, 238, 0.05), rgba(255, 107, 157, 0.05));
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}
.mobile-nav-close:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li a.active {
    background: rgba(91, 141, 238, 0.06);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.mobile-nav-menu li a i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--text-light);
}

.mobile-nav-menu li a:hover i,
.mobile-nav-menu li a.active i {
    color: var(--primary-color);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 16px;
}

.mobile-nav-secondary li a {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Responsive: Tablets & below (max-width: 991px) ===== */
@media (max-width: 991px) {
    /* Hide top-bar on mobile like the app */
    .top-bar {
        display: none;
    }

    .main-header {
        padding: 10px 0;
        background: linear-gradient(135deg, #6c3ce0, #8b5cf6);
        box-shadow: 0 2px 10px rgba(108, 60, 224, 0.3);
    }
    .main-header .container {
        padding: 0 12px;
    }
    /* Swap to white logo on mobile */
    .logo-default { display: none !important; }
    .logo-mobile { display: inline-block !important; }
    .main-header .logo img {
        height: 40px;
    }

    /* Logo takes remaining space to push actions right */
    .main-header .logo {
        flex: 1 1 auto;
        min-width: 60px;
        display: flex;
        align-items: center;
    }
    .header-row {
        justify-content: flex-start;
        gap: 8px;
    }

    /* Mobile hamburger white */
    .mobile-menu-btn {
        color: #fff;
    }
    .mobile-menu-btn:hover {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

    /* Header actions: icons only, same row, pushed to the right */
    .main-header .header-actions {
        gap: 8px !important;
        flex-shrink: 0;
        margin-left: auto !important;
        width: auto !important;
        flex-wrap: nowrap !important;
    }
    .main-header .header-action-label {
        display: none !important;
    }
    .main-header .header-action {
        flex-direction: row;
        font-size: 0;
        padding: 6px;
        color: #fff;
    }
    .main-header .header-action:hover {
        color: rgba(255,255,255,0.8);
    }
    .main-header .header-action i {
        font-size: 22px;
        margin-bottom: 0;
        color: #fff;
    }
    .main-header .mobile-search-btn {
        color: #fff;
    }
    .main-header .mobile-search-btn:hover {
        background: rgba(255,255,255,0.15);
        color: #fff;
    }
    .main-header .account-trigger {
        flex-direction: row !important;
        padding: 6px !important;
        color: #fff !important;
    }
    .main-header .account-trigger:hover {
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
    }
    .main-header .account-trigger i.bi-person-circle {
        font-size: 22px;
        color: #fff;
    }
    /* Notification bell white */
    .main-header .notification-bell-container .btn-icon {
        color: #fff !important;
    }
    .main-header .notification-bell-container .btn-icon i {
        color: #fff !important;
    }

    /* Categories scroll: smaller items on tablet */
    .category-scroll-item {
        flex: 0 0 150px;
    }
    .cat-scroll-arrow {
        width: 32px;
        height: 32px;
    }

    /* Hero carousel arrows: hidden on mobile, show only on hover (desktop) */
    .carousel-arrow {
        display: none;
    }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }

    /* Account dropdown menu: full-width below header on mobile */
    .account-menu {
        position: fixed !important;
        top: 60px !important;
        left: 16px !important;
        right: 16px !important;
        bottom: auto !important;
        width: auto !important;
        min-width: unset !important;
        max-width: calc(100vw - 32px);
        border-radius: 16px;
        z-index: 10001;
        margin-top: 0;
    }
    .account-menu::before {
        display: none;
    }
    .account-menu-backdrop {
        z-index: 10000;
        background: rgba(0,0,0,0.3);
    }

    /* MyTickets page: center header and button */
    .page-header .d-flex.flex-wrap {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    .page-header .d-flex.flex-wrap > div:first-child {
        text-align: center;
    }
    .page-header .page-title {
        font-size: 1.4rem;
    }
    .page-header .d-flex.gap-2 {
        justify-content: center;
        width: 100%;
    }

    /* Content */
    .section-title h3 {
        font-size: 24px;
    }
    .view-all-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
    .event-card-img {
        height: 200px;
    }
    .promo-banner {
        padding: 25px;
    }
    .promo-content h2 {
        font-size: 28px;
    }

    /* Checkout stepper */
    .checkout-steps {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 16px;
    }
    .step span {
        font-size: 12px;
    }
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .step-line {
        width: 40px;
    }

    /* Footer */
    .main-footer .row .col-lg-4 {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .newsletter-section .row {
        text-align: center;
    }
    .newsletter-section h4 {
        font-size: 1.1rem;
    }
}

/* ===== Responsive: Mobile (max-width: 767px) ===== */
@media (max-width: 767px) {
    .top-bar .container > .d-flex {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .top-bar .container > .d-flex > div:first-child a:first-child {
        margin-left: 0;
    }

    .main-header {
        padding: 8px 0;
    }
    .main-header .logo img {
        height: 32px;
    }

    .main-header .header-actions {
        gap: 6px !important;
        margin-left: auto !important;
        width: auto !important;
        flex-wrap: nowrap !important;
    }
    .main-header .header-action {
        padding: 4px;
    }
    .main-header .header-action i {
        font-size: 20px;
    }
    .main-header .badge-count {
        padding: 2px 5px;
        font-size: 9px;
        top: -4px;
        right: -6px;
    }

    /* MyTickets page mobile */
    .tickets-filters .row {
        flex-direction: column;
    }
    .tickets-filters .row > [class*='col-'] {
        width: 100%;
    }
    .page-header .page-title {
        font-size: 1.25rem;
    }
    .page-header .page-subtitle {
        font-size: 0.85rem;
    }

    /* Section titles */
    .section-title {
        margin: 30px 0 20px 0;
    }
    .section-title h3 {
        font-size: 20px;
        gap: 8px;
    }
    .view-all-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    /* Event cards */
    .event-card-img {
        height: 180px;
    }
    .event-card-body {
        padding: 16px;
    }
    .event-title {
        font-size: 16px;
    }

    /* Checkout stepper */
    .checkout-steps {
        flex-wrap: nowrap;
        gap: 4px;
        padding: 14px 10px;
    }
    .step {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .step span {
        font-size: 11px;
    }
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .step-line {
        width: 25px;
        height: 2px;
        margin-top: -16px;
    }

    /* Checkout card */
    .checkout-card {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .checkout-item {
        flex-direction: column;
        gap: 10px;
    }
    .checkout-item .item-image {
        width: 100%;
    }
    .checkout-item .item-image img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 10px;
    }
    .checkout-item .item-price {
        text-align: left;
    }

    /* Confirmation */
    .confirmation-card {
        padding: 20px 14px;
    }
    .confirmation-details {
        grid-template-columns: 1fr;
    }

    /* Payment methods */
    .payment-method {
        padding: 14px;
    }

    /* Footer */
    .main-footer {
        padding: 30px 0 !important;
    }
    .main-footer .row .col-lg-2,
    .main-footer .row .col-lg-4 {
        text-align: center;
    }
    .footer-links {
        padding: 0;
    }
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 8px;
    }
    .newsletter-form .input-group .form-control {
        border-radius: 50px !important;
    }
    .newsletter-form .input-group .btn {
        border-radius: 50px !important;
        width: 100%;
    }

    /* NafaTicket Section Header */
    .nt-section-header {
        flex-direction: column;
        gap: 12px;
        padding: 1rem;
        text-align: center;
    }
    .nt-section-left {
        flex-direction: column;
        gap: 8px;
    }
    .nt-section-title {
        font-size: 1.2rem;
    }

    /* Hero carousel */
    .hero-carousel {
        border-radius: 0 !important;
        margin: 0 -12px;
    }

    /* Promo banners */
    .promo-banner {
        padding: 20px;
        border-radius: 16px;
    }
    .promo-content h2 {
        font-size: 22px;
    }
    .promo-content p {
        font-size: 14px;
    }

    /* Category cards */
    .category-scroll-item {
        flex: 0 0 140px;
    }
    .category-card {
        border-radius: 14px;
        height: 160px;
    }
    .category-card img {
        height: 100%;
        object-fit: cover;
    }
    .cat-scroll-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .cat-scroll-left { left: -6px; }
    .cat-scroll-right { right: -6px; }

    /* Auth pages */
    .auth-container {
        padding: 20px 16px;
    }

    /* Container padding */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ===== Responsive: Small phones (max-width: 575px) ===== */
@media (max-width: 575px) {
    .top-bar {
        padding: 4px 0;
        font-size: 11px;
    }

    .main-header {
        padding: 6px 0;
    }
    .main-header .logo img {
        height: 30px;
    }
    .mobile-menu-btn {
        font-size: 24px;
        padding: 2px 4px;
    }
    .mobile-search-btn {
        font-size: 18px;
        padding: 4px 6px;
    }

    .main-header .header-actions {
        gap: 4px !important;
        margin-left: auto !important;
        width: auto !important;
        flex-wrap: nowrap !important;
    }
    .main-header .header-action {
        padding: 3px;
    }
    .main-header .header-action i {
        font-size: 18px;
    }
    .main-header .account-trigger i.bi-person-circle {
        font-size: 18px;
    }

    /* Checkout */
    .checkout-steps {
        gap: 2px;
        padding: 10px 8px;
    }
    .step span {
        font-size: 10px;
    }
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .step-line {
        width: 16px;
        margin-top: -14px;
    }

    /* Section layout */
    .section-title {
        margin: 20px 0 15px 0;
    }
    .section-title h3 {
        font-size: 18px;
    }

    /* Event cards */
    .event-card {
        border-radius: 14px;
    }
    .event-card-img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .event-card-body {
        padding: 10px;
    }
    .event-card-body .event-category {
        font-size: .65rem;
        padding: 2px 8px;
        margin-bottom: 4px;
    }
    .event-title {
        font-size: 0.85rem;
        min-height: unset;
        -webkit-line-clamp: 2;
        margin: 4px 0;
    }
    .event-info-item {
        font-size: .72rem;
        gap: 3px;
    }
    .event-info-item i {
        font-size: .72rem;
    }
    .event-info {
        margin-bottom: 8px;
    }
    .event-footer {
        padding-top: 8px;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .event-price {
        flex-direction: row;
        align-items: baseline;
        gap: 4px;
    }
    .event-price-label {
        font-size: 10px;
    }
    .event-price-amount {
        font-size: .85rem;
    }
    .btn-get-ticket {
        text-align: center;
        padding: 6px 12px;
        font-size: .75rem;
    }
    .event-date-badge {
        padding: 5px 8px;
        border-radius: 10px;
        top: 8px;
        left: 8px;
    }
    .event-date-badge .day {
        font-size: 18px;
    }
    .event-date-badge .month {
        font-size: 9px;
    }
    .event-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 9px;
    }
    .tickets-remaining-badge {
        bottom: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: .65rem;
    }

    /* Promo */
    .promo-content h2 {
        font-size: 18px;
    }
    .promo-content p {
        font-size: 13px;
    }

    /* Footer */
    .footer-bottom p {
        font-size: 12px;
    }
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* Category cards */
    .category-scroll-item {
        flex: 0 0 130px;
    }
    .category-card {
        height: 150px;
    }
    .category-card img {
        height: 100%;
        object-fit: cover;
    }

    /* Container fix */
    .container, .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ===== Fix overflow global ===== */
html {
    max-width: 100vw;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
    scroll-behavior: auto;
}

body {
    max-width: 100vw;
}

main {
    overflow-x: clip;
    min-height: 100vh;
    contain: layout style;     /* limit layout recalculation scope */
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   COMPREHENSIVE RESPONSIVE - ALL PAGES
   ===================================================== */

/* --- Mobile Filter Toggle Button (Events page) --- */
.btn-ev-mobile-filter {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #805ad5, #d53f8c);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}
.btn-ev-mobile-filter:hover {
    background: linear-gradient(135deg, #6b47b8, #c73578);
    color: white;
    transform: translateY(-1px);
}
.btn-ev-mobile-filter .badge {
    font-size: 11px;
}

/* ===== Tablet (max-width: 991px) ===== */
@media (max-width: 991px) {
    /* --- Events Page --- */
    .events-hero-banner {
        padding: 1.5rem 0;
    }
    .events-hero-title {
        font-size: 1.5rem;
    }
    .events-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    .events-hero-stats {
        gap: 1rem;
    }
    .events-hero-stat strong {
        font-size: 1.2rem;
    }
    .ev-filters-card {
        position: static;
        margin-bottom: 1rem;
    }
    .ev-toolbar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    .ev-toolbar-left,
    .ev-toolbar-right {
        width: 100%;
    }
    .ev-toolbar-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* --- Event Detail --- */
    .event-hero {
        min-height: 280px;
        padding: 30px 0;
    }
    .event-hero-title {
        font-size: 1.8rem;
    }
    .event-hero-meta {
        gap: 12px;
        font-size: 14px;
    }
    .event-detail-card {
        padding: 20px;
        border-radius: 14px;
    }
    .event-details-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ticket-selection-card {
        position: static;
        margin-top: 20px;
        padding: 20px;
    }
    .share-buttons {
        gap: 4px;
    }
    .share-btn {
        padding: 6px 10px;
    }

    /* --- MyTickets --- */
    .tickets-filters .row .col-md-4,
    .tickets-filters .row .col-md-3,
    .tickets-filters .row .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .tickets-filters .row .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
    .ticket-card-enhanced .ticket-card-body {
        padding: 18px;
    }
    .ticket-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 10px;
    }

    /* --- Profile --- */
    .profile-container {
        padding-top: 60px;
    }
    .profile-header {
        padding: 35px 20px;
    }
    .profile-section .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* --- Orders --- */
    .orders-hero .row {
        flex-direction: column;
    }
    .orders-stats-row {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    .orders-filter-bar .row .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .orders-filter-bar .row .col-md-3,
    .orders-filter-bar .row .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* --- Cart --- */
    .cart-item {
        flex-direction: column;
        gap: 12px;
    }
    .cart-item-image {
        width: 100%;
        height: 160px;
    }
    .cart-item-quantity {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .order-summary {
        position: static;
        margin-top: 20px;
    }

    /* --- Login --- */
    .login-page {
        flex-direction: column;
    }
    .login-brand {
        display: none;
    }
    .login-form-panel {
        width: 100%;
        min-height: 100vh;
    }
    .login-card {
        max-width: 100%;
        padding: 24px;
    }
    .login-mobile-logo {
        display: block !important;
    }

    /* --- Calendar --- */
    .cal-hero-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .cal-stat {
        flex: 1 1 calc(33% - 0.5rem);
        min-width: 80px;
    }

    /* --- Contact --- */
    .contact-page .col-lg-7 {
        order: 1;
    }
    .contact-page .col-lg-5 {
        order: 2;
    }

    /* --- BecomeOrganizer --- */
    .organizer-hero .col-lg-6:last-child {
        display: none;
    }
    .organizer-hero h1 {
        font-size: 1.6rem;
    }

    /* --- Notifications --- */
    .notification-filters {
        flex-wrap: wrap;
        gap: 6px;
    }
    .filter-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ===== Mobile (max-width: 767px) ===== */
@media (max-width: 767px) {
    /* --- General --- */
    .page-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .page-header .page-title {
        font-size: 1.4rem;
    }
    .page-header .d-flex .d-flex.gap-2 {
        width: 100%;
    }
    .page-header .d-flex .d-flex.gap-2 .btn {
        flex: 1;
        font-size: 13px;
    }

    /* --- Events Page --- */
    .events-hero-banner {
        padding: 1.25rem 0;
    }
    .events-hero-title {
        font-size: 1.3rem;
    }
    .events-hero-stats {
        gap: 0.75rem;
    }
    .events-hero-stat strong {
        font-size: 1.1rem;
    }
    .events-hero-stat span {
        font-size: 0.75rem;
    }
    .ev-filter-section {
        margin-bottom: 0.75rem;
    }
    .ev-active-filters {
        flex-wrap: wrap;
        gap: 6px;
    }
    .ev-filter-chip {
        font-size: 12px;
        padding: 4px 10px;
    }
    .ev-empty-state {
        padding: 2rem 1rem;
    }
    .ev-empty-icon i {
        font-size: 3rem;
    }
    .ev-pagination .pagination {
        flex-wrap: wrap;
        gap: 4px;
    }
    .ev-pagination .page-link {
        padding: 6px 10px;
        font-size: 13px;
    }

    /* --- Event Detail --- */
    .event-hero {
        min-height: 250px;
        padding: 20px 0;
    }
    .event-hero-title {
        font-size: 1.5rem;
    }
    .event-hero-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }
    .event-category-badge {
        font-size: 11px;
        padding: 6px 14px;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }
    .event-detail-card {
        padding: 16px;
        border-radius: 12px;
    }
    .event-actions {
        flex-direction: column;
    }
    .event-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .share-buttons {
        width: 100%;
        justify-content: center;
    }
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .detail-item {
        padding: 12px;
    }
    .ticket-selection-card {
        padding: 16px;
        border-radius: 12px;
    }
    .ticket-type-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }
    .ticket-quantity {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .ticket-summary .total-price {
        font-size: 18px;
    }
    .ticket-selection-card .btn-lg {
        padding: 14px;
        font-size: 15px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .organizer-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .organizer-card .btn {
        margin: 0 auto;
    }

    /* --- MyTickets --- */
    .tickets-filters .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .tickets-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .tickets-tabs .nav-link {
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 14px;
    }
    .ticket-card-enhanced {
        border-radius: 14px;
    }
    .ticket-card-enhanced .ticket-card-body {
        padding: 14px;
    }
    .ticket-event-info h5 {
        font-size: 15px;
        padding-right: 35px;
    }
    .ticket-meta {
        flex-direction: column;
        gap: 6px;
        font-size: 12px;
    }
    .ticket-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding: 8px;
        font-size: 12px;
    }
    .ticket-detail-item .label {
        font-size: 10px;
    }
    .ticket-detail-item .value {
        font-size: 12px;
    }
    .ticket-actions {
        flex-wrap: wrap;
        gap: 6px;
    }
    .ticket-actions .btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .ticket-price-tag {
        font-size: 14px;
        padding: 6px 14px;
    }
    .ticket-status-indicator {
        width: 28px;
        height: 28px;
        font-size: 13px;
        top: 10px;
        right: 10px;
    }

    /* -- Ticket Detail Modal -- */
    .ticket-detail-modal .row {
        flex-direction: column;
    }
    .ticket-detail-modal .col-md-6 {
        width: 100%;
    }
    .qr-code-large img {
        max-width: 180px;
    }

    /* --- Profile --- */
    .profile-container {
        padding-top: 40px;
    }
    .profile-header {
        padding: 30px 16px;
    }
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    .avatar-initials {
        font-size: 32px;
    }
    .profile-name {
        font-size: 1.3rem;
    }
    .profile-stats {
        padding: 20px 10px;
    }
    .stat-value {
        font-size: 1.4rem;
    }
    .stat-label {
        font-size: 11px;
    }
    .profile-menu .menu-item {
        padding: 12px 14px;
    }
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-header {
        padding: 16px 18px;
    }
    .section-content {
        padding: 18px;
    }
    .security-item,
    .notification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .security-item .form-check.form-switch,
    .notification-item .form-check.form-switch {
        align-self: flex-end;
    }

    /* --- Orders --- */
    .orders-hero {
        padding: 1.25rem;
    }
    .orders-title {
        font-size: 1.3rem;
    }
    .orders-stats-row {
        gap: 0.5rem;
    }
    .orders-stat-card {
        min-width: calc(50% - 0.5rem);
        padding: 0.5rem 0.75rem;
    }
    .orders-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .orders-stat-value {
        font-size: 1rem;
    }
    .orders-stat-label {
        font-size: 0.65rem;
    }
    .orders-filter-bar {
        padding: 0.75rem;
    }
    .orders-filter-bar .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 6px;
    }
    .order-card {
        border-radius: 12px;
    }
    .order-card-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 0.85rem 1rem;
    }
    .order-card-body {
        padding: 0.5rem 1rem;
    }
    .order-item-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .order-item-thumb {
        width: 48px;
        height: 48px;
    }
    .order-item-info {
        flex: 1;
        min-width: 0;
    }
    .order-event-name {
        font-size: 0.9rem;
    }
    .order-item-meta {
        flex-direction: column;
        gap: 2px;
        font-size: 0.75rem;
    }
    .order-item-amount {
        width: 100%;
        text-align: right;
        font-size: 0.95rem;
    }
    .order-card-footer {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
    .order-total-line {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .order-btn-group {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .order-btn-group .btn {
        flex: 1;
        font-size: 13px;
    }

    /* -- Order Detail Modal -- */
    .modal-dialog.modal-lg {
        max-width: 95vw;
        margin: 10px auto;
    }
    .modal-body .row {
        flex-direction: column;
    }
    .modal-body .col-md-6 {
        width: 100%;
    }

    /* --- Cart --- */
    .cart-item {
        padding: 14px;
        border-radius: 12px;
    }
    .cart-item-image {
        width: 100%;
        height: 140px;
    }
    .cart-item-header h4 {
        font-size: 15px;
    }
    .cart-item-meta {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }
    .cart-item-ticket {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .cart-item-quantity {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 8px;
        border-top: 1px solid #f0f0f0;
    }
    .cart-item-quantity .item-total {
        font-size: 16px;
    }
    .cart-actions {
        flex-direction: column;
        gap: 8px;
    }
    .cart-actions .btn {
        text-align: center;
    }
    .order-summary {
        padding: 18px;
        border-radius: 14px;
    }
    .order-summary h4 {
        font-size: 1.1rem;
    }
    .summary-total {
        font-size: 18px;
    }
    .payment-badge {
        width: 44px;
        height: 44px;
    }
    .cart-warning {
        font-size: 13px;
        padding: 10px;
    }

    /* --- Login / Register --- */
    .login-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .login-title {
        font-size: 1.5rem;
    }
    .login-social {
        flex-direction: column;
        gap: 8px;
    }
    .login-social-btn {
        width: 100%;
    }

    /* --- Calendar --- */
    .cal-hero {
        padding: 1.5rem 1rem;
    }
    .cal-hero-title {
        font-size: 1.3rem;
    }
    .cal-hero-stats {
        flex-direction: row;
        gap: 0.5rem;
    }
    .cal-card {
        border-radius: 12px;
        padding: 12px;
    }
    .cal-nav h3 {
        font-size: 1rem;
    }
    .cal-grid .cal-cell {
        min-height: 50px;
        font-size: 12px;
    }
    .cal-event-dot {
        width: 6px;
        height: 6px;
    }

    /* --- Contact --- */
    .contact-hero {
        min-height: 200px;
    }
    .contact-hero h1 {
        font-size: 1.5rem;
    }
    .contact-form-section h3 {
        font-size: 1.2rem;
    }
    .contact-info-card {
        padding: 20px;
    }

    /* --- FAQ --- */
    .faq-page .accordion-button {
        font-size: 14px;
        padding: 12px 16px;
    }
    .faq-page .accordion-body {
        font-size: 13px;
        padding: 12px 16px;
    }

    /* --- BecomeOrganizer --- */
    .organizer-hero {
        padding: 2rem 0;
    }
    .organizer-hero h1 {
        font-size: 1.4rem;
    }
    .organizer-hero .lead {
        font-size: 0.95rem;
    }
    .benefits-list li {
        font-size: 14px;
    }
    .signup-card {
        padding: 20px;
        border-radius: 14px;
    }
    .progress-steps {
        gap: 4px;
    }
    .progress-steps .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* --- Notifications --- */
    .notification-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 6px;
        padding-bottom: 6px;
    }
    .filter-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 5px 10px;
    }
    .notification-card,
    .notif-card {
        padding: 14px;
        border-radius: 12px;
    }

    /* --- Favorites --- */
    .empty-state {
        padding: 2rem 1rem !important;
    }
    .empty-state .display-1 {
        font-size: 3rem !important;
    }
    .empty-state h3 {
        font-size: 1.2rem;
    }
    .favorite-remove-btn {
        top: 8px;
        right: 8px;
    }

    /* --- Blog --- */
    .blog-hero {
        min-height: 200px;
    }
    .blog-hero h1 {
        font-size: 1.5rem;
    }
    .blog-card {
        border-radius: 12px;
    }
    .blog-card-img {
        height: 160px;
    }

    /* --- Privacy / Terms / Refund --- */
    .legal-page .container,
    .privacy-page .container,
    .terms-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .legal-page h1,
    .legal-page h2 {
        font-size: 1.3rem;
    }

    /* --- How It Works --- */
    .how-it-works .step-card {
        padding: 20px;
    }
    .how-it-works .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* --- Reviews --- */
    .review-card {
        padding: 16px;
        border-radius: 12px;
    }

    /* --- OrganizerDashboard --- */
    .organizer-dashboard .stat-card {
        padding: 16px;
    }

    /* --- Generic Modals --- */
    .modal-dialog-centered {
        margin: 10px;
    }
    .modal-content {
        border-radius: 14px;
    }
    .modal-header {
        padding: 14px 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .modal-footer {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .modal-footer .btn {
        flex: 1;
        min-width: 0;
    }
}

/* ===== Small Phones (max-width: 575px) ===== */
@media (max-width: 575px) {
    /* --- Events --- */
    .events-hero-title {
        font-size: 1.1rem;
    }
    .events-hero-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .events-hero-stat {
        flex: 0 0 auto;
    }

    /* --- Event Detail --- */
    .event-hero {
        min-height: 200px;
        padding: 15px 0;
    }
    .event-hero-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    .event-hero .breadcrumb {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .event-detail-card {
        padding: 12px;
    }
    .ticket-type-item {
        padding: 10px;
        border-radius: 10px;
    }
    .ticket-type-info h5 {
        font-size: 14px;
    }
    .ticket-price {
        font-size: 15px;
    }
    .quantity-selector .btn {
        width: 30px;
        height: 30px;
    }
    .quantity-value {
        min-width: 30px;
        font-size: 14px;
    }

    /* --- MyTickets --- */
    .ticket-details {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ticket-detail-item .label {
        font-size: 9px;
    }
    .ticket-detail-item .value {
        font-size: 11px;
        word-break: break-all;
    }
    .ticket-actions .btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    .ticket-price-tag {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* --- Profile --- */
    .profile-header {
        padding: 25px 12px;
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    .avatar-initials {
        font-size: 28px;
    }
    .profile-name {
        font-size: 1.15rem;
    }
    .profile-email {
        font-size: 13px;
    }
    .profile-stats {
        flex-wrap: wrap;
        gap: 8px;
    }
    .stat-item {
        flex: 1 1 calc(33% - 8px);
    }
    .profile-menu .menu-item i:first-child {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .section-header {
        padding: 12px 14px;
    }
    .section-content {
        padding: 14px;
    }
    .info-item {
        padding: 12px;
    }

    /* --- Orders --- */
    .orders-hero {
        padding: 1rem;
    }
    .orders-title {
        font-size: 1.1rem;
    }
    .orders-stat-card {
        min-width: 100%;
    }
    .order-card-header {
        padding: 0.7rem 0.85rem;
    }
    .order-number {
        font-size: 0.85rem;
    }
    .order-status-badge {
        font-size: 0.7rem;
    }
    .order-item-thumb {
        width: 40px;
        height: 40px;
    }

    /* --- Cart --- */
    .cart-item {
        padding: 12px;
    }
    .cart-item-image {
        height: 120px;
    }
    .cart-item-header h4 {
        font-size: 14px;
    }
    .order-summary {
        padding: 14px;
    }
    .summary-total {
        font-size: 16px;
    }
    .empty-cart-icon {
        font-size: 60px;
    }

    /* --- Calendar --- */
    .cal-hero {
        padding: 1rem;
    }
    .cal-hero-title {
        font-size: 1.1rem;
    }
    .cal-grid .cal-day-name {
        font-size: 10px;
    }
    .cal-grid .cal-cell {
        min-height: 40px;
        font-size: 11px;
        padding: 2px;
    }

    /* --- BecomeOrganizer --- */
    .organizer-hero {
        padding: 1.5rem 0;
    }
    .organizer-hero h1 {
        font-size: 1.2rem;
    }
    .signup-card {
        padding: 14px;
    }

    /* --- Modals --- */
    .modal-dialog {
        margin: 6px;
    }
    .modal-title {
        font-size: 1rem;
    }
    .modal-footer .btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   EXTRAORDINARY ANIMATIONS - NafaTicket
   Animations spectaculaires pour les catégories et événements
   ═══════════════════════════════════════════════════════════════════════ */

/* --- Scroll-triggered Section Reveal --- */
.animate-section {
    position: relative;
}

.animate-section .anim-card-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--anim-delay, 0s);
}

.animate-section.anim-visible .anim-card-reveal,
.animate-section .anim-card-reveal.anim-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- 3D Tilt Container for Category Cards --- */
.category-card-3d {
    position: relative;
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
    border-radius: 20px;
    overflow: hidden;
    will-change: transform;
}

/* --- Shimmer Light Effect --- */
.card-shimmer {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

/* --- Card Glow Effect --- */
.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 5;
    transition: background 0.3s ease;
}

/* --- Floating Particles --- */
.floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(91,141,238,0.6), rgba(255,107,157,0.6));
    animation: floatParticle 4s ease-in-out infinite;
    animation-delay: var(--p-delay, 0s);
    left: var(--p-x, 50%);
    bottom: -10px;
    opacity: 0;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    15% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-120px) translateX(20px) scale(0.3); }
}

/* --- Event Card Magnetic Hover --- */
.event-card-animated {
    transition: transform 0.2s ease-out, box-shadow 0.4s ease;
    border-radius: 20px;
    position: relative;
    will-change: transform;
}

.event-card-animated:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(91,141,238,0.15);
}

/* --- Urgency Pulse for "Almost Sold Out" --- */
.urgency-pulse {
    position: relative;
}

.urgency-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    background: linear-gradient(45deg, #ff4757, #ff6b6b, #ee5a24, #ff4757);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    animation: urgencyGlow 2s ease-in-out infinite;
}

.urgency-section .event-card-animated:hover .urgency-pulse::before,
.urgency-pulse:hover::before {
    opacity: 1;
}

@keyframes urgencyGlow {
    0%, 100% { background-position: 0% 50%; opacity: 0.5; }
    50% { background-position: 100% 50%; opacity: 1; }
}

/* --- New Badge Glow --- */
.new-badge-glow {
    position: relative;
}

.new-badge-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #667eea, #764ba2, #5B8DEE, #ff6b9d);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientBorderRotate 3s linear infinite;
}

.new-badge-glow:hover::after {
    opacity: 0.7;
}

@keyframes gradientBorderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Carousel Slide Transitions --- */
.carousel-slide {
    animation: none;
}

.carousel-slide.active {
    animation: carouselSlideIn 0.4s ease-out;
}

@keyframes carouselSlideIn {
    0% { opacity: 0; transform: scale(0.96) translateX(30px); }
    100% { opacity: 1; transform: scale(1) translateX(0); }
}

/* --- Carousel Dots Enhanced --- */
.carousel-dots .dot {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-dots .dot.active {
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(91,141,238,0.5);
}

/* --- Category Scroll Auto-shimmer --- */
.categories-animated .category-scroll-item:nth-child(odd) .category-card {
    animation: subtleFloat 6s ease-in-out infinite;
}

.categories-animated .category-scroll-item:nth-child(even) .category-card {
    animation: subtleFloat 6s ease-in-out infinite reverse;
    animation-delay: 1s;
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* --- Category Card Overlay Enhanced --- */
.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15,10,30,.8) 0%, rgba(15,10,30,.3) 40%, transparent 70%);
    padding: 50px 16px 14px 16px;
    color: white;
    z-index: 2;
    transition: padding-bottom 0.4s ease, background 0.4s ease;
}

.category-card:hover .category-card-overlay {
    padding-bottom: 18px;
    background: linear-gradient(to top, rgba(15,10,30,.85) 0%, rgba(15,10,30,.4) 50%, transparent 75%);
}

/* --- Section Title Animated Underline --- */
.categories-section .section-title-wrapper,
.events-section .section-title-wrapper,
.upcoming-events-section .section-title-wrapper {
    position: relative;
}

/* --- Category card pseudo-elements removed --- */
.category-card::after {
    display: none;
}

.category-card:hover::after {
    display: none;
}

@keyframes rippleOut {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* --- Newsletter Section Animation --- */
.newsletter-section {
    animation: newsletterGlow 4s ease-in-out infinite alternate;
}

@keyframes newsletterGlow {
    0% { box-shadow: 0 0 20px rgba(91,141,238,0.1); }
    100% { box-shadow: 0 0 40px rgba(91,141,238,0.2), 0 0 80px rgba(255,107,157,0.1); }
}

/* --- Responsive Adjustments for Animations --- */
@media (max-width: 768px) {
    .animate-section .anim-card-reveal {
        transform: translateY(30px) scale(0.95);
    }

    .floating-particles {
        display: none;
    }

    @keyframes subtleFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
    }
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .animate-section .anim-card-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .particle { animation: none; display: none; }
    .categories-animated .category-scroll-item .category-card { animation: none; }
    .urgency-pulse::before { animation: none; }
    .new-badge-glow::after { animation: none; }
    .newsletter-section { animation: none; }
    .carousel-slide { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   NEW DESIGN STYLES - Stats Bar, Ticker, Promo, Countdown, etc.
   ═══════════════════════════════════════════════════════════════ */

/* ─── FLOATING STATS BAR ─── */
.stats-bar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(124,58,237,.12);
    padding: 18px 30px;
    margin-top: -28px;
    position: relative;
    z-index: 10;
}
.stat-item { text-align: center; }
.stat-item .num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-item .lbl { font-size: .8rem; color: #6b7280; font-weight: 500; }
.stat-divider { width: 1px; background: #f0e8ff; }

/* ─── TICKET TICKER ─── */
.ticker-wrap {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 12px 0;
    overflow: hidden;
}
.ticker {
    display: flex;
    gap: 0;
    animation: ticker 25s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-item i { color: var(--accent-color); }
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── PROMO BANNER ─── */
.promo-banner-new {
    border-radius: 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    padding: 48px;
    position: relative;
    overflow: hidden;
}
.promo-banner-new .row {
    position: relative;
    z-index: 2;
}
.promo-banner-new::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.promo-banner-new::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.promo-title-new {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    line-height: 1.2;
}
.promo-sub {
    color: rgba(255,255,255,.8);
    font-size: 1rem;
    margin: 12px 0 24px;
}
.btn-promo {
    background: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 800;
    font-size: .95rem;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-block;
}
.btn-promo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
    color: var(--primary-color);
}
.btn-outline-promo {
    background: rgba(255,255,255,.25);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: .85rem;
    font-weight: 700;
    transition: .2s;
    text-decoration: none;
    display: inline-block;
}
.btn-outline-promo:hover {
    background: rgba(255,255,255,.4);
    color: #fff;
}
.promo-floating-icon {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 130px;
    color: rgba(255,255,255,.12);
    animation: floatIcon 3s ease-in-out infinite;
    z-index: 1;
}
@keyframes floatIcon {
    0%,100% { transform: translateY(-50%) rotate(-5deg); }
    50% { transform: translateY(calc(-50% - 15px)) rotate(5deg); }
}

/* ─── COUNTDOWN ─── */
.countdown-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(124,58,237,.08);
    border: 1px solid rgba(124,58,237,.1);
    position: relative;
    z-index: 2;
}
.countdown-box {
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    min-width: 64px;
    text-align: center;
}
.countdown-box .cd-num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1;
}
.countdown-box .cd-lbl {
    font-size: .68rem;
    opacity: .8;
    margin-top: 2px;
}
.countdown-sep {
    color: var(--primary-color);
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 0 4px;
}

/* ─── MINI PROMO CARDS ─── */
.mini-promo {
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    min-height: 170px;
}
.mini-promo.blue {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.mini-promo.orange {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.mini-promo h5 {
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}
.mini-promo p {
    color: rgba(255,255,255,.8);
    font-size: .87rem;
}
.mini-promo .mini-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    color: rgba(255,255,255,.12);
}
.btn-mini {
    background: rgba(255,255,255,.25);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    border-radius: 50px;
    padding: 7px 18px;
    font-size: .82rem;
    font-weight: 700;
    transition: .2s;
    text-decoration: none;
    display: inline-block;
}
.btn-mini:hover {
    background: rgba(255,255,255,.4);
    color: #fff;
}

/* ─── NEWSLETTER REDESIGN ─── */
.newsletter-new {
    text-align: center;
    padding: 50px 0;
}
.newsletter-new .section-icon-inline {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.newsletter-new .section-icon-inline i {
    color: #fff;
    font-size: 1.2rem;
}
.newsletter-new h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: #1a0636;
}
.newsletter-new p {
    color: #6b7280;
    margin-bottom: 20px;
}
.newsletter-new .form-control {
    border-radius: 50px;
    border: 1.5px solid #e5e7eb;
    padding: 10px 20px;
    font-size: .9rem;
    max-width: 340px;
    transition: border .25s, box-shadow .25s;
}
.newsletter-new .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.newsletter-new .btn-subscribe {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 700;
    border: none;
    transition: transform .2s, box-shadow .2s;
}
.newsletter-new .btn-subscribe:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(124,58,237,.3);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ─── WISHLIST BUTTON ON CARDS ─── */
.btn-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .2s;
    z-index: 5;
    cursor: pointer;
}
.btn-wish:hover {
    transform: scale(1.2);
    background: #fff;
}
.btn-wish i { color: #ec4899; font-size: 1rem; }

/* ─── BACK TO TOP ─── */
#backTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    box-shadow: 0 4px 18px rgba(124,58,237,.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: transform .2s;
    cursor: pointer;
}
#backTop.show { display: flex; }
#backTop:hover { transform: scale(1.15); }

/* ─── PULSE BUTTON ─── */
.pulse-wrap {
    position: relative;
    display: inline-block;
}
.pulse-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50px;
    border: 2px solid rgba(124,58,237,.4);
    animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
    0% { opacity:1; transform: scale(1); }
    100% { opacity:0; transform: scale(1.4); }
}

/* ─── RESPONSIVE NEW COMPONENTS ─── */
@media (max-width: 768px) {
    .stats-bar { 
        flex-direction: row; 
        flex-wrap: nowrap;
        gap: 0; 
        padding: 14px 10px;
        margin-top: 8px;
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(124,58,237,.10);
    }
    .stats-bar .stat-item { flex: 1; min-width: 0; }
    .stat-divider { width: 1px; height: 40px; align-self: center; }
    .stat-item .num { font-size: 1.15rem; }
    .stat-item .lbl { font-size: .68rem; }

    .promo-banner-new { padding: 28px 18px; }
    .promo-title-new { font-size: 1.35rem; text-align: center; }
    .promo-sub { text-align: center; font-size: .9rem; }
    .promo-banner-new .col-md-7 { text-align: center; }
    .promo-banner-new .btn-promo,
    .promo-banner-new .btn-outline-promo {
        display: block;
        width: 100%;
        text-align: center;
        margin: 8px 0 !important;
    }
    .promo-floating-icon { display: none; }

    .countdown-wrap { margin-top: 20px; padding: 18px 14px; }
    .countdown-wrap .d-flex.align-items-center.justify-content-between { justify-content: center !important; }
    .countdown-box { min-width: 54px; padding: 10px 14px; }
    .countdown-box .cd-num { font-size: 1.4rem; }
    .countdown-sep { font-size: 1.2rem; }

    .mini-promo { min-height: auto; padding: 22px; text-align: center; }
    .mini-promo .mini-icon { font-size: 50px; position: static; transform: none; margin-bottom: 10px; display: block; }
    .mini-promo h5 { font-size: 1rem; }
    .mini-promo .btn-mini { display: inline-block; }

    .newsletter-new { padding: 30px 0; }
    .newsletter-new .d-flex { flex-direction: column; align-items: center; }
    .newsletter-new .form-control { max-width: 100%; width: 100%; }

    .cat-slide { flex: 0 0 150px; min-width: 150px; }
    .cat-arrow { width: 32px; height: 32px; font-size: .9rem; opacity: 0; }
    .categories-carousel:hover .cat-arrow { opacity: 1; }
    .categories-carousel { padding: 0; position: relative; }
    .categories-carousel::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(to left, #fff 0%, transparent 100%); pointer-events: none; z-index: 5; }
    .categories-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .cat-slide { scroll-snap-align: start; }
    .category-card { aspect-ratio: 3/4; border-radius: 14px; }
    .category-card-img { border-radius: 14px; }
    .category-card-overlay { padding: 12px; }
    .category-card-title { font-size: .85rem; }
    .category-card-subtitle { display: none; }
    .category-card-count { font-size: .7rem; }

    /* Hero carousel mobile */
    .hero-carousel .promo-banner-card { min-height: 350px !important; padding: 30px 20px !important; justify-content: center; }
    .hero-carousel .promo-content { padding: 0 10px; width: 100%; align-items: center; text-align: center; }
    .hero-carousel .promo-title { font-size: 1.5rem; }
    .hero-carousel .promo-meta { font-size: .82rem; }
    .hero-carousel .promo-badge { font-size: .72rem; padding: 5px 12px; }
    .hero-carousel .btn-reserve { padding: 10px 22px; font-size: .85rem; }
    .carousel-arrow { width: 36px; height: 36px; font-size: .9rem; }
    .carousel-arrow.prev { left: 8px; }
    .carousel-arrow.next { right: 8px; }
}

@media (max-width: 576px) {
    .hero-carousel .promo-title { font-size: 1.3rem; }
    .hero-carousel .promo-badge { font-size: .65rem; }
    .hero-carousel .promo-banner-card { min-height: 300px !important; }
    .stats-bar { margin-top: 6px; padding: 12px 8px; border-radius: 12px; }
    .stat-item .num { font-size: 1rem; }
    .stat-item .lbl { font-size: .62rem; }
    .promo-title-new { font-size: 1.15rem; }
    .countdown-box { min-width: 48px; padding: 8px 10px; }
    .countdown-box .cd-num { font-size: 1.2rem; }
    .countdown-sep { font-size: 1rem; }
    .cat-slide { flex: 0 0 140px; min-width: 140px; }
}

/* Hide arrows on touch-only devices (no mouse/hover) */
@media (hover: none) and (pointer: coarse) {
    .cat-arrow { display: none !important; }
    .categories-carousel { padding: 0; }
}

/* ========================================
   MOBILE SCROLL PERFORMANCE
   ======================================== */

/* Faster tap response on mobile (remove 300ms delay) */
a, button, input, select, textarea, [role="button"], .btn {
    touch-action: manipulation;
}

@media (max-width: 768px) {
    /* Remove heavy backdrop-filter on mobile — saves GPU */
    .tickets-remaining-badge {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Simplify transitions on mobile for scroll perf */
    .event-card,
    .category-card,
    .cat-slide,
    .checkout-card,
    .ticket-card,
    .order-card {
        transition: none !important;
    }

    /* Prevent hover transforms from staying stuck on touch */
    .event-card:hover,
    .category-card:hover,
    .cat-slide:hover {
        transform: none !important;
    }

    /* Disable heavy animations during scroll */
    .event-card:hover .event-card-image img {
        transform: none !important;
    }

    /* Disable pulse animations — saves CPU during scroll */
    .tickets-remaining-badge.low-stock,
    .event-badge.badge-urgent {
        animation: none !important;
    }

    /* Reduce box-shadow complexity on cards */
    .event-card,
    .checkout-card {
        box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
    }

    /* Ensure mobile nav drawer scrolls smoothly */
    .mobile-nav-drawer {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Reduce gradient animation on top bar — eats GPU */
    .top-bar {
        animation: none !important;
        background-size: 100% 100% !important;
    }
}

/* =====================================================
   SKELETON LOADERS
   ===================================================== */
@keyframes skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.skeleton-pulse {
    background: #e0d8ee;
    border-radius: 8px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    will-change: opacity;       /* promote to compositor layer */
    contain: strict;            /* minimize layout cost */
}

/* Hero skeleton */
.skeleton-hero {
    width: 100%;
    padding: 0 16px;
    min-height: 50vh;          /* ensure enough height for scroll on mobile */
}
.skeleton-hero-bg {
    width: 100%;
    height: 380px;
    border-radius: 16px;
}
@media (max-width: 768px) {
    .skeleton-hero-bg {
        height: 240px;
        border-radius: 12px;
    }
}

/* Card skeleton */
.skeleton-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.skeleton-card-img {
    width: 100%;
    height: 180px;
    border-radius: 0;
}
.skeleton-card-body {
    padding: 14px;
}
@media (max-width: 576px) {
    .skeleton-card-img {
        height: 130px;
    }
    .skeleton-card-body {
        padding: 10px;
    }
}

/* Lines */
.skeleton-line {
    height: 16px;
    width: 100%;
}
.skeleton-line-sm {
    height: 12px;
    width: 100%;
}
.skeleton-title-lg {
    height: 28px;
    width: 50%;
}

/* Width utilities */
.w-80 { width: 80% !important; }
.w-75 { width: 75% !important; }
.w-60 { width: 60% !important; }
.w-50 { width: 50% !important; }
.w-40 { width: 40% !important; }
.w-30 { width: 30% !important; }

/* List skeleton */
.skeleton-list-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.skeleton-list-img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    flex-shrink: 0;
}
.skeleton-list-content {
    flex: 1;
    padding-top: 4px;
}

/* Detail skeleton */
.skeleton-detail-img {
    width: 100%;
    height: 300px;
    border-radius: 12px;
}
@media (max-width: 576px) {
    .skeleton-detail-img {
        height: 200px;
    }
}

/* Button skeleton */
.skeleton-btn {
    height: 44px;
    border-radius: 8px;
}
/* Event Phase Styles */
.phase-card {
    border: 2px solid var(--primary-color);
    background: rgba(124, 58, 237, 0.03);
}

.phase-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.feature-icon.phase-not-started { background: #6b7280; }
.feature-icon.phase-before { background: #3b82f6; }
.feature-icon.phase-soiree { 
    background: linear-gradient(135deg, #7C3AED, #EC4899); 
    animation: glow-soiree 2s infinite alternate;
}
.feature-icon.phase-after { background: #f59e0b; }
.feature-icon.phase-ended { background: #ef4444; }

@keyframes glow-soiree {
    from { box-shadow: 0 0 5px #7C3AED; }
    to { box-shadow: 0 0 20px #EC4899; }
}

.live-pulse {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
    animation: pulse-live 1s infinite;
}

@keyframes pulse-live {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* ── Découverte+ Page ── */
.page-header-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: white;
    padding: 48px 0;
}
.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 8px;
}
.page-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}
.page-header-gradient .page-title {
    color: white;
}
.page-header-gradient .page-subtitle {
    color: rgba(255,255,255,0.85);
}
.discovery-filters .filter-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.discovery-filters .filter-card h5 { color: white; margin-bottom: 16px; }
.discovery-filters .form-label { color: rgba(255,255,255,0.9); font-size: 13px; }
.discovery-tabs {
    background: white;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}
.discovery-tabs .nav-link {
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    transition: all 0.2s;
    border: none;
}
.discovery-tabs .nav-link:hover { background: rgba(124,58,237,0.08); color: #7c3aed; }
.discovery-tabs .nav-link.active { background: #7c3aed; color: white; }

/* ── Event Discovery Card ── */
.event-discovery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}
.event-discovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}
.card-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
}
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}
.event-discovery-card:hover .card-image { transform: scale(1.06); }
.trending-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b35, #f7c59f);
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.recommendation-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.distance-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.card-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7c3aed;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta { display: flex; flex-direction: column; gap: 5px; }
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
.participant-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.card-price {
    font-size: 15px;
    font-weight: 700;
    color: #7c3aed;
    margin-top: auto;
    padding-top: 4px;
}
.card-availability { font-size: 12px; }
.availability-available {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #16a34a;
    font-weight: 500;
}
.availability-soldout {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dc2626;
    font-weight: 500;
}
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.card-actions .btn:first-child { flex: 1; }

/* ============================================================
   Marketplace+ Page
   ============================================================ */
.marketplace-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0e6ff;
}
.marketplace-page .section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.marketplace-page .section-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}
.marketplace-sidebar .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124,58,237,0.08);
    overflow: hidden;
}
.marketplace-sidebar .card-header {
    background: linear-gradient(135deg, #7c3aed11, #ec489911);
    border-bottom: 1px solid #f0e6ff;
    padding: 16px 20px;
}
.marketplace-sidebar .card-header h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.marketplace-sidebar .card-header h5 i {
    color: #7c3aed;
}
.marketplace-sidebar .card-body {
    padding: 20px;
}
.marketplace-sidebar .list-unstyled li {
    padding: 6px 0;
    font-size: 0.875rem;
    color: #444;
    border-bottom: 1px solid #f8f8f8;
}
.marketplace-sidebar .list-unstyled li:last-child {
    border-bottom: none;
}
.marketplace-page .stat-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124,58,237,0.08);
    border: 1px solid #f0e6ff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.marketplace-page .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124,58,237,0.15);
}
.marketplace-page .stat-card .stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}
.marketplace-page .stat-card .stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-top: 3px;
}
.marketplace-page .empty-state {
    background: white;
    border-radius: 20px;
    padding: 60px 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 2px dashed #e8e0ff;
}
.marketplace-page .empty-state i {
    color: #c4b5fd;
}
.marketplace-page .empty-state h4 {
    color: #1a1a2e;
    font-weight: 700;
}

/* Toast Styles */
.toast {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
}

/* ── Category Tabs Bar (Events page) ── */
.category-tabs-bar {
    background: #fff;
    border-bottom: 1px solid #ede9fe;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(124,58,237,0.06);
}
.ctb-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.ctb-inner::-webkit-scrollbar { display: none; }
.ctb-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
    min-width: 64px;
}
.ctb-item:hover {
    background: #f5f0ff;
    border-color: #c4b5fd;
    color: #7c3aed;
}
.ctb-item.active {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-color: #7c3aed;
    color: #fff;
    box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}
.ctb-icon { font-size: 1.3rem; line-height: 1; }
.ctb-label { font-size: 0.7rem; font-weight: 600; white-space: nowrap; }

@media (max-width: 768px) {
    .ctb-item { padding: 6px 10px; min-width: 54px; }
    .ctb-icon { font-size: 1.1rem; }
    .ctb-label { font-size: 0.65rem; }
}
