/* ==========================================================================
   TicketPulse - Modern Ticketing Design System
   ========================================================================== */

:root {
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Colors */
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;

    --color-header-bg: #0b1329;
    --color-header-sub: #131d3d;

    --color-primary: #1d4ed8;
    --color-primary-hover: #1e40af;
    --color-primary-glow: rgba(37, 99, 235, 0.25);
    --color-accent-pulse: #7c3aed;

    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-text-white: #ffffff;

    --color-success: #10b981;
    --color-alert: #f43f5e;
    --color-warning: #f59e0b;

    /* Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.18);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    background-color: #060c1d;
    color: #94a3b8;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-inner span strong {
    color: #f8fafc;
}

.announcement-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.location-pill {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    color: #e2e8f0;
}

.top-link:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.main-header {
    background: var(--color-header-bg);
    color: var(--color-text-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-pulse));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px var(--color-primary-glow);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-icon i,
.logo-icon .bi {
    font-size: 20px;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #60a5fa;
    margin-top: -3px;
}

.header-search-form {
    flex: 1;
    max-width: 580px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-icon i,
.search-icon .bi {
    font-size: 15px;
    line-height: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 100px 12px 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-full);
    color: white;
    font-size: 14px;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.16);
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.search-input-wrapper input::placeholder {
    color: #94a3b8;
}

.search-submit-btn {
    position: absolute;
    right: 4px;
    background: var(--color-primary);
    border: none;
    color: white;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-submit-btn:hover {
    background: var(--color-primary-hover);
}

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

.btn-ghost {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

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

.btn-signin {
    background: white;
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.btn-signin:hover {
    background: #e2e8f0;
}

/* Category Nav Sub-Bar */
.category-nav {
    background: var(--color-header-sub);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.category-menu {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    padding: 10px 0;
}

.category-menu li {
    white-space: nowrap;
}

.category-menu a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.2s ease;
}

.category-menu li.active a,
.category-menu a:hover {
    color: #ffffff;
}

.category-menu li.active a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #38bdf8;
    border-radius: 3px 3px 0 0;
}

.hot-badge {
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hero Spotlight
   -------------------------------------------------------------------------- */
.hero-spotlight {
    position: relative;
    color: white;
    padding: 90px 0 100px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    z-index: 1;
    filter: brightness(0.9);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 19px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: #38bdf8;
}

.price-tag {
    background: #10b981;
    color: white;
    font-weight: 700;
    border-color: #10b981;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary-hero {
    background: linear-gradient(135deg, var(--color-primary), #2563eb);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* --------------------------------------------------------------------------
   Category Strip
   -------------------------------------------------------------------------- */
.category-strip {
    padding: 24px 0 12px;
}

.category-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.cat-pill {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.cat-pill:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

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

.cat-icon i,
.cat-icon .bi {
    font-size: 24px;
    line-height: 1;
}

.cat-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   Section Blocks & Headers
   -------------------------------------------------------------------------- */
.section-block {
    padding: 44px 0 54px;
}

.bg-subtle {
    background-color: #f1f5f9;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 26px;
}

.section-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.5px;
}

.section-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}

.section-view-all:hover {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Event Cards & Grid
   -------------------------------------------------------------------------- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.events-grid-tri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .card-media img {
    transform: scale(1.04);
}

.date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.date-badge .month {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #60a5fa;
}

.date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.status-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.status-fast {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.status-alert {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.card-body {
    padding: 20px;
}

.card-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    margin-bottom: 6px;
    display: block;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.card-venue, .card-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.card-venue svg, .card-time svg {
    width: 14px;
    height: 14px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-from {
    font-size: 11px;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.price-value {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-text-main);
}

.btn-card-tickets {
    background: #eff6ff;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.event-card:hover .btn-card-tickets {
    background: var(--color-primary);
    color: white;
}

/* --------------------------------------------------------------------------
   Trust Banner
   -------------------------------------------------------------------------- */
.trust-banner-section {
    padding: 20px 0 60px;
}

.trust-banner-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 34px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.trust-card-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.trust-icon svg {
    width: 28px;
    height: 28px;
}

.trust-icon i,
.trust-icon .bi {
    font-size: 32px;
    line-height: 1;
}

.trust-card-item h3 {
    font-size: 17px;
    font-weight: 700;
}

.trust-card-item p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Event Details Page
   -------------------------------------------------------------------------- */
.event-hero {
    position: relative;
    padding: 50px 0 60px;
    color: white;
    overflow: hidden;
}

.event-hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.event-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.event-hero-poster {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.event-hero-poster img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.hero-badge-float {
    top: 12px;
    right: 12px;
}

.event-hero-info {
    flex: 1;
}

.hero-breadcrumbs {
    color: #94a3b8;
    margin-bottom: 12px;
    font-size: 13px;
}

.hero-breadcrumbs a {
    color: #cbd5e1;
}

.hero-cat-tag {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 1px;
}

.event-hero-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0 10px;
    letter-spacing: -0.5px;
}

.event-hero-subtitle {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.event-hero-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.spec-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    flex-shrink: 0;
}

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

.spec-icon i,
.spec-icon .bi {
    font-size: 22px;
    line-height: 1;
}

.spec-card strong {
    display: block;
    font-size: 14px;
    color: white;
}

.spec-card p {
    font-size: 12px;
    color: #94a3b8;
}

/* Ticket Workspace Layout */
.ticket-workspace-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.workspace-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.workspace-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
}

.step-badge {
    background: #e0f2fe;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.workspace-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 22px;
}

/* Tiers */
.tiers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.tier-item {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tier-item:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.tier-item.selected {
    border-color: var(--color-primary);
    background: #eff6ff;
    box-shadow: 0 0 0 1px var(--color-primary);
}

.tier-radio {
    margin-top: 3px;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
}

.tier-item.selected .radio-circle {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.tier-item.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.tier-info {
    flex: 1;
}

.tier-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.tier-name {
    font-size: 16px;
    font-weight: 700;
}

.tier-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text-main);
}

.tier-price small {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.tier-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.tier-availability {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
}

.dot-online {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
}

/* Quantity Stepper */
.quantity-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.quantity-label strong {
    display: block;
    font-size: 15px;
}

.quantity-label span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.quantity-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: white;
}

.stepper-btn {
    width: 40px;
    height: 38px;
    border: none;
    background: #f1f5f9;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.stepper-btn:hover {
    background: #e2e8f0;
}

.stepper-val {
    width: 44px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

/* Event Perks & Details */
.event-details-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.event-description-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

.event-perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.perk-box {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.perk-icon {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

.perk-icon i,
.perk-icon .bi {
    font-size: 24px;
    line-height: 1;
}

.perk-box strong {
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.perk-box p {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Order Summary Sidebar */
.workspace-sidebar {
    position: sticky;
    top: 90px;
}

.order-summary-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-md);
}

.hold-timer-bar {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.timer-icon {
    display: inline-flex;
    align-items: center;
    color: #92400e;
    flex-shrink: 0;
}

.timer-icon svg {
    width: 16px;
    height: 16px;
}

.timer-icon i,
.timer-icon .bi {
    font-size: 16px;
    line-height: 1;
}

.summary-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.summary-event-brief {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 18px;
}

.summary-event-brief strong {
    display: block;
    font-size: 14px;
}

.summary-event-brief p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.summary-line-items {
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
}

.text-muted {
    color: var(--color-text-muted);
    font-size: 13px;
}

.text-free {
    color: #16a34a;
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 14px 0;
}

.total-row {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
}

.total-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
}

.btn-checkout-cta {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary), #2563eb);
    color: white;
    border: none;
    padding: 15px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
}

.btn-checkout-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.guarantee-badge-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.lock-icon {
    display: inline-flex;
    align-items: center;
    color: var(--color-success);
    flex-shrink: 0;
}

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

.lock-icon i,
.lock-icon .bi {
    font-size: 18px;
    line-height: 1;
}

.guarantee-badge-box small {
    display: block;
    font-weight: 700;
    font-size: 12px;
}

.guarantee-badge-box p {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Interactive Checkout Modal
   -------------------------------------------------------------------------- */
.checkout-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal-card {
    background: white;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 26px;
    border-bottom: 1px solid var(--color-border);
}

.modal-kicker {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
}

.btn-close-modal:hover {
    color: var(--color-text-main);
}

.modal-event-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
}

.strip-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.modal-event-strip strong {
    font-size: 14px;
    display: block;
}

.modal-event-strip p {
    font-size: 12px;
    color: var(--color-text-muted);
}

.text-primary {
    color: var(--color-primary);
    font-weight: 700;
}

.checkout-form {
    padding: 24px 26px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pay-tab {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f8fafc;
}

.pay-tab input {
    margin-right: 6px;
}

.card-inputs-mock {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 16px;
}

.card-inputs-mock input {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 8px;
}

.card-inputs-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mock-sandbox-note {
    background: #eff6ff;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 20px;
}

.btn-submit-order {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-order:hover {
    background: var(--color-primary-hover);
}

/* Receipt View */
.receipt-view {
    padding: 34px 26px;
    text-align: center;
}

.receipt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--color-success);
}

.receipt-icon svg {
    width: 52px;
    height: 52px;
}

.receipt-icon i,
.receipt-icon .bi {
    font-size: 56px;
    line-height: 1;
}

.receipt-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.receipt-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.receipt-card {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    margin-bottom: 24px;
}

.receipt-header {
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.receipt-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-light);
    display: block;
}

.receipt-code {
    font-family: monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.receipt-row span {
    color: var(--color-text-muted);
}

.receipt-total-row {
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
    margin-top: 10px;
    font-size: 15px;
}

.receipt-total-row strong {
    color: var(--color-primary);
    font-size: 18px;
}

.receipt-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Browse / Search Page
   -------------------------------------------------------------------------- */
.browse-header-section {
    background: #0b1329;
    color: white;
    padding: 40px 0 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browse-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    margin: 8px 0 6px;
}

.browse-subtitle {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 22px;
}

.browse-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.tab-pill:hover,
.tab-pill.active {
    background: white;
    color: #0f172a;
}

.empty-state-box {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--color-text-light);
}

.empty-icon svg {
    width: 52px;
    height: 52px;
}

.empty-icon i,
.empty-icon .bi {
    font-size: 56px;
    line-height: 1;
}

.empty-state-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.empty-state-box p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.main-footer {
    background: #090e1f;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 60px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo .logo-title {
    font-size: 20px;
}

.footer-description {
    font-size: 13px;
    line-height: 1.6;
    margin: 14px 0 20px;
    max-width: 380px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
}

.shield-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    flex-shrink: 0;
}

.shield-icon svg {
    width: 24px;
    height: 24px;
}

.shield-icon i,
.shield-icon .bi {
    font-size: 24px;
    line-height: 1;
}

.trust-badge strong {
    display: block;
    color: white;
    font-size: 13px;
}

.trust-badge p {
    font-size: 11px;
    color: #94a3b8;
}

.footer-heading {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 13px;
    color: #94a3b8;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    font-size: 13px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-badges {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    .header-search-form {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .ticket-workspace-grid {
        grid-template-columns: 1fr;
    }
    .workspace-sidebar {
        position: static;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .event-hero-inner {
        flex-direction: column;
    }
    .event-hero-poster {
        width: 100%;
        max-width: 320px;
    }
    .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .category-pills-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Utility classes & animations for Bootstrap Icons */
.spin-icon {
    display: inline-block;
    animation: tp-spin 1s linear infinite;
}

@keyframes tp-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.me-1 { margin-right: 0.25rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.text-warning { color: #f59e0b !important; }
.text-danger { color: #ef4444 !important; }
.text-success { color: #10b981 !important; }
.text-primary { color: #2563eb !important; }

/* --------------------------------------------------------------------------
   Auth & User Status Styles
   -------------------------------------------------------------------------- */
.user-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.btn-signout {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-signout:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

.flash-alert {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
}

.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border-bottom: 1px solid #a7f3d0;
}

.flash-danger {
    background: #fef2f2;
    color: #991b1b;
    border-bottom: 1px solid #fecaca;
}

.auth-page-section {
    padding: 60px 0 80px;
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-icon-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--color-primary);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
}



.alert-box-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 18px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--color-text-light);
    font-size: 16px;
    pointer-events: none;
}

.auth-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.auth-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.forgot-link {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
}

.form-check-row {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
}

.btn-auth-submit {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--color-primary-glow);
    transition: background 0.2s;
}

.btn-auth-submit:hover {
    background: var(--color-primary-hover);
}

.auth-footer-nav {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.auth-accent-link {
    color: var(--color-primary);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Stripe-Style Modal & Credit Card Box
   -------------------------------------------------------------------------- */
.stripe-modal-container {
    max-width: 520px;
}

.stripe-modal-header {
    background: #0f172a;
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stripe-powered-pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #38bdf8;
    display: block;
    margin-bottom: 2px;
}

.stripe-modal-header .btn-close-modal {
    color: #94a3b8;
}

.stripe-modal-header .btn-close-modal:hover {
    color: white;
}

.stripe-event-strip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stripe-due-amount {
    color: var(--color-primary);
    font-weight: 800;
}

.test-helper-bar {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 12px;
    color: #1e40af;
}

.btn-pill-autofill {
    background: #2563eb;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-pill-autofill:hover {
    background: #1d4ed8;
}

.form-row-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stripe-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-affix-icon {
    position: absolute;
    left: 12px;
    color: var(--color-text-light);
    font-size: 15px;
    pointer-events: none;
}

.stripe-input-wrapper input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-family: var(--font-body);
}

.stripe-input-wrapper input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.stripe-payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.stripe-card-box {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.stripe-inner-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: white;
}

.stripe-inner-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

/* Stripe Elements Simulated Frame */
.stripe-elements-frame {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stripe-card-number-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding: 2px 10px;
}

.card-brand-icon {
    font-size: 20px;
    color: #64748b;
    margin-right: 8px;
}

.stripe-card-input {
    flex: 1;
    border: none;
    padding: 10px 4px;
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
}

.stripe-card-input:focus {
    outline: none;
}

.card-brand-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.stripe-card-subrow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.stripe-sub-cell {
    border-right: 1px solid #e2e8f0;
}

.stripe-sub-cell:last-child {
    border-right: none;
}

.stripe-sub-input {
    width: 100%;
    border: none;
    padding: 10px 12px;
    font-size: 13px;
    font-family: var(--font-body);
}

.stripe-sub-input:focus {
    outline: none;
    background: #f8fafc;
}

.validation-feedback-box {
    margin-top: 8px;
    background: #fee2e2;
    color: #b91c1c;
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
}

.wallet-prompt-box,
.wallet-mock-box {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}

.wallet-badge-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wallet-badge {
    background: #0f172a;
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
}

.wallet-subtext {
    font-size: 12px;
    color: var(--color-text-muted);
}

.stripe-security-footer {
    text-align: center;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.stripe-submit-btn {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 14px;
    font-size: 15px;
}

.stripe-submit-btn:hover {
    background: #1e293b;
}

/* --------------------------------------------------------------------------
   My Tickets Dashboard & Barcode Pass Styles
   -------------------------------------------------------------------------- */
.dashboard-header-section {
    background: #0b1329;
    color: white;
    padding: 36px 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    color: white;
}

.dashboard-subtitle {
    font-size: 14px;
    color: #94a3b8;
    max-width: 600px;
}

.user-stats-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #38bdf8;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
}

.guest-lookup-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.lookup-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.lookup-icon {
    width: 42px;
    height: 42px;
    background: #eff6ff;
    color: var(--color-primary);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.lookup-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.lookup-header p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.lookup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: flex-end;
}

.btn-lookup-submit {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    height: 44px;
    transition: background 0.2s;
}

.btn-lookup-submit:hover {
    background: var(--color-primary-hover);
}

.lookup-alt-prompt {
    margin-top: 14px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Expanded Ticket Pass Card */
.tickets-list-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ticket-card-expanded {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ticket-card-expanded:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.ticket-media-col {
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
}

.ticket-category-tag {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

.ticket-status-stamp {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.6);
    color: #6ee7b7;
    backdrop-filter: blur(6px);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.ticket-status-stamp.stamp-pending {
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.7);
    color: #fde68a;
}

.badge-status-pending {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #d97706;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-badge-pill {
    background: rgba(255, 255, 255, 0.15);
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.ticket-details-col {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticket-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.ticket-event-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.ticket-event-title a:hover {
    color: var(--color-primary);
}

.ticket-qty-badge {
    background: #eff6ff;
    color: var(--color-primary);
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.ticket-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 18px;
}

.t-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.t-meta-icon {
    font-size: 18px;
    color: var(--color-primary);
    margin-top: 2px;
}

.t-meta-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.t-meta-item span {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Barcode / QR Simulation */
.ticket-barcode-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 18px;
}

.barcode-visual-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.simulated-qr {
    width: 48px;
    height: 48px;
    background: #0f172a;
    border-radius: 6px;
    padding: 4px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.simulated-qr span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 1px;
}

.barcode-info strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0f172a;
    display: block;
}

.barcode-info p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
}

.barcode-info code {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 700;
}

.ticket-action-btns {
    display: flex;
    gap: 8px;
}

.btn-ticket-receipt {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.btn-ticket-receipt:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-ticket-print {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
}

.btn-ticket-print:hover {
    background: var(--color-primary-hover);
}

/* Standalone Receipt Card */
.receipt-standalone-container {
    max-width: 780px;
    margin: 0 auto;
}

.receipt-standalone-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.receipt-top-banner {
    background: #0f172a;
    color: white;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.receipt-status-icon {
    font-size: 40px;
}

.badge-verified-entry {
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.5px;
    display: block;
}

.receipt-headline {
    font-size: 24px;
    font-weight: 800;
    margin: 2px 0;
}

.receipt-meta-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.receipt-code-box {
    margin-left: auto;
    text-align: right;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.receipt-code-box .code-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    display: block;
}

.receipt-code-box .code-value {
    font-family: monospace;
    font-size: 16px;
    color: #f8fafc;
}

.receipt-event-box {
    padding: 24px 32px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 20px;
}

.receipt-event-thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.receipt-event-info h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 4px 0;
}

.receipt-event-location, .receipt-event-time {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 2px 0;
}

.receipt-breakdown-grid {
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border-bottom: 1px solid #f1f5f9;
}

.breakdown-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.receipt-kv-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.receipt-kv {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.receipt-kv span {
    color: var(--color-text-muted);
}

.receipt-divider {
    border: none;
    border-top: 1px dashed var(--color-border);
    margin: 8px 0;
}

.receipt-total-kv {
    font-size: 16px;
}

.receipt-grand-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
}

.receipt-pass-section {
    padding: 24px 32px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.pass-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.pass-barcode-graphic {
    text-align: center;
}

.barcode-lines {
    width: 140px;
    height: 48px;
    background: repeating-linear-gradient(90deg, #0f172a 0px, #0f172a 2px, transparent 2px, transparent 4px, #0f172a 4px, #0f172a 7px, transparent 7px, transparent 9px);
    margin: 0 auto 6px;
}

.barcode-human {
    font-family: monospace;
    font-size: 11px;
    color: #64748b;
}

.pass-instructions h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pass-instructions p {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0;
}

.receipt-footer-actions {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
}

@media (max-width: 768px) {
    .ticket-card-expanded {
        grid-template-columns: 1fr;
    }
    .ticket-media-col {
        height: 140px;
    }
    .ticket-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    .lookup-grid {
        grid-template-columns: 1fr;
    }
    .receipt-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --------------------------------------------------------------------------
   Ticketmaster Integration Badges & Live Status Indicators
   -------------------------------------------------------------------------- */
.api-status-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.pulse-dot {
    font-size: 7px;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.tm-live-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.2px;
}

.badge-ticketmaster-live {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #0284c7;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.btn-tm-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: #0284c7;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-tm-link:hover {
    background: rgba(2, 132, 199, 0.16);
    border-color: #0284c7;
    color: #0369a1;
    transform: translateY(-1px);
}

/* ==========================================================================
   Live API Radar & Real-Time Sync Bar
   ========================================================================== */
.live-ticker-wrap {
    background: linear-gradient(90deg, #0b1329 0%, #0f1d40 50%, #0b1329 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    padding: 10px 0;
    color: #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.live-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.live-ticker-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.live-pulse-beacon {
    position: relative;
    width: 10px;
    height: 10px;
    display: inline-block;
}

.live-pulse-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.live-pulse-ring {
    position: absolute;
    width: 22px;
    height: 22px;
    top: -6px;
    left: -6px;
    border: 2px solid rgba(16, 185, 129, 0.65);
    border-radius: 50%;
    animation: livePulseRing 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes livePulseRing {
    0% {
        transform: scale(0.4);
        opacity: 0.9;
    }
    80%, 100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.live-feed-title {
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #ffffff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-tag-source {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-sync-indicator {
    color: #94a3b8;
    font-size: 12px;
}

.live-ticker-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-live-sync {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-live-sync:hover {
    background: rgba(37, 99, 235, 0.4);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.btn-live-sync.is-spinning i {
    animation: spinRotate 0.8s linear infinite;
}

@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Headliner badge on Hero */
.badge-music-headliner {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(249, 115, 22, 0.25) 100%);
    border: 1px solid rgba(234, 179, 8, 0.6);
    color: #fde047;
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-right: 8px;
    text-transform: uppercase;
}

/* Floating Live Sync Toast */
.live-sync-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0b1329;
    border: 1px solid #10b981;
    color: #f8fafc;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    font-size: 13.5px;
    font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-sync-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.live-sync-toast-icon {
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
}



