@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* Selection */
::selection { background: rgba(245,192,0,0.28); color: var(--secondary); }

:root {
    --primary: #F5C000;
    --primary-dark: #d4a600;
    --primary-light: #fff3cc;
    --secondary: #2E2E2E;
    --secondary-light: #3d3d3d;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-800: #262626;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    font-size: 16.5px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

a {
    text-decoration: none;
}

/* ===== FLASH MESSAGES ===== */
.flash {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.flash .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.flash-item {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.flash-item.is-closing {
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.flash-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--gray-600);
}

.flash-icon svg {
    width: 18px;
    height: 18px;
}

.flash-text {
    flex: 1;
    padding-top: 3px;
}

.flash-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.flash-close svg {
    width: 18px;
    height: 18px;
}

.flash-close:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--secondary);
}

.flash-item + .flash-item {
    margin-top: 8px;
}

.flash-item.error {
    border-color: rgba(180, 35, 24, 0.25);
    background: rgba(180, 35, 24, 0.06);
    color: #7a271a;
}

.flash-item.danger {
    border-color: rgba(180, 35, 24, 0.25);
    background: rgba(180, 35, 24, 0.06);
    color: #7a271a;
}

.flash-item.error .flash-icon {
    border-color: rgba(180, 35, 24, 0.22);
    background: rgba(180, 35, 24, 0.08);
    color: #b42318;
}

.flash-item.danger .flash-icon {
    border-color: rgba(180, 35, 24, 0.22);
    background: rgba(180, 35, 24, 0.08);
    color: #b42318;
}

.flash-item.success {
    border-color: rgba(2, 122, 72, 0.25);
    background: rgba(2, 122, 72, 0.06);
    color: #05603a;
}

.flash-item.success .flash-icon {
    border-color: rgba(2, 122, 72, 0.22);
    background: rgba(2, 122, 72, 0.08);
    color: #05603a;
}

.flash-item.warning {
    border-color: rgba(245, 192, 0, 0.35);
    background: rgba(245, 192, 0, 0.12);
    color: #7a5b00;
}

.flash-item.warning .flash-icon {
    border-color: rgba(245, 192, 0, 0.32);
    background: rgba(245, 192, 0, 0.18);
    color: #7a5b00;
}

.flash-item.info {
    border-color: rgba(102, 112, 133, 0.22);
    background: rgba(102, 112, 133, 0.08);
    color: #344054;
}

.flash-item.info .flash-icon {
    border-color: rgba(102, 112, 133, 0.22);
    background: rgba(102, 112, 133, 0.08);
    color: #475467;
}
/* ===== HEADER ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 38px;
    width: auto;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.3px;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--secondary);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.icon-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-1px);
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--secondary);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.user-menu-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: rgba(245, 192, 0, 0.18);
    border: 1px solid rgba(245, 192, 0, 0.28);
    color: var(--secondary);
    text-transform: uppercase;
}

.user-label {
    font-weight: 700;
    font-size: 0.88rem;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-caret {
    width: 18px;
    height: 18px;
    color: var(--gray-600);
}

.user-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 8px;
    display: none;
    z-index: 1100;
}

.user-menu.is-open .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-menu-dropdown a:hover {
    background: var(--gray-50);
}

.user-menu-sep {
    height: 1px;
    background: var(--gray-200);
    margin: 6px 4px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    gap: 10px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-outline {
    border: 1.5px solid var(--gray-200);
    color: var(--secondary);
    background: var(--white);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--secondary);
    box-shadow: 0 2px 8px rgba(245, 192, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffd333 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(245, 192, 0, 0.45);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 192, 0, 0.3);
}

.btn:focus-visible {
    outline: 3px solid rgba(245, 192, 0, 0.5);
    outline-offset: 3px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 480px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
    background: var(--secondary);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 140px 40px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 600px at 15% 80%, rgba(245,192,0,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 700px 500px at 85% 20%, rgba(245,192,0,0.10) 0%, transparent 55%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 22px;
    line-height: 1.12;
    letter-spacing: -0.8px;
    animation: fadeInUp 0.7s ease both;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.75;
    font-weight: 400;
    animation: fadeInUp 0.7s 0.12s ease both;
}

.hero .btn {
    padding: 16px 44px;
    font-size: 1rem;
}

.hero-search {
    margin: 26px auto 0;
    max-width: 820px;
}

.hero-search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-search-input {
    flex: 1;
    min-width: min(520px, 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
}

.hero-search-input svg {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.76);
    flex-shrink: 0;
}

.hero-search-input input {
    width: 100%;
    height: 52px;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
}

.hero-search-input input::placeholder {
    color: rgba(255,255,255,0.65);
}

.hero-search .btn {
    padding: 14px 22px;
    height: 52px;
}

.hero-cta {
    margin-top: 14px;
    display: inline-flex;
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(245, 192, 0, 0.1);
    transform: translateY(-4px);
}

.service-card.is-coming {
    opacity: 0.86;
    background: linear-gradient(180deg, #ffffff, #fafafa);
}

.service-card.is-coming .service-icon {
    background: rgba(107, 114, 128, 0.10);
}

.service-card.is-coming:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    background: rgba(245, 192, 0, 0.18);
    border: 1px solid rgba(245, 192, 0, 0.28);
    color: var(--secondary);
}

.service-badge.is-coming {
    background: rgba(107, 114, 128, 0.10);
    border-color: rgba(107, 114, 128, 0.18);
    color: var(--gray-600);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== EVENTS ===== */
.events-section {
    background: var(--gray-50);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(229, 229, 229, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.event-card:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.event-image {
    position: relative;
    isolation: isolate;
    aspect-ratio: 16 / 9;
    height: auto;
    background: var(--gray-100);
    overflow: hidden;
}

.event-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.event-image img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.45s ease;
    will-change: transform;
}

.event-image-placeholder {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.event-image-placeholder svg {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.event-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    z-index: 2;
}

.event-badges .event-featured {
    margin-left: auto;
}

.event-category {
    background: rgba(245, 192, 0, 0.96);
    color: rgba(46, 46, 46, 0.98);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.event-featured {
    background: rgba(46, 46, 46, 0.85);
    color: rgba(245, 192, 0, 0.98);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.event-quick {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 2;
}

.event-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.event-chip svg {
    color: rgba(245, 192, 0, 0.98);
    flex-shrink: 0;
}

.event-body {
    padding: 20px;
}

.event-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 16px;
}

.event-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.event-meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.event-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.event-tickets {
    flex: 1;
}

.tickets-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.tickets-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.event-tickets small {
    font-size: 0.72rem;
    color: var(--gray-600);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 0.8rem;
}

/* ===== PRICING ===== */
.pricing-section {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.25s ease;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(245, 192, 0, 0.15);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-commission {
    margin: -14px 0 22px;
    font-size: 0.86rem;
    color: var(--gray-600);
}

.pricing-commission strong {
    color: var(--secondary);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.price-currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
}

.price-period {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

.btn-full {
    width: 100%;
}

/* ===== CTA STEPS ===== */
.cta-steps-section {
    background: var(--secondary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-steps-section .section-header h2 {
    color: var(--white);
}

.cta-steps-section .section-header p {
    color: var(--gray-400);
}

.section-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.steps-timeline {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    position: relative;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    position: relative;
    padding: 0 8px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(245, 192, 0, 0.3);
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 32px);
    width: calc(100% - 48px);
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.step-content h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.82rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.cta-steps-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.cta-steps-section .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(245, 192, 0, 0.08);
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--gray-50);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--primary);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    list-style: none;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
    content: '';
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--gray-600);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--secondary);
    font-weight: 500;
}

.breadcrumb svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--secondary);
    padding: 56px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    color: var(--gray-400);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FILTERS ===== */
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 24px;
    flex-wrap: wrap;
}

.filters-form {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    font-family: 'Inter', sans-serif;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--secondary);
    font-size: 0.88rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23525252' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 160px;
    transition: border-color 0.2s;
}

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

.filter-grow {
    flex: 1;
    min-width: min(420px, 100%);
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    padding: 0 12px;
    height: 40px;
}

.filter-search svg {
    width: 16px;
    height: 16px;
    color: var(--gray-500);
    flex-shrink: 0;
}

.filter-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
}

.filter-near-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-near-row select {
    min-width: 120px;
}

.results-count {
    font-size: 0.88rem;
    color: var(--gray-600);
}

.results-count strong {
    color: var(--secondary);
}

/* ===== EVENT CARD LINK ===== */
.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-card-link:focus-visible {
    outline: none;
}

.event-card-link:focus-visible .event-card {
    outline: 3px solid rgba(245, 192, 0, 0.45);
    outline-offset: 3px;
}

.event-card-link .event-card {
    height: 100%;
}

/* ===== IMPROVED EVENT CARDS ===== */
.event-card {
    display: flex;
    flex-direction: column;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-400);
}

.empty-state svg {
    color: var(--gray-200);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.9rem;
}

/* ===== DETAIL HERO ===== */
.detail-hero {
    background: var(--secondary);
    background-size: cover;
    background-position: center;
    padding: 80px 0 60px;
    color: var(--white);
}

.detail-category {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.detail-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    max-width: 700px;
}

.detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-200);
}

.detail-meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ===== DETAIL LAYOUT ===== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.detail-media {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 14px;
}

.detail-media-main,
.detail-media-side {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.detail-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.detail-media-side img {
    aspect-ratio: 4 / 3;
}

.detail-block {
    margin-bottom: 40px;
}

.detail-block h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.detail-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* ===== LOCATION ===== */
.location-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.location-info {
    padding: 20px;
}

.location-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.location-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-item strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 4px;
}

.location-item p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0;
}

.location-map {
    position: relative;
}

.location-map iframe {
    display: block;
    border-radius: 0;
}

.map-link {
    position: absolute;
    bottom: 12px;
    right: 12px;
    gap: 6px;
    background: var(--white) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ===== DETAILS GRID ===== */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-200);
}

.detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-item small {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-item strong {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* ===== TICKET SIDEBAR ===== */
.ticket-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    position: sticky;
    top: 96px;
    box-shadow: var(--shadow-md);
}

.ticket-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.ticket-availability {
    margin-bottom: 24px;
}

.ticket-availability small {
    font-size: 0.78rem;
    color: var(--gray-600);
}

.ticket-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}

.ticket-type:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.ticket-type-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.ticket-type-info p {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.ticket-type-info small {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.ticket-type-price {
    text-align: right;
    white-space: nowrap;
}

.ticket-type-price strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.ticket-type-price small {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* ===== SHARE ===== */
.share-card {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.share-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    transition: all 0.2s;
}

.share-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ===== EVENT SIDEBAR EXTRAS ===== */
.detail-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sidebar-card {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.sidebar-card-compact {
    padding: 12px;
}

.sidebar-thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sidebar-thumb {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    display: block;
}

.sidebar-thumb img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sidebar-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.sidebar-media {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.sidebar-media img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform: scale(1.01);
}

.organizer-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.organizer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    display: grid;
    place-items: center;
    color: var(--secondary);
    font-weight: 800;
}

.organizer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.organizer-name a {
    color: var(--secondary);
    font-weight: 800;
    text-decoration: none;
}

.organizer-name a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .detail-media {
        grid-template-columns: 1fr;
    }

    .sidebar-media-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== RELATED EVENTS ===== */
.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.related-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 28px;
}

.related-section h2 span {
    color: var(--primary);
}

.events-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    color: var(--gray-400);
    padding: 56px 40px 24px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--gray-400);
    max-width: 300px;
}

.footer-links h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.88rem;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: var(--gray-400);
}

.social-links a:hover svg {
    fill: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: var(--gray-600);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom span {
    color: var(--primary);
    font-weight: 600;
}

.footer-text {
    color: var(--gray-400);
    font-size: 0.88rem;
    line-height: 1.5;
    display: inline-block;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0;
    background: #fff;
}

.auth-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* LEFT — image + overlay */
.auth-left {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* fallback gradient si pas d'image */
    background: linear-gradient(160deg, #1a1200 0%, var(--secondary) 100%);
    background-size: cover;
    background-position: center;
}

/* Overlay : jaune primaire → noir profond */
.auth-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(245, 192, 0, 0.82)   0%,
        rgba(180, 120, 0, 0.72)  28%,
        rgba(20, 14, 0, 0.88)    60%,
        rgba(10, 8, 0, 0.96)    100%
    );
    z-index: 1;
}

/* Cercles décoratifs flottants */
.auth-left::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(245, 192, 0, 0.12);
    top: -140px;
    right: -140px;
    z-index: 2;
    pointer-events: none;
}

.auth-left-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    min-height: 100vh;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
}

/* Décor cercle bas */
.auth-left-decor {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    pointer-events: none;
}

.auth-left-decor-1 {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(245, 192, 0, 0.18);
    bottom: -80px;
    left: -80px;
}

.auth-left-decor-2 {
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    bottom: 80px;
    left: 80px;
}

.auth-left-decor-3 {
    width: 60px;
    height: 60px;
    background: rgba(245, 192, 0, 0.22);
    top: 38%;
    right: 44px;
    border: 1px solid rgba(245, 192, 0, 0.28);
}

/* Logo top */
.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-brand img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

.auth-brand-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.2px;
}

.auth-brand-name span {
    color: var(--primary);
}

/* Centre : tagline + features */
.auth-left-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0;
}

.auth-left h2 {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--white);
}

.auth-left h2 span {
    color: var(--primary);
}

.auth-left-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 360px;
}

/* Feature list */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(245, 192, 0, 0.18);
    border: 1px solid rgba(245, 192, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.auth-feature-icon svg {
    width: 18px;
    height: 18px;
}

.auth-feature-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
}

.auth-feature-text span {
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.58);
}

/* Bottom : quote / stats */
.auth-left-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.auth-stats-row {
    display: flex;
    gap: 28px;
}

.auth-stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.4px;
}

.auth-stat-item span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.56);
    font-weight: 500;
}

/* RIGHT — formulaire */
.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 56px 40px;
    overflow-y: auto;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}

.auth-page-sub {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 28px;
}

.auth-left p {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: -0.4px;
}

.auth-left p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    max-width: 420px;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: var(--white);
    border: 1px solid rgba(229, 229, 229, 0.95);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.auth-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.auth-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.auth-form label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    color: var(--secondary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    color: var(--secondary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 192, 0, 0.18);
}

.auth-form .btn {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 192, 0, 0.18);
}

.input-group {
    position: relative;
    display: block;
}

.input-group input {
    padding-right: 98px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

.password-toggle .icon-eye-off {
    display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye {
    display: none;
}

.password-toggle[aria-pressed="true"] .icon-eye-off {
    display: block;
}

.password-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--secondary);
}

.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 192, 0, 0.18);
    border-color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-grid .span-2 {
    grid-column: 1 / -1;
}

.field-error {
    font-size: 0.82rem;
    color: #b42318;
}

.field-hint {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.btn-full {
    width: 100%;
}

.auth-alt {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--gray-600);
    text-align: center;
}

.auth-alt a {
    color: var(--secondary);
    font-weight: 700;
}

.form-messages {
    margin-bottom: 14px;
}

.form-message {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--secondary);
}

.form-message.error {
    border-color: rgba(180, 35, 24, 0.25);
    background: rgba(180, 35, 24, 0.06);
    color: #7a271a;
}

.form-message.success {
    border-color: rgba(2, 122, 72, 0.25);
    background: rgba(2, 122, 72, 0.06);
    color: #05603a;
}

/* ===== PRICING PAGE ===== */
.pricing-note {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--gray-400);
}

/* ===== DASHBOARD ===== */
.dashboard-hero {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.96) 0%, rgba(61, 61, 61, 0.96) 100%);
    color: var(--white);
    padding: 64px 0 44px;
}

.dash-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.dashboard-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.dash-sub {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.dash-sub a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
}

.dash-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-stats {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(245, 192, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 800;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    margin-top: 4px;
}

.dash-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(245, 192, 0, 0.12);
    border: 1px solid rgba(245, 192, 0, 0.2);
    color: rgba(255, 255, 255, 0.86);
}

.dash-note a {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
    text-decoration: underline;
}

.dash-section {
    background: var(--gray-50);
}

.dash-section-head {
    text-align: left;
    margin-bottom: 24px;
}

.dash-section-head h2 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.dash-section-head h2 span {
    color: var(--primary);
}

.dash-section-head p {
    color: var(--gray-600);
}

.dash-empty {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.dash-empty h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.dash-empty p {
    color: var(--gray-600);
    margin-bottom: 18px;
}

/* ===== DASHBOARD HEADER ===== */
.dash-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-100);
}

@media (min-width: 1025px) {
    .dash-header {
        position: fixed;
        left: 220px;
        width: calc(100% - 220px);
    }
}

.dash-header-inner {
    max-width: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 58px;
}

.dash-brand {
    display: none;
}

.dash-spacer {
    flex: 1;
}

.dash-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.dash-icon:hover {
    border-color: rgba(245,192,0,0.45);
    background: rgba(245,192,0,0.08);
    color: var(--secondary);
}

.dash-icon svg {
    width: 17px;
    height: 17px;
}

/* Séparateur vertical dans le header */
.dash-sep-v {
    width: 1px;
    height: 24px;
    background: var(--gray-200);
    margin: 0 4px;
}

.dash-user {
    position: relative;
}

.dash-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.dash-user-btn:hover {
    border-color: rgba(245,192,0,0.5);
    box-shadow: 0 0 0 3px rgba(245,192,0,0.1);
}

.dash-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(245, 192, 0, 0.22);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-user-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-caret {
    width: 14px;
    height: 14px;
    color: var(--gray-400);
}

.dash-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 260px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 1200;
}

body.is-dash-user-open .dash-menu {
    display: block;
}

.dash-menu-head {
    padding: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.dash-menu-head strong {
    display: block;
    color: var(--secondary);
}

.dash-menu-head small {
    display: block;
    margin-top: 3px;
    color: var(--gray-400);
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-menu a {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.875rem;
    transition: background 0.18s;
}

.dash-menu a:hover {
    background: var(--gray-50);
}

.dash-menu-sep {
    height: 1px;
    background: var(--gray-200);
}

.dash-page {
    background: var(--gray-50);
    min-height: calc(100vh - 72px);
}

.dash-page-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 24px 100px;
}

.dash-page-head h1 {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.dash-page-head p {
    color: var(--gray-600);
}

.dash-page-card {
    margin-top: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 22px;
}

/* ===== EVENT STEPPER ===== */
.dash-stepper {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dash-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-weight: 900;
    font-size: 0.85rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.dash-step:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--secondary);
}

.dash-step.active {
    border-color: rgba(245, 192, 0, 0.35);
    background: rgba(245, 192, 0, 0.14);
    color: var(--secondary);
}

.dash-step-num {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--secondary);
    font-size: 0.82rem;
}

.dash-step.active .dash-step-num {
    background: var(--primary);
    border-color: rgba(245, 192, 0, 0.35);
}

/* ===== AGENT DASHBOARD LAYOUT ===== */
.agent-layout {
    min-height: 100vh;
    padding-left: 220px;
    background: var(--gray-50);
}

.agent-sidebar {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 12px;
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}

.agent-sidebar-mini {
    top: 0;
    height: 100vh;
}

.agent-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-brand img {
    height: 34px;
    width: auto;
}

.agent-brand span {
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.2px;
}

.agent-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 14px;
}

.agent-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
}

.agent-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(245, 192, 0, 0.18);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.agent-user-info strong {
    display: block;
    color: var(--white);
}

.agent-user-info small {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.agent-nav {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-bottom: 10px;
}

.agent-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    transition: background 0.18s, color 0.18s;
}

.agent-nav a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.agent-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.agent-nav a.active {
    background: rgba(245, 192, 0, 0.16);
    color: var(--white);
    border: 1px solid rgba(245, 192, 0, 0.22);
}

.agent-sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(180, 35, 24, 0.12);
    border: 1px solid rgba(180, 35, 24, 0.18);
    font-size: 0.875rem;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.agent-logout svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.agent-logout:hover {
    background: rgba(180, 35, 24, 0.22);
    border-color: rgba(180, 35, 24, 0.32);
    color: var(--white);
}

.agent-sidebar-note {
    margin-top: 16px;
}

.agent-alert {
    border-radius: 14px;
    padding: 14px;
    background: rgba(245, 192, 0, 0.14);
    border: 1px solid rgba(245, 192, 0, 0.22);
    color: rgba(255, 255, 255, 0.88);
    display: grid;
    gap: 8px;
}

.agent-alert strong {
    color: var(--white);
}

.agent-main {
    padding: 20px 24px 80px;
    padding-top: calc(58px + 20px);
}

/* ===== DASHBOARD INNER PADDING ===== */
.dash-inner {
    padding: 0 24px;
}

.agent-topbar {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.agent-topbar h1 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.agent-topbar p {
    color: var(--gray-600);
}

.agent-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.dash-form label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.dash-form input[type="text"],
.dash-form input[type="email"],
.dash-form input[type="url"],
.dash-form input[type="number"],
.dash-form input[type="datetime-local"],
.dash-form textarea,
.dash-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.dash-input {
    position: relative;
}

.dash-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid rgba(245, 192, 0, 0.25);
    pointer-events: none;
}

.dash-input-icon svg {
    width: 18px;
    height: 18px;
}

.dash-input-date input[type="datetime-local"] {
    padding-left: 58px;
}

.dash-select {
    position: relative;
}

.dash-select select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 13px 44px 13px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--secondary);
}

.dash-select-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--gray-600);
    pointer-events: none;
}

.dash-calendar-card {
    border-radius: 18px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    background: linear-gradient(135deg, rgba(245, 192, 0, 0.10), rgba(255, 255, 255, 1) 60%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    display: grid;
    gap: 10px;
}

.dash-topbar-field {
    display: grid;
    gap: 6px;
    align-content: start;
}

.dash-topbar-field small {
    font-size: 0.78rem;
}

.status-select {
    display: inline-block;
}

.status-select::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(102, 112, 133, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.status-select select {
    padding-left: 34px;
}

.status-select[data-status="published"]::before {
    background: rgba(2, 122, 72, 0.95);
}

.status-select[data-status="draft"]::before {
    background: rgba(102, 112, 133, 0.95);
}

.status-select[data-status="cancelled"]::before {
    background: rgba(180, 35, 24, 0.92);
}

.status-select[data-status="ended"]::before,
.status-select[data-status="soldout"]::before {
    background: rgba(46, 46, 46, 0.9);
}

.dash-calendar-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-calendar-top strong {
    font-size: 1rem;
    font-weight: 900;
}

.dash-calendar-top small {
    display: block;
    margin-top: 4px;
    color: var(--gray-600);
}

.dash-calendar-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dash-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    background: rgba(245, 192, 0, 0.18);
    border: 1px solid rgba(245, 192, 0, 0.28);
    color: var(--secondary);
}

.dash-pill-outline {
    background: rgba(46, 46, 46, 0.04);
    border: 1px solid rgba(46, 46, 46, 0.14);
}

.dash-calendar-note {
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.9rem;
}

.dash-profile-head {
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    margin-bottom: 16px;
}

.dash-profile-cover {
    height: 160px;
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.92), rgba(61, 61, 61, 0.92));
    position: relative;
}

.dash-profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dash-profile-cover-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    letter-spacing: -0.2px;
}

.dash-profile-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
}

.dash-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--white);
    background: var(--gray-100);
    margin-top: -34px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.dash-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dash-profile-meta strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
}

.dash-profile-meta small {
    display: block;
    color: var(--gray-600);
    margin-top: 4px;
}

.dash-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.dash-settings-card {
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 18px;
    background: var(--white);
}

.dash-settings-card h2 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.dash-info {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.dash-info strong {
    display: block;
    font-weight: 900;
}

.dash-info small {
    display: block;
    margin-top: 4px;
    color: var(--gray-600);
}

@media (max-width: 1024px) {
    .dash-settings-grid {
        grid-template-columns: 1fr;
    }
}

.dash-form textarea {
    min-height: 140px;
    resize: vertical;
}

.dash-form input:focus,
.dash-form textarea:focus,
.dash-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 192, 0, 0.18);
}

.dash-form-actions {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dash-sep {
    height: 1px;
    background: var(--gray-200);
    margin: 18px 0;
}

.dash-form-section h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.dash-preview-link {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    overflow: auto;
}

.dash-preview-link a {
    color: var(--secondary);
    font-weight: 800;
    white-space: nowrap;
}

.dash-filters {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.dash-filter {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 0.84rem;
    color: var(--gray-600);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.dash-filter:hover {
    color: var(--secondary);
    background: var(--white);
    border-color: var(--gray-200);
}

.dash-filter.active {
    color: var(--secondary);
    background: rgba(245, 192, 0, 0.22);
    border-color: rgba(245, 192, 0, 0.28);
}

.dash-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0 16px;
}

.dash-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-weight: 900;
    font-size: 0.9rem;
}

.dash-tab:hover {
    color: var(--secondary);
    background: var(--gray-50);
}

.dash-tab.active {
    color: var(--secondary);
    background: rgba(245, 192, 0, 0.20);
    border-color: rgba(245, 192, 0, 0.28);
}

.dash-chart {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: 10px;
    align-items: end;
    height: 160px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    background: linear-gradient(135deg, rgba(245, 192, 0, 0.10), rgba(255, 255, 255, 1) 70%);
}

.dash-bar {
    display: grid;
    align-items: end;
    gap: 8px;
    height: 100%;
}

.dash-bar-fill {
    width: 100%;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(245, 192, 0, 0.95), rgba(212, 166, 0, 0.95));
    border: 1px solid rgba(245, 192, 0, 0.35);
    box-shadow: 0 10px 20px rgba(245, 192, 0, 0.14);
    min-height: 6px;
}

.dash-bar small {
    text-align: center;
    color: var(--gray-600);
    font-weight: 800;
    font-size: 0.72rem;
}

.dash-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
    font-weight: 700;
    color: var(--secondary);
}

.dash-preview-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    border: 1px dashed var(--gray-200);
    background: var(--gray-50);
}

.dash-preview-media {
    width: 210px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dash-preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dash-preview-placeholder {
    font-weight: 900;
    color: var(--gray-600);
    letter-spacing: -0.2px;
}

.dash-preview-meta strong {
    display: block;
    font-size: 0.95rem;
}

.dash-preview-meta small {
    display: block;
    color: var(--gray-600);
    margin-top: 4px;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .dash-preview-card {
        flex-direction: column;
        align-items: stretch;
    }
    .dash-preview-media {
        width: 100%;
    }
}

.dash-table-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    overflow: hidden;
}

.dash-table-wrap {
    overflow: auto;
}

.dash-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 860px;
}

.dash-table th,
.dash-table td {
    padding: 16px 16px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
    text-align: left;
    white-space: nowrap;
}

.dash-table th {
    position: sticky;
    top: 0;
    background: var(--gray-50);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-600);
    z-index: 1;
}

.dash-table td small.muted,
.muted {
    color: var(--gray-600);
}

.dash-actions-cell {
    text-align: right;
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.dash-cell-event {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
}

.dash-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
    background: var(--gray-100);
}

.dash-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dash-thumb-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: var(--secondary);
    background: linear-gradient(135deg, var(--primary-light), #fff);
}

.dash-cell-main strong {
    display: block;
    font-size: 0.95rem;
}

.dash-cell-main small {
    display: block;
    margin-top: 2px;
    color: var(--gray-600);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--secondary);
}

.status-pill.status-published,
.status-pill.status-valid {
    border-color: rgba(2, 122, 72, 0.25);
    background: rgba(2, 122, 72, 0.08);
    color: #05603a;
}

.status-pill.status-draft {
    border-color: rgba(102, 112, 133, 0.22);
    background: rgba(102, 112, 133, 0.08);
    color: #475467;
}

.status-pill.status-cancelled,
.status-pill.status-cancelled {
    border-color: rgba(180, 35, 24, 0.22);
    background: rgba(180, 35, 24, 0.08);
    color: #7a271a;
}

.status-pill.status-used {
    border-color: rgba(245, 192, 0, 0.35);
    background: rgba(245, 192, 0, 0.12);
    color: #7a5b00;
}

.status-pill.status-ended,
.status-pill.status-soldout {
    border-color: rgba(46, 46, 46, 0.18);
    background: rgba(46, 46, 46, 0.06);
    color: var(--secondary);
}

.pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-weight: 800;
    font-size: 0.78rem;
}

.pill-ok {
    border-color: rgba(2, 122, 72, 0.25);
    background: rgba(2, 122, 72, 0.08);
    color: #05603a;
}

.agent-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.stat-tile {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.stat-tile-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
}

.stat-tile-icon svg {
    width: 22px;
    height: 22px;
}

.stat-tile-content {
    min-width: 0;
}

.stat-tile .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.stat-tile .stat-value {
    color: rgba(255, 255, 255, 0.98);
}

.stat-tile-events {
    border-color: rgba(245, 192, 0, 0.22);
    background: radial-gradient(900px 380px at 20% 20%, rgba(245, 192, 0, 0.45), transparent 60%),
        linear-gradient(135deg, rgba(46, 46, 46, 0.96), rgba(61, 61, 61, 0.96));
}

.stat-tile-events .stat-tile-icon {
    background: rgba(245, 192, 0, 0.22);
    color: var(--primary);
}

.stat-tile-published {
    border-color: rgba(2, 122, 72, 0.22);
    background: radial-gradient(900px 380px at 20% 20%, rgba(2, 122, 72, 0.35), transparent 60%),
        linear-gradient(135deg, rgba(16, 24, 40, 0.96), rgba(27, 40, 58, 0.96));
}

.stat-tile-published .stat-tile-icon {
    background: rgba(2, 122, 72, 0.18);
    color: rgba(98, 224, 171, 0.95);
}

.stat-tile-upcoming {
    border-color: rgba(59, 130, 246, 0.22);
    background: radial-gradient(900px 380px at 20% 20%, rgba(59, 130, 246, 0.35), transparent 60%),
        linear-gradient(135deg, rgba(16, 24, 40, 0.96), rgba(34, 43, 64, 0.96));
}

.stat-tile-upcoming .stat-tile-icon {
    background: rgba(59, 130, 246, 0.18);
    color: rgba(191, 219, 254, 0.98);
}

.stat-tile-sold {
    border-color: rgba(168, 85, 247, 0.22);
    background: radial-gradient(900px 380px at 20% 20%, rgba(168, 85, 247, 0.35), transparent 60%),
        linear-gradient(135deg, rgba(16, 24, 40, 0.96), rgba(36, 32, 58, 0.96));
}

.stat-tile-sold .stat-tile-icon {
    background: rgba(168, 85, 247, 0.16);
    color: rgba(233, 213, 255, 0.98);
}

.agent-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 18px;
}

.agent-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.agent-section-head h2 {
    font-size: 1.2rem;
    font-weight: 900;
}

.agent-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
    padding: 10px;
    z-index: 1200;
}

.agent-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 8px 6px;
    border-radius: 12px;
}

.agent-bottom-nav a svg {
    width: 20px;
    height: 20px;
}

.agent-bottom-nav a.active {
    color: var(--secondary);
    background: rgba(245, 192, 0, 0.22);
}

.agent-profile-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
}

.agent-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 18px;
}

.agent-card h2 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.agent-muted {
    color: var(--gray-600);
    line-height: 1.6;
}

.agent-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.78rem;
    border: 1px solid var(--gray-200);
}

.agent-badge.ok {
    background: rgba(2, 122, 72, 0.08);
    border-color: rgba(2, 122, 72, 0.2);
    color: #05603a;
}

.agent-badge.warn {
    background: rgba(245, 192, 0, 0.18);
    border-color: rgba(245, 192, 0, 0.25);
    color: var(--secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auth-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-left {
        min-height: 280px;
    }

    .auth-left-inner {
        min-height: 280px;
        padding: 32px 28px;
    }

    .auth-left-center {
        padding: 24px 0;
    }

    .auth-left h2 {
        font-size: 1.8rem;
    }

    .auth-left-bottom {
        display: none;
    }

    .auth-right {
        padding: 36px 24px 48px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .events-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .dash-header-inner {
        flex-wrap: wrap;
    }

    .agent-layout {
        padding-left: 0;
    }

    .agent-sidebar {
        display: none;
    }

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

    .agent-profile-grid {
        grid-template-columns: 1fr;
    }

    .agent-bottom-nav {
        display: flex;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: row;
        height: auto;
        padding: 14px 20px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        gap: 12px;
        padding: 12px 0 0;
        border-top: 1px solid var(--gray-200);
    }

    .header-actions {
        display: none;
        width: 100%;
        order: 4;
        justify-content: flex-start;
        gap: 10px;
        padding-top: 12px;
    }

    .nav-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
    }

    body.is-nav-open .nav,
    body.is-nav-open .header-actions {
        display: flex;
    }

    .user-label {
        max-width: 100%;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 56px 0;
    }

    .services-grid,
    .events-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .detail-hero h1 {
        font-size: 1.6rem;
    }

    .detail-hero-meta {
        flex-direction: column;
        gap: 12px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .auth-features { display: none; }
    .auth-left h2 { font-size: 1.5rem; }

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

    .ticket-card {
        position: static;
    }

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

    .events-grid-3 {
        grid-template-columns: 1fr;
    }

    .dashboard-hero h1 {
        font-size: 1.6rem;
    }

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

    .agent-main {
        padding: 0 0 88px;
    }

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

    .agent-topbar {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        padding: 16px 14px;
    }

    .agent-topbar h1 {
        font-size: 1.2rem;
    }

    .dash-page-card,
    .agent-section {
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    .dash-inner {
        padding: 12px;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .step-item:not(:last-child)::after {
        display: none;
    }

    .steps-timeline {
        gap: 20px;
    }

    .step-item {
        min-width: 140px;
    }
}

/* ===== CHECKOUT ===== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.checkout-card {
    box-shadow: var(--shadow-md);
    border-radius: 18px;
}

.checkout-card-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.checkout-card-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--secondary);
}

.ticket-pick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ticket-pick-card {
    text-align: left;
    border: 1px solid var(--gray-200);
    background: linear-gradient(180deg, #ffffff, #fbfbfe);
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.ticket-pick-card:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 192, 0, 0.55);
    box-shadow: 0 16px 34px rgba(0,0,0,0.08);
}

.ticket-pick-card.is-selected {
    border-color: var(--primary);
    box-shadow: 0 18px 38px rgba(245, 192, 0, 0.18);
}

.ticket-pick-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.ticket-pick-name {
    font-weight: 900;
    color: var(--secondary);
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.ticket-pick-desc {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.35;
}

.ticket-pick-price {
    text-align: right;
    white-space: nowrap;
    color: var(--secondary);
}

.ticket-pick-price strong {
    font-size: 1.15rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.ticket-pick-price span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.ticket-pick-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.ticket-pick-stock {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--secondary);
}

.ticket-pick-card.is-selected .chip {
    border-color: rgba(245, 192, 0, 0.55);
    background: var(--primary-light);
}

.qty-stepper {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
    align-items: center;
}

.qty-stepper input[type="number"] {
    text-align: center;
}

.qty-btn {
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--secondary);
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
}

.qty-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.checkout-summary {
    position: sticky;
    top: 96px;
    background: linear-gradient(180deg, #111827, #0b1220);
    color: #fff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.checkout-summary h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
}

.checkout-summary .muted {
    color: rgba(255,255,255,0.72);
}

.checkout-summary-head {
    margin-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 0.9rem;
}

.summary-row strong {
    font-weight: 900;
}

.summary-total {
    margin-top: 12px;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(245, 192, 0, 0.14);
    border: 1px solid rgba(245, 192, 0, 0.30);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.summary-total strong {
    font-size: 1.2rem;
    font-weight: 900;
}

.summary-hint {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,0.16);
}

.hint-title {
    font-weight: 900;
    margin-bottom: 4px;
}

@media (max-width: 980px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .ticket-pick-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DESIGN ENHANCEMENTS — Animations, Polish, Modern UI
   ============================================================ */

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

@keyframes bounceIn {
    0%   { opacity: 0; transform: scale(0.85); }
    60%  { transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== ANIMATION UTILITIES ===== */
.animate-fade-in     { animation: fadeIn 0.5s ease both; }
.animate-fade-in-up  { animation: fadeInUp 0.6s ease both; }
.animate-slide-left  { animation: slideInLeft 0.6s ease both; }
.animate-scale-in    { animation: scaleIn 0.5s ease both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: var(--radius-md);
}

.skeleton-text  { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 24px; margin-bottom: 12px; width: 60%; }
.skeleton-img   { aspect-ratio: 16/9; width: 100%; }

/* ===== LOADING SPINNER ===== */
.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(46,46,46,0.15);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

.spinner-primary {
    border-color: rgba(245,192,0,0.25);
    border-top-color: var(--primary-dark);
}

/* ===== HERO ENHANCEMENTS ===== */
.hero .btn {
    animation: fadeInUp 0.7s 0.22s ease both;
}

.hero-search {
    animation: fadeInUp 0.7s 0.18s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(245,192,0,0.14);
    border: 1px solid rgba(245,192,0,0.28);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    animation: fadeIn 0.5s ease both;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

/* Floating blobs decor */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.22;
}

.hero-decor-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -100px;
    left: -80px;
    animation: heroGlow 10s ease-in-out infinite alternate;
}

.hero-decor-2 {
    width: 300px;
    height: 300px;
    background: rgba(245,192,0,0.6);
    top: -60px;
    right: -60px;
    animation: heroGlow 12s ease-in-out infinite alternate-reverse;
}

/* ===== SECTION ANIMATIONS (scroll-based via Intersection Observer) ===== */
.section-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.section-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200) 30%, var(--gray-200) 70%, transparent);
    margin: 0;
}

/* ===== SERVICE CARD IMPROVEMENTS ===== */
.service-icon {
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-4deg);
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(245,192,0,0.3);
}

.service-card:hover .service-icon svg {
    color: var(--secondary);
}

.service-card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* ===== EVENT CARD IMPROVEMENTS ===== */
.event-card {
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 56px rgba(0,0,0,0.14);
}

/* ===== PRICING CARD IMPROVEMENTS ===== */
.pricing-card.popular {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, rgba(245,192,0,0.04) 100%);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), rgba(245,192,0,0.4));
    z-index: -1;
}

/* ===== STEPS CONNECTOR IMPROVEMENT ===== */
.step-item:not(:last-child)::after {
    background: linear-gradient(90deg, rgba(245,192,0,0.4), rgba(255,255,255,0.1));
    height: 2px;
    border-radius: 2px;
}

/* ===== FORM FOCUS IMPROVEMENTS ===== */
.dash-form input:focus,
.dash-form textarea:focus,
.dash-form select:focus,
.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245,192,0,0.16);
    transition: border-color var(--transition), box-shadow var(--transition);
}

/* ===== BREADCRUMB ANIMATED SEPARATOR ===== */
.breadcrumb-sep {
    color: var(--gray-400);
    font-size: 0.75rem;
}

/* ===== FLASH MESSAGE IMPROVEMENTS ===== */
.flash-item {
    animation: slideInLeft 0.3s ease both;
    box-shadow: var(--shadow-sm);
}

/* ===== USER MENU ANIMATION ===== */
.user-menu-dropdown {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    display: block !important;
}

.user-menu.is-open .user-menu-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dash-menu {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    display: block !important;
}

body.is-dash-user-open .dash-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ===== STAT TILES HOVER ===== */
.stat-tile {
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card {
    transition: transform var(--transition), background var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* ===== TABLE ROW HOVER ===== */
.dash-table tr:hover td {
    background: rgba(245,192,0,0.04);
}

.dash-table tr:last-child td {
    border-bottom: none;
}

/* ===== STATUS PILL GLOW ===== */
.status-pill.status-published,
.status-pill.status-valid {
    box-shadow: 0 0 0 3px rgba(2,122,72,0.10);
}

/* ===== PAGE HEADER DECORATION ===== */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(245,192,0,0.12), transparent 60%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* ===== CHECKOUT SUMMARY IMPROVEMENT ===== */
.checkout-summary {
    background: linear-gradient(160deg, #111827 0%, #0d1829 100%);
}

/* ===== AUTH PAGE — NOUVELLE VERSION ===== */

/* Layout racine */
.auth-page { min-height: 100vh; display: flex; align-items: stretch; padding: 0; background: #fff; }

.auth-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ── Côté FORMULAIRE (gauche) ── */
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 48px 40px;
    overflow-y: auto;
}

.auth-form-inner {
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 0.4s ease both;
}

/* Logo */
.auth-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 36px;
}
.auth-logo-img {
    height: 34px;
    width: auto;
}
.auth-logo-name {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.2px;
}

/* En-tête formulaire */
.auth-header { margin-bottom: 24px; }
.auth-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}
.auth-subtitle {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Bouton Google */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    padding: 12px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    background: #fff;
    color: var(--secondary);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    margin-bottom: 18px;
}
.btn-google:hover {
    border-color: #aaa;
    background: var(--gray-50);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

/* Séparateur "ou" */
.auth-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--gray-400);
    font-size: 0.80rem;
}
.auth-or::before,
.auth-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

/* Messages */
.auth-messages { margin-bottom: 14px; }
.auth-msg {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 0.875rem;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--secondary);
}
.auth-msg--error   { border-color: rgba(180,35,24,0.25); background: rgba(180,35,24,0.06); color: #7a271a; }
.auth-msg--success { border-color: rgba(2,122,72,0.25);  background: rgba(2,122,72,0.06);  color: #05603a; }

/* Champs */
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.auth-field label {
    font-size: 0.80rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.auth-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    background: #fff;
    color: var(--secondary);
    font-size: 0.93rem;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    font-family: inherit;
}
.auth-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245,192,0,0.16);
}
.auth-field-error {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.80rem;
    color: #b42318;
}

/* Grille 2 colonnes pour champs côte à côte */
.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Wrapper input + toggle mot de passe */
.auth-input-wrap {
    position: relative;
    display: block;
}
.auth-input-wrap input { padding-right: 46px; }

.auth-pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.15s;
}
.auth-pw-toggle:hover { color: var(--secondary); }
.auth-pw-toggle .icon-eye-off { display: none; }
.auth-pw-toggle[aria-pressed="true"] .icon-eye { display: none; }
.auth-pw-toggle[aria-pressed="true"] .icon-eye-off { display: block; }

/* Bouton submit */
.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.1s;
    margin-top: 4px;
    font-family: inherit;
}
.auth-submit-btn:hover {
    background: var(--secondary-light);
    box-shadow: 0 4px 16px rgba(46,46,46,0.22);
}
.auth-submit-btn:active { transform: translateY(1px); }

/* Lien switch */
.auth-switch {
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--gray-500);
    text-align: center;
}
.auth-switch a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }

/* Mentions légales */
.auth-terms {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--gray-400);
    line-height: 1.5;
    text-align: center;
}
.auth-terms a { color: var(--gray-500); text-decoration: underline; }

/* ── Côté IMAGE (droite) ── */
.auth-image-side {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: linear-gradient(160deg, #1a1200 0%, var(--secondary) 100%);
    background-size: cover;
    background-position: center;
}

/* Overlay jaune → noir */
.auth-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(245,192,0,0.84) 0%,
        rgba(180,120,0,0.72) 28%,
        rgba(20,14,0,0.88)   62%,
        rgba(10,8,0,0.97)    100%
    );
    z-index: 1;
}

/* Cercles décoratifs */
.auth-image-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}
.auth-image-decor-1 {
    width: 380px; height: 380px;
    border: 1px solid rgba(245,192,0,0.16);
    bottom: -100px; right: -100px;
}
.auth-image-decor-2 {
    width: 200px; height: 200px;
    border: 1px solid rgba(255,255,255,0.08);
    top: 60px; left: -60px;
}

/* Contenu image */
.auth-image-content {
    position: relative;
    z-index: 3;
    height: 100%;
    min-height: 100vh;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

/* Brand dans l'image */
.auth-image-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.auth-image-brand img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
}
.auth-image-brand span {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.2px;
}
.auth-image-brand span span { color: var(--primary); }

/* Centre image */
.auth-image-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0;
}
.auth-image-center h2 {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.18;
    margin-bottom: 14px;
    color: #fff;
}
.auth-image-center h2 em {
    font-style: normal;
    color: var(--primary);
}
.auth-image-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 340px;
}

/* Liste de features */
.auth-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-features-list li {
    display: flex;
    align-items: center;
    gap: 13px;
}
.auth-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(245,192,0,0.18);
    border: 1px solid rgba(245,192,0,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}
.auth-feat-icon svg { width: 17px; height: 17px; }
.auth-features-list li strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
}
.auth-features-list li span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.56);
}

/* Stats bas image */
.auth-image-stats {
    display: flex;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.auth-image-stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.3px;
}
.auth-image-stat span {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.54);
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .auth-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .auth-image-side {
        min-height: 260px;
        order: -1;
    }
    .auth-image-content {
        min-height: 260px;
        padding: 28px 24px;
    }
    .auth-image-center { padding: 16px 0; }
    .auth-image-center h2 { font-size: 1.7rem; }
    .auth-features-list { display: none; }
    .auth-image-stats { display: none; }
    .auth-form-side { padding: 32px 24px 48px; }
    .auth-form-inner { max-width: 100%; }
    .auth-field-row { grid-template-columns: 1fr; }
}

/* ===== DASHBOARD HERO DECORATION ===== */
.dashboard-hero {
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 700px 400px at 80% 50%, rgba(245,192,0,0.10), transparent 55%);
    pointer-events: none;
}

.dashboard-hero .container {
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ENHANCEMENT ===== */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,192,0,0.06) 0%, transparent 65%);
    pointer-events: none;
}

/* ===== SOCIAL LINKS IMPROVEMENT ===== */
.social-links a {
    transition: background var(--transition), transform var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== TICKET PRINT STYLES ===== */
@media print {
    .header, .footer, .flash, .nav-toggle, .header-actions { display: none !important; }
    body { background: #fff; }
    .ticket-print-wrap { box-shadow: none; border: 2px solid #ddd; }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
    z-index: 999;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--secondary);
}

.back-to-top svg { width: 20px; height: 20px; }

/* ===== NOTIFICATION DOT ===== */
.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    position: absolute;
    top: 6px;
    right: 6px;
    border: 2px solid var(--white);
    animation: pulse 2s infinite;
}

/* ===== BADGE VARIANTS ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.badge-primary {
    background: rgba(245,192,0,0.18);
    border: 1px solid rgba(245,192,0,0.28);
    color: #7a5b00;
}

.badge-success {
    background: rgba(2,122,72,0.10);
    border: 1px solid rgba(2,122,72,0.22);
    color: #05603a;
}

.badge-error {
    background: rgba(180,35,24,0.08);
    border: 1px solid rgba(180,35,24,0.22);
    color: #7a271a;
}

.badge-gray {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
}

/* ===== TOOLTIP ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: var(--secondary);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ===== CARD GLASS VARIANT ===== */
.card-glass {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== DASH HEADER ACTIVE ICON ===== */
.dash-icon.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--secondary);
}

/* ===== NAV LINK SMOOTH TRANSITION ===== */
.nav a {
    transition: color var(--transition);
}

/* ===== AGENT NAV TRANSITION ===== */
.agent-nav a {
    transition: background var(--transition), color var(--transition);
}

/* ===== INPUT PLACEHOLDER COLOR ===== */
::placeholder { color: var(--gray-400); }

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary) !important; }
.text-muted   { color: var(--gray-600) !important; }
.text-success { color: #05603a !important; }
.text-danger  { color: #b42318 !important; }
.fw-900       { font-weight: 900 !important; }
.mt-auto      { margin-top: auto !important; }
.gap-8        { gap: 8px !important; }
.rounded-full { border-radius: 999px !important; }

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; letter-spacing: -0.4px; }
    .hero { padding: 80px 20px 60px; }
    .hero-decor { display: none; }
    .back-to-top { bottom: 80px; right: 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .auth-card { padding: 22px 18px; border-radius: var(--radius-lg); }
}

/* ===== DASHBOARD REDESIGN ===== */

/* Welcome banner */
.dash-welcome {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    color: white;
}
.dash-welcome::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 80% 50%, rgba(245,192,0,0.18), transparent 60%);
    pointer-events: none;
}
.dash-welcome h1 {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    margin-bottom: 6px;
    position: relative;
}
.dash-welcome p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    position: relative;
}
.dash-welcome-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    flex-wrap: wrap;
}
.dash-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(245,192,0,0.2);
    border: 1px solid rgba(245,192,0,0.3);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
    width: fit-content;
    position: relative;
}
.dash-welcome-badge svg {
    width: 14px;
    height: 14px;
}

/* Stats grid 4 cards */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}
.dash-stat-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}
.dash-stat-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 0 18px 0 80px;
    opacity: 0.12;
}
.dash-stat-card.stat-yellow::after { background: var(--primary); }
.dash-stat-card.stat-green::after  { background: #10b981; }
.dash-stat-card.stat-blue::after   { background: #3b82f6; }
.dash-stat-card.stat-purple::after { background: #a855f7; }
.dash-stat-card.stat-orange::after { background: #f97316; }
.dash-stat-card.stat-teal::after   { background: #14b8a6; }
.dash-stat-card.stat-pink::after   { background: #ec4899; }
.dash-stat-card.stat-indigo::after { background: #6366f1; }

.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.dash-stat-icon svg { width: 22px; height: 22px; }
.dash-stat-card.stat-yellow .dash-stat-icon { background: rgba(245,192,0,0.15); color: #c9990a; }
.dash-stat-card.stat-green  .dash-stat-icon { background: rgba(16,185,129,0.12); color: #059669; }
.dash-stat-card.stat-blue   .dash-stat-icon { background: rgba(59,130,246,0.12); color: #2563eb; }
.dash-stat-card.stat-purple .dash-stat-icon { background: rgba(168,85,247,0.12); color: #9333ea; }
.dash-stat-card.stat-orange .dash-stat-icon { background: rgba(249,115,22,0.12); color: #ea580c; }
.dash-stat-card.stat-teal   .dash-stat-icon { background: rgba(20,184,166,0.12); color: #0d9488; }

.dash-stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.dash-stat-value {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    letter-spacing: -0.5px;
}
.dash-stat-sub {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Event cards grid */
.dash-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 14px;
}
.dash-event-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.dash-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.dash-event-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.dash-event-img-fallback {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(245,192,0,0.5);
    letter-spacing: -1px;
}
.dash-event-body {
    padding: 16px;
}
.dash-event-title {
    font-weight: 900;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dash-event-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    font-size: 0.82rem;
    margin-bottom: 12px;
}
.dash-event-meta svg { width: 13px; height: 13px; flex-shrink: 0; }
.dash-event-progress {
    height: 4px;
    border-radius: 999px;
    background: var(--gray-100);
    margin-bottom: 10px;
    overflow: hidden;
}
.dash-event-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--primary);
    transition: width 0.4s;
}
.dash-event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-100);
    gap: 8px;
}
.dash-event-sales {
    font-size: 0.82rem;
    color: var(--gray-600);
}
.dash-event-sales strong {
    color: var(--secondary);
    font-weight: 900;
}

/* Payout info card */
.dash-payout-card {
    background: linear-gradient(135deg, rgba(245,192,0,0.08) 0%, white 80%);
    border: 1px solid rgba(245,192,0,0.25);
    border-radius: 18px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.dash-payout-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(245,192,0,0.15);
    border: 1px solid rgba(245,192,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9990a;
    flex-shrink: 0;
}
.dash-payout-card-icon svg { width: 22px; height: 22px; }
.dash-payout-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.dash-payout-title { font-weight: 900; color: var(--secondary); margin-bottom: 3px; }
.dash-payout-sub { font-size: 0.83rem; color: var(--gray-600); }

/* Subscription page cards */
.sub-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
    border-radius: 20px;
    padding: 32px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 260px at 90% 50%, rgba(245,192,0,0.2), transparent 60%);
    pointer-events: none;
}
.sub-hero-content { position: relative; z-index: 1; }
.sub-hero h1 { font-size: 1.5rem; font-weight: 900; color: white; margin-bottom: 6px; }
.sub-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.sub-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(245,192,0,0.2);
    border: 1px solid rgba(245,192,0,0.3);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.83rem;
    margin-top: 14px;
}
.sub-plan-badge svg { width: 14px; height: 14px; }

.sub-commission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}
.sub-comm-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}
.sub-comm-item.active {
    border-color: rgba(245,192,0,0.4);
    background: rgba(245,192,0,0.05);
}
.sub-comm-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.sub-comm-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
}
.sub-comm-value span { font-size: 1rem; font-weight: 700; color: var(--gray-600); }

/* Plan cards in subscription */
.sub-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.sub-plan-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sub-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.sub-plan-card.current {
    border-color: rgba(245,192,0,0.45);
    background: rgba(245,192,0,0.03);
    box-shadow: 0 0 0 3px rgba(245,192,0,0.12);
}
.sub-plan-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.sub-plan-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 6px;
}
.sub-plan-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}
.sub-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 14px;
}
.sub-plan-price-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -1px;
}
.sub-plan-price-currency {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-500);
}
.sub-plan-price-period {
    font-size: 0.82rem;
    color: var(--gray-500);
}
.sub-plan-commission {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(245,192,0,0.1);
    border: 1px solid rgba(245,192,0,0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #c9990a;
    margin-bottom: 16px;
}
.sub-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 8px;
}
.sub-plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary);
}
.sub-plan-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #059669;
}

/* Ticket design overlay mode */
.ticket-design-wrap {
    width: min(1500px, 100%);
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 46px rgba(2,6,23,.12);
    aspect-ratio: 5 / 2;
}
.ticket-design-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ticket-design-qr {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}
.ticket-design-qr img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
}
.ticket-design-qr-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9px;
    letter-spacing: .06em;
    color: #64748b;
    text-align: center;
}
.ticket-design-qr-num {
    font-weight: 900;
    font-size: 11px;
    color: #0b0b0f;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sub-commission-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .dash-welcome { padding: 20px 16px; border-radius: 0; margin-bottom: 0; }
    .dash-welcome h1 { font-size: 1.2rem; }
    .dash-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; margin-bottom: 0; }
    .dash-stat-value { font-size: 1.4rem; }
    .dash-event-grid { grid-template-columns: 1fr; padding: 12px; }
    .dash-payout-card { padding: 14px; border-radius: 12px; margin: 12px; }
    .sub-plan-grid { grid-template-columns: 1fr; }
    .sub-hero { padding: 20px 16px; border-radius: 12px; }
}
