@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,800;1,900&family=Inter:wght@400;500;600;700;800&display=swap');
@import url('glos-ui-tokens.css');
@import url('glos-ui-components.css');

/* 
 * GLOS Booking Booking UI 
 * "The Booking" Design Language - Light Theme
 */

:root {
    /* User Palette Variables - Mapped to Global Tokens */
    --glos-booking-bg: var(--gl-bg);
    --glos-booking-card-bg: var(--gl-surface);
    --glos-booking-card-border: var(--gl-border);
    --glos-booking-border-hover: var(--gl-primary);
    --glos-booking-text-main: var(--gl-text);
    --glos-booking-text-muted: var(--gl-text-muted);

    --glos-booking-accent: var(--gl-primary);
    --glos-booking-accent-glow: rgba(25, 151, 255, 0.2);

    --glos-booking-success: var(--gl-success);
    --glos-booking-warning: var(--gl-danger);
    /* Map warning to danger color for now as per prompt palette limits */
    --glos-booking-danger: var(--gl-danger);

    /* Local overrides if needed, otherwise use global */
    --glos-font-family: var(--gl-font-family);
}

/* Ensure ALL elements within the booking container and the body itself use Urbanist */
body,
html,
.glos-booking,
.glos-booking *,
.glos-booking input,
.glos-booking button,
.glos-booking textarea,
.glos-booking select,
.glos-booking a,
.menu-item a,
.nav-menu a,
#top-menu a {
    font-family: 'Urbanist', sans-serif !important;
}

/* Typography Overrides (Scoped) */
.glos-booking h1,
.glos-booking h2,
.glos-booking h3,
.glos-booking h4,
.glos-booking h5,
.glos-booking h6,
.glos-booking strong,
.glos-booking b,
.glos-booking th,
.glos-admin-app h1,
.glos-admin-app h2,
.glos-admin-app h3,
.glos-admin-app h4,
.glos-admin-app h5,
.glos-admin-app h6,
.glos-section-header,
.glos-ticket-title,
.glos-step-title,
.glos-btn-cta,
.glos-highlight-text,
.glos-loc-label,
.glos-mini-label,
.glos-ticket-label,
.glos-ticket-price,
.glos-mini-value,
.glos-loc-name,
.glos-dur-val,
.glos-dur-unit,
.glos-dur-price,
.glos-stepper-val,
.glos-date-day,
.glos-date-num,
.glos-date-mo,
.glos-time-val,
.glos-time-slot,
.glos-pulse-btn-primary {
    font-family: 'Urbanist', sans-serif !important;
}

/* Base Wrapper - Layout Breakout */
.glos-booking {
    background-color: var(--gl-bg);
    color: var(--gl-text);
    font-family: 'Urbanist', sans-serif !important;
    min-height: 100vh;

    /* Padding for Top Nav/Header clearance */
    padding: 40px 20px;

    /* Disable aggressive breakout to prevent header breakage */
    width: 100%;
    margin: 0;
    left: auto;
    right: auto;
    position: relative;
    max-width: 100%;
}

/* Feedback Form Fixes */
#glos-feedback-note {
    color: #1e293b !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
}

#glos-feedback-ui {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Reset Box Sizing */
.glos-booking *,
.glos-booking *::before,
.glos-booking *::after {
    box-sizing: border-box;
}

/* Typography Resets */
.glos-booking h1,
.glos-booking h2,
.glos-booking h3,
.glos-booking h4,
.glos-booking p {
    margin: 0;
    line-height: 1.4;
    color: var(--gl-text);
}

/* =========================================
   Layout Structure
   ========================================= */

.glos-booking__container {
    width: 80vw;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top Bar (Steps) */
/* .glos-booking__top removed/deprecated */

/* Page Header Block */
.glos-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gl-border);
}

.glos-header-content {
    max-width: 60%;
}

.glos-page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.glos-subtitle {
    font-size: 1rem;
    color: var(--gl-text-muted);
}

/* Steps in Header override */
.glos-page-header .glos-steps {
    width: auto;
    gap: 30px;
}

/* Main Grid */
.glos-booking__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

/* Left Column (Content) */
.glos-booking__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 0;
}

/* Right Column (Summary) */
.glos-booking__right {
    position: sticky;
    top: 40px;
    min-width: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .glos-booking__layout {
        grid-template-columns: 1fr;
    }

    .glos-booking__right {
        position: static;
        order: 1;
    }
}


/* =========================================
   Components
   ========================================= */

/* Section Headers */
.glos-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gl-text);
    position: relative;
    z-index: 100;
    /* Ensure clickable on mobile */
    overflow: hidden;
    /* For pulse effect */
}

.glos-section-header svg {
    width: 20px;
    height: 20px;
    stroke: var(--gl-primary);
}


/* Steps Indicator (New Layout) */
.glos-steps {
    display: flex;
    flex-direction: row;
    /* Horizontal alignment */
    align-items: center;
    /* Vertically center items */
    gap: 20px;
    /* Space between steps */
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100%;
}

@media (max-width: 1024px) {

    /* The Wrapper becomes the sticky header */
    .glos-steps-container {
        display: flex;
        /* NEW: Flex container */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 20px;
        z-index: 999;
        flex-direction: row;
        justify-content: space-between;
        /* Space between Steps and Price */
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }

    /* Steps inside wrapper */
    .glos-steps {
        display: flex;
        gap: 15px;
        /* Tighter gap on mobile */
        width: auto;
        /* Allow shrink */
    }

    /* Show Price */
    #glos-mobile-total {
        display: block !important;
    }

    /* Content Pushes down */
    /* Content Pushes down - Handled by Wrapper Padding now */
    .glos-page-header {
        margin-top: 0;
    }

    /* Spacer to prevent content overlap */
    .glos-booking {
        padding-top: 60px;
    }
}

/* Responsive Header */
@media (max-width: 1024px) {
    .glos-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        /* Space for fixed steps bar */
        margin-top: 0;
    }

    .glos-header-content {
        max-width: 100%;
    }

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

    /* Ensure subtitle wraps */
    .glos-subtitle {
        white-space: normal;
    }
}

.glos-step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.5;
    /* Inactive state */
    transition: opacity 0.3s;
}

.glos-step-item.active {
    opacity: 1;
}

/* Circle Number */
.glos-step-circle {
    width: 44px;
    height: 44px;
    background: var(--gl-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(25, 151, 255, 0.3);
}

.glos-step-item:not(.active) .glos-step-circle {
    background: var(--gl-surface);
    border: 1px solid var(--gl-border);
    color: var(--gl-text-muted);
    box-shadow: none;
}

/* Text Stack */
.glos-step-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.glos-step-title {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--gl-text);
    letter-spacing: 0.5px;
}

.glos-step-sub {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gl-danger);
    /* Coral per pulse design */
    margin-top: 3px;
    letter-spacing: 1px;
    display: none;
    /* Hidden by default */
}

.glos-step-item.active .glos-step-sub {
    display: block;
    animation: glosPulse 2s infinite;
}

/* Pulse Animation */
@keyframes glosPulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.98);
    }

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

/* Mobile Adjustments for Item */
@media (max-width: 1024px) {
    .glos-step-item {
        gap: 10px;
    }

    .glos-step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .glos-step-title {
        font-size: 0.9rem;
    }

    .glos-step-sub {
        font-size: 0.6rem;
    }
}


/* Glass Card Generic -> Light Card */
.glos-card {
    background: var(--gl-surface);
    border: 1px solid var(--gl-border);
    border-radius: 16px;
    /* Soft shadow instead of glass blur */
    box-shadow: var(--gl-shadow-soft);
    padding: 24px;
    transition: all 0.2s;
}

.glos-card--interactive {
    cursor: pointer;
}

.glos-card--interactive:hover {
    border-color: var(--gl-primary);
    background: var(--gl-surface);
    transform: translateY(-2px);
}

.glos-card.selected {
    border-color: var(--gl-primary);
    background: rgba(25, 151, 255, 0.1);
    /* Light blue bg match Time */
    box-shadow: 0 0 0 1px var(--gl-primary), var(--gl-shadow-soft);
}

/* Text Highlights inside selected cards */
.glos-card.selected .glos-highlight-text {
    color: var(--gl-primary);
}


/* GRID: Locations */
.glos-grid-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.glos-loc-card {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.glos-loc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gl-text-muted);
    letter-spacing: 0.5px;
}

.glos-loc-name {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--gl-text);
}

.glos-loc-dots {
    display: flex;
    gap: 4px;
}

.glos-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gl-border-strong);
}

.glos-card.selected .glos-dot {
    background: var(--gl-primary-dark);
}

.glos-card.selected .glos-loc-selected-text {
    display: block;
}

.glos-loc-selected-text {
    display: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gl-primary);
    text-align: right;
    margin-top: -15px;
}


/* GRID: Session Duration */
.glos-grid-duration {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .glos-grid-duration {
        grid-template-columns: repeat(2, 1fr);
    }
}

.glos-dur-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center Vertically */
    gap: 0;
    /* Tight grouping */
    height: auto;
    min-height: 90px;
    padding: 10px;
}

.glos-dur-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    line-height: 1;
    margin-top: 5px;
    /* Slight offset to visual center */
}

.glos-dur-val {
    font-size: 2.2rem;
    font-weight: 900;
    /* Heavier weight */
    color: var(--gl-text);
    line-height: 1;
}

.glos-dur-unit {
    font-size: 0.75rem;
    color: var(--gl-text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.glos-dur-price {
    font-size: 0.8rem;
    color: var(--gl-text-muted);
    font-weight: 600;
    margin-top: 4px;
}


/* Stepper: Racers */
.glos-racers-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glos-racer-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--gl-text);
}

.glos-racer-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gl-text-muted);
}

.glos-stepper-ctrl {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Increased gap for better spacing */
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

.glos-stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* Circle */
    border: 1px solid var(--gl-border-strong);
    /* Visible border */
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 1.2rem;
    color: var(--gl-text);
    /* Dark text */
    user-select: none;
    transition: all 0.2s ease;
}

.glos-stepper-btn:hover {
    border-color: var(--gl-primary);
    color: var(--gl-primary);
    background: var(--gl-surface);
}

.glos-stepper-val {
    font-size: 1.5rem;
    font-weight: 900;
    /* Heavier weight */
    width: 30px;
    text-align: center;
    color: var(--gl-text);
}


/* Date Picker Scroll */
.glos-date-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;

    /* Padding to prevent shadow clipping */
    padding: 10px 5px 25px 5px;
    /* Negative margin to align visuals while keeping padding */
    margin: 0 -5px;
    width: calc(100% + 10px);

    /* Hide scrollbar logic usually needed here */
    scrollbar-width: thin;
}

@media (max-width: 1024px) {
    .glos-date-scroll {
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px;
    }
}

.glos-date-scroll::-webkit-scrollbar {
    display: none;
}

.glos-date-card {
    min-width: 80px;
    /* Allow expanding to fill width */
    flex: 1;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--gl-surface);
    border: 1px solid var(--gl-border);
    border-radius: 12px;
    padding: 0;
    transition: all 0.2s ease;

    /* Ensure shadow isn't clipped by self */
    box-shadow: var(--gl-shadow-soft);
}

/* Disable hover lift for date cards to prevent top clipping */
.glos-date-card:hover {
    transform: none !important;
    border-color: var(--gl-primary);
    background: var(--gl-surface);
}

.glos-date-card.selected {
    background: var(--gl-primary);
    border-color: var(--gl-primary);
    color: white;
}

/* Override gradient if present -> Use solid Primary Blue */
/* Override gradient if present -> Use Light Blue Theme */
.glos-date-card.selected {
    background: rgba(25, 151, 255, 0.1);
    border-color: var(--gl-primary);
    color: var(--gl-primary);
    /* Blue text */
    box-shadow: 0 0 0 1px var(--gl-primary);
}

.glos-date-card.selected .glos-date-day,
.glos-date-card.selected .glos-date-num,
.glos-date-card.selected .glos-date-mo {
    color: var(--gl-primary);
}

.glos-date-day {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-weight: 700;
}

.glos-date-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.glos-date-mo {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Mobile Swipe Hint */
.glos-mobile-swipe-hint {
    display: none;
}

@media (max-width: 1024px) {
    .glos-mobile-swipe-hint {
        display: block;
        margin-left: auto;
        font-size: 0.7rem;
        font-weight: 500;
        color: var(--glos-booking-text-muted);
        text-transform: none;
        letter-spacing: 0;
        opacity: 0.8;
    }
}


/* Time Grid */
.glos-grid-times {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .glos-grid-times {
        grid-template-columns: repeat(2, 1fr);
    }
}

.glos-time-card {
    background: var(--gl-surface);
    border: 1px solid var(--gl-border);
    padding: 7px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 65px;
    border-radius: 12px;
    box-shadow: var(--gl-shadow-soft);
    cursor: pointer;
    transition: all 0.2s;
}

.glos-time-card:hover {
    border-color: var(--gl-primary);
}

.glos-time-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gl-text);
}

.glos-time-status {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
    color: var(--gl-primary-dark);
    /* 'Open' style */
}

/* Segmented Time Bar */
.glos-time-segments {
    display: flex;
    gap: 3px;
    height: 4px;
    width: 100%;
    margin-bottom: 0;
}

.glos-seg {
    flex: 1;
    background: #e5e5e5;
    /* Light grey for inactive */
    border-radius: 2px;
}

/* OPEN State */
.glos-time-card.status-open .glos-seg.active {
    background: var(--gl-primary);
}

.glos-time-card.status-open .glos-time-status {
    color: var(--gl-primary-dark);
}

/* LIMITED State */
.glos-time-card.status-limited .glos-seg.active {
    background: var(--gl-danger);
}

.glos-time-card.status-limited .glos-time-status {
    color: var(--gl-danger);
}

/* UNAVAILABLE State */
.glos-time-card.status-unavailable {
    opacity: 0.6;
    /* Less opaque on light theme */
    cursor: not-allowed;
    background: #f9f9f9;
    border-color: transparent;
    box-shadow: none;
}

.glos-time-card.status-unavailable .glos-seg {
    background: #ddd;
}

.glos-time-card.status-unavailable .glos-time-status {
    color: var(--gl-text-muted);
    text-decoration: none;
}

/* SELECTED State */
.glos-time-card.selected {
    border-color: var(--gl-primary);
    background: rgba(0, 122, 255, 0.1);
    /* Light blue bg */
    box-shadow: 0 0 0 1px var(--gl-primary);
}

.glos-time-card.selected .glos-time-val {
    color: var(--gl-primary);
}

.glos-time-card.selected .glos-time-status {
    color: var(--gl-primary);
}

/* Add dot for selected state (top right) */
.glos-time-card.selected::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: var(--gl-primary);
    border-radius: 50%;
}


/* =========================================
   Right Summary - Race Ticket (Light Theme)
   =========================================*/
.glos-ticket {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--gl-shadow-soft);
    border: 1px solid var(--gl-border);
    position: relative;
    overflow: hidden;
}

/* Top Glow Line -> Accent Top Border */

.glos-ticket-title {
    font-size: 1.6rem;
    /* Bigger than before */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gl-primary);
    /* Blue */
}

.glos-ticket-location {
    font-size: 0.75rem;
    color: var(--gl-text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Unified Location Text (User Request) */
.glos-location-text {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--gl-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.glos-ticket-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 2px dashed var(--gl-border);
    padding-bottom: 20px;
}

/* ... existing ... */

.glos-ticket-total {
    text-align: left;
    margin-top: 10px;
}

.glos-ticket-label {
    font-size: 0.75rem;
    color: var(--gl-text-muted);
    /* Dark Gray/Blackish */
    text-transform: uppercase;
    font-weight: 700;
    /* Lighter than 900 */
    letter-spacing: 0.5px;
}

.glos-ticket-price {
    font-size: 2.8rem;
    /* Larger than Title */
    font-weight: 900;
    color: var(--gl-primary);
    /* Blue */
    line-height: 1;
}


.glos-ticket-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.glos-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gl-text);
    font-size: 0.9rem;
}

.glos-detail-icon {
    color: var(--gl-text-muted);
    width: 18px;
    height: 18px;
}

/* Mini Cards inside summary */
.glos-ticket-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.glos-mini-card {
    background: #f5f5f5;
    /* Light grey fill */
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--gl-border);
}

.glos-mini-label {
    font-size: 0.65rem;
    color: var(--gl-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.glos-mini-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gl-text);
}


/* CTA */
.glos-btn-cta {
    display: flex;
    width: 100%;
    padding: 16px 32px;
    /* Increased padding for pill shape */

    /* Gradient: Blue (#1997FF) -> Purple (#5D3A8A) */
    background: linear-gradient(90deg, var(--gl-primary-accent) 0%, var(--gl-accent-purple) 100%);

    color: #fff;
    border: none;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    /* Full Round (Pill) */
    font-weight: 700;
    text-transform: uppercase;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Smooth shape change */
    box-shadow: 0 4px 15px rgba(25, 151, 255, 0.4);
    letter-spacing: 1px;
}

.glos-btn-cta:hover:not(:disabled) {
    /* More boxy on hover - NO other movement/shadow changes */
    border-radius: 10px;
    background: linear-gradient(90deg, var(--gl-primary-accent) 0%, var(--gl-accent-purple) 100%);
    /* Keep gradient - No color change */
}

.glos-btn-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
    box-shadow: none;
    background-image: none;
    background-image: none;
    /* Remove gradient on disabled */
}

/* -- New Navigation Buttons -- */
.glos-pulse-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* For SVG */
    padding: 12px 24px;
    background: linear-gradient(90deg, var(--gl-primary-accent) 0%, var(--gl-accent-purple) 100%);
    color: #fff;
    border: none;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    /* Start as Pill */
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 151, 255, 0.3);
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    z-index: 100;
    /* Ensure clickable on mobile */
    overflow: hidden;
    /* For pulse effect */
}

.glos-pulse-btn-primary:hover {
    border-radius: 10px;
    /* Shape shift on hover */
}

.glos-btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    height: 45px;
    background: transparent;
    color: var(--gl-text-muted);
    border: 1px solid var(--gl-border);
    border-radius: 50px;
    /* Pill shape to match Primary */
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Match Primary */
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    gap: 8px;
    /* For SVG */
}

.glos-btn-secondary:hover {
    border-radius: 10px;
    /* Shape shift on hover - No color change */
}

/* Footer security links */
.glos-ticket-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.glos-secure-link {
    font-size: 0.65rem;
    color: var(--gl-text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
   LAYOUT PROOF STYLES (Simple Boxes)
   ========================================= */
.glos-layout-box {
    padding: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-align: center;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.box-top {
    background: #1e3a8a;
    height: 100px;
}

.box-left {
    background: #065f46;
    height: 600px;
}

.box-right {
    background: #991b1b;
    height: 400px;
}

/* =========================================
   Floating Labels (Global)
   ========================================= */

.glos-form-group {
    position: relative;
    margin-bottom: 15px;
}

.glos-form-group input,
.glos-form-group select,
.glos-form-group textarea {
    width: 100%;
    padding: 20px 15px 6px;
    /* Top padding for label space */
    border: 1px solid var(--gl-border);
    border-radius: 8px;
    /* Slightly tighter radius than buttons */
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s ease;
    height: 52px;
    /* Fixed height for consistency */
    box-sizing: border-box;
    appearance: none;
}

.glos-form-group input:focus,
.glos-form-group select:focus,
.glos-form-group textarea:focus {
    outline: none;
    border-color: var(--gl-primary);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.glos-form-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gl-text-muted);
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left top;
}

/* Floating State: Focus, Valid (filled), or explicit 'active' class */
.glos-form-group input:focus~label,
.glos-form-group input:not(:placeholder-shown)~label,
.glos-form-group input.has-value~label,
/* JS fallback */
.glos-form-group select~label,
/* Select always floats */
.glos-form-group textarea:focus~label,
.glos-form-group textarea:not(:placeholder-shown)~label {
    top: 10px;
    transform: translateY(0);
    font-size: 0.65rem;
    color: var(--gl-primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Ensure placeholder doesn't conflict (hide it visually but keep for :placeholder-shown) */
.glos-form-group input::placeholder,
.glos-form-group textarea::placeholder {
    color: transparent;
}