/* =====================================================
   TASTE V1 — Old Money Light Theme
   Premium Mobile-First Date Planning PWA
   ===================================================== */

/* CSS Variables - Old Money Palette */
:root {
    /* Old Money Light Palette */
    --bg-primary: #F9F9F7;
    --bg-secondary: #F5F5F3;
    --bg-card: #ffffff;
    --bg-card-hover: #FAFAF8;
    --bg-elevated: #F0F0EE;

    /* Warm Charcoal Text */
    --text-primary: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #a8a29e;

    /* Emerald Accent */
    --accent-primary: #047857;
    --accent-light: #10b981;
    --accent-dark: #065f46;
    --accent-glow: rgba(4, 120, 87, 0.08);
    --accent-glow-strong: rgba(4, 120, 87, 0.15);

    /* Stone for secondary elements */
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-800: #292524;

    /* Semantic Colors */
    --success: #047857;
    --error: #dc2626;
    --warning: #d97706;

    /* Borders */
    --border-light: #e5e5e5;
    --border-medium: #d4d4d4;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #047857 0%, #10b981 50%, #047857 100%);
    --gradient-shimmer: linear-gradient(90deg, transparent 0%, rgba(4, 120, 87, 0.1) 50%, transparent 100%);

    /* Spacing Scale */
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Subtle for light mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition-normal: 250ms var(--ease-out);
    --transition-slow: 400ms var(--ease-out);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    max-width: 440px;
    margin: 0 auto;
    padding: var(--space-md);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--accent-primary);
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Intro Card */
.intro-card {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.intro-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.625rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    color: var(--text-primary);
}

.intro-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Preference Panel */
.preference-panel {
    animation: fadeSlideUp 500ms var(--ease-out);
}

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

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

/* Step Containers (2-Step Flow) */
.step-container {
    animation: fadeSlideUp 400ms var(--ease-out);
}

.step-container.hidden {
    display: none;
}

/* City Selector */
.city-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.city-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
    -webkit-tap-highlight-color: transparent;
}

.city-btn:active {
    transform: scale(0.98);
}

.city-btn.active {
    background: var(--accent-glow);
    border-color: var(--accent-primary);
}

.city-icon {
    font-size: 1.75rem;
}

.city-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.city-zones {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Sliders Container */
.sliders-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

/* Slider Group */
.slider-group {
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition-fast);
}

.slider-group:focus-within {
    border-color: var(--accent-primary);
}

.slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
}

.slider-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.slider-icon {
    font-size: 1.125rem;
}

.slider-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.slider-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    min-width: 2ch;
    text-align: right;
}

/* Dynamic Slider Labels */
.slider-dynamic-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
    padding: 4px 12px;
    background: var(--accent-glow);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.slider-dynamic-label.label-pulse {
    animation: labelPulse 200ms ease-out;
}

@keyframes labelPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
        background: var(--accent-glow-strong);
    }

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

.slider-wrapper {
    position: relative;
    padding: var(--space-xs) 0;
}

/* Custom Range Slider */
.vector-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--stone-200);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.vector-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
    border: 3px solid white;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.vector-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.4);
}

.vector-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
    border: 3px solid white;
}

.slider-scale {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
}

.scale-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Match Button */
.match-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--accent-primary);
    color: white;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.match-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: left 600ms ease;
}

.match-btn:hover::before {
    left: 100%;
}

.match-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(4, 120, 87, 0.4);
}

.match-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.25rem;
    transition: transform var(--transition-fast);
}

.match-btn:hover .btn-icon {
    transform: translateX(4px);
}

.match-btn.loading {
    pointer-events: none;
}

.match-btn.loading .btn-text,
.match-btn.loading .btn-icon {
    opacity: 0;
}

.match-btn.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

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

/* Results Panel */
.results-panel {
    animation: fadeIn 400ms var(--ease-out);
}

.results-panel.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
}

.back-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.back-arrow {
    font-size: 1rem;
}

.results-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.results-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xs);
}

.results-city {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Winner Card */
.winner-container {
    margin-bottom: var(--space-xl);
}

.winner-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: winnerReveal 600ms var(--ease-out);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.winner-visual {
    width: 100%;
    height: 180px;
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

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

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

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

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

.winner-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    z-index: 2;
}

.winner-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-elevated);
}

.winner-content {
    padding: var(--space-lg);
}

/* GRADIENT CARD STYLES (No Images) */

.winner-gradient {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.winner-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.card-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.winner-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-md);
}

.winner-cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1;
    text-align: center;
    padding: 1rem;
}

.winner-cover-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.winner-cover-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* Get Directions Button */
.directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: var(--space-md);
}

.directions-btn:hover {
    background: var(--bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-primary);
}

/* Runner Gradient */
.runner-gradient {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.runner-emoji {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Venue Status Badge */
.venue-status-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.venue-status-badge.status-open {
    background: rgba(4, 120, 87, 0.9);
    color: white;
}

.venue-status-badge.status-soon {
    background: rgba(217, 119, 6, 0.9);
    color: white;
}

.venue-status-badge.status-closed {
    background: rgba(87, 83, 78, 0.8);
    color: white;
}

/* Runner card status - smaller, repositioned */
.runner-status {
    bottom: 4px;
    right: 4px;
    font-size: 0.55rem;
    padding: 2px 5px;
}

/* Position runner-gradient as relative for badge positioning */
.runner-gradient {
    position: relative;
}

/* Gradient Variants - Darkened for better text contrast */
.gradient-emerald {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.gradient-midnight {
    background: linear-gradient(135deg, #172554 0%, #1e40af 100%);
}

.gradient-amber {
    /* Much darker amber/brown for contrast */
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
}

.gradient-teal {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}

.gradient-saffron {
    background: linear-gradient(135deg, #9f1239 0%, #be123c 100%);
}

.winner-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    color: var(--text-primary);
}

/* Meal Selector Chips */
/* Meal Selector Grid */
/* Meal Selector Grid (2x2) */
.meal-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.meal-radio {
    display: none;
}

.meal-chip {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.meal-radio:checked+.meal-chip {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.meal-chip:hover {
    background: var(--bg-hover);
    transform: translateY(-1px);
}

/* Crowd Tags */
.crowd-tags {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.crowd-tag {
    padding: 3px 10px;
    background: var(--stone-200);
    color: var(--stone-800);
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.winner-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

/* Venue Quick Info (Replaces Match DNA) */
.venue-quick-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-info-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.quick-info-text {
    display: flex;
    flex-direction: column;
}

.quick-info-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-info-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Match DNA - Compatibility Graph */
.match-dna {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

.match-dna-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.dna-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.dna-row:last-child {
    margin-bottom: 0;
}

.dna-label {
    width: 70px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dna-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dna-bar-container {
    height: 8px;
    background: var(--stone-200);
    border-radius: 4px;
    overflow: hidden;
}

.dna-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 500ms var(--ease-out);
}

.dna-bar.user {
    background: var(--stone-300);
}

.dna-bar.venue {
    background: var(--accent-primary);
}

.dna-status {
    width: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.winner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.tag {
    padding: 4px 10px;
    background: var(--accent-glow);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.winner-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.score-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.score-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.score-value.score-gold {
    color: var(--accent-primary);
}

.tap-hint {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
}

/* Runners Up */
.runners-container {
    margin-bottom: var(--space-lg);
}

.runners-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.runners-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.runner-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    animation: runnerSlide 400ms var(--ease-out) backwards;
    cursor: pointer;
}

.runner-card:nth-child(1) {
    animation-delay: 150ms;
}

.runner-card:nth-child(2) {
    animation-delay: 250ms;
}

@keyframes runnerSlide {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

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

.runner-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.runner-image {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    background: var(--bg-elevated);
}

.runner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.runner-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.runner-zone {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.runner-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: var(--accent-glow);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 500;
    width: fit-content;
}

/* Try Again Button */
.try-again-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-card);
    -webkit-tap-highlight-color: transparent;
}

.try-again-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Footer */
.footer {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-md);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Toast */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-md) var(--space-lg);
    background: var(--error);
    color: white;
    font-size: 0.9rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: toastIn 300ms var(--ease-out);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--stone-300);
    border-radius: 2px;
}

/* Safe Area Padding for iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .app-container {
        padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
    }
}

/* =====================================================
   VENUE DETAIL MODAL
   ===================================================== */

.venue-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.venue-modal.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 200ms ease-out;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    background: var(--bg-card);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    animation: slideUp 400ms var(--ease-out);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.modal-body {
    max-height: 85vh;
    overflow-y: auto;
}

.modal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-elevated);
}

.modal-details {
    padding: var(--space-lg);
}

.modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.modal-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.modal-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* Detail Section */
.detail-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Features Section */
.features-section {
    margin-bottom: var(--space-lg);
}

.features-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.feature-pill {
    padding: 6px 12px;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

/* =====================================================
   INVITE MODAL - Premium Design
   ===================================================== */

#invite-modal {
    align-items: center;
    /* Center vertically instead of bottom */
    padding: 1rem;
}

.invite-modal-content {
    max-width: 400px;
    max-height: 90vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.invite-modal-header {
    flex-shrink: 0;
}

.invite-modal-body {
    overflow-y: auto;
    padding: var(--space-lg);
    flex: 1;
}

.invite-modal-header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.invite-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

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

.invite-icon {
    font-size: 2rem;
}

.invite-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.invite-modal-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.invite-venue-highlight {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.invite-modal-body {
    padding: var(--space-lg);
}

.invite-form-group {
    margin-bottom: var(--space-lg);
}

.invite-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.invite-input {
    width: 100%;
    padding: var(--space-md);
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.invite-input:focus {
    border-color: var(--accent-primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.invite-input::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.invite-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.invite-generate-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-gold);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.25);
}

.invite-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
}

.invite-generate-btn:active {
    transform: translateY(0);
}

.invite-generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.invite-generate-btn .btn-icon {
    transition: transform var(--transition-fast);
}

.invite-generate-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Invite Result Section */
.invite-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
    animation: slideIn 0.4s var(--ease-out);
    text-align: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.invite-success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    animation: bounce 0.6s ease-out;
    background: white;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.invite-success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: var(--space-xs);
}

.invite-success-subtitle {
    font-size: 0.95rem;
    color: #047857;
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.invite-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.invite-whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.invite-whatsapp-btn:active {
    transform: translateY(0);
}

/* Copy Link Box */
.invite-link-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.invite-link-input {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    outline: none;
}

.invite-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    background: var(--text-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.invite-copy-btn:hover {
    background: var(--accent-primary);
}

.invite-copy-btn.copied {
    background: var(--success);
    transform: scale(1.05);
    animation: copyPulse 0.3s ease;
}

@keyframes copyPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

.invite-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* =====================================================
   INVITE CTA BUTTON (in venue modal)
   ===================================================== */

.invite-cta-btn {
    flex: 1;
    /* Match directions button flex */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 12px;
    /* Match directions padding */
    height: 48px;
    /* Match directions height */
    margin-bottom: 0;
    /* Removing bottom margin to align with directions */
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #047857 100%);
    background-size: 200% 200%;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.invite-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
}

.invite-cta-btn:active {
    transform: translateY(0);
}

.invite-cta-icon {
    font-size: 1.125rem;
}

.invite-cta-text {
    flex: 1;
}

.invite-cta-arrow {
    font-size: 1rem;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.invite-cta-btn:hover .invite-cta-arrow {
    transform: translateX(4px);
}

/* =====================================================
   PREMIUM DATE/TIME PICKER (Glassmorphism + Modern)
   ===================================================== */

/* Day Selector Container */
.invite-day-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

/* Premium Chip Base Style */
.day-chip,
.time-chip {
    position: relative;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(4, 120, 87, 0.15);
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

/* Subtle shine effect */
.day-chip::before,
.time-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.day-chip:hover::before,
.time-chip:hover::before {
    left: 100%;
}

/* Hover State */
.day-chip:hover,
.time-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(4, 120, 87, 0.3);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Active/Selected State */
.day-chip.active,
.time-chip.active {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #10b981 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.35),
        0 4px 8px rgba(4, 120, 87, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.day-chip.active:hover,
.time-chip.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(4, 120, 87, 0.4),
        0 6px 12px rgba(4, 120, 87, 0.25);
}

/* Press State */
.day-chip:active,
.time-chip:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

/* Time Selector - 5 columns for time chips */
.invite-time-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.time-chip {
    padding: 0.875rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 12px;
}

/* Secondary Label */
.invite-label-secondary {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hidden date picker (for custom date) */
.invite-date-hidden,
.invite-time-hidden {
    display: none;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(4, 120, 87, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Chip Icons */
.chip-icon {
    margin-right: 0.25rem;
}

/* Custom time chip (clock icon only) */
.time-chip-custom {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Time selector with 6 columns */
.invite-time-selector {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Responsive - Stack on very small screens */
@media (max-width: 400px) {
    .invite-time-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .invite-day-selector {
        grid-template-columns: 1fr 1fr;
    }
}

/* =====================================================
   CUSTOM CALENDAR
   ===================================================== */

.custom-calendar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 249, 247, 0.98) 100%);
    border: 1px solid rgba(4, 120, 87, 0.15);
    border-radius: 20px;
    padding: 1.25rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(4, 120, 87, 0.06);
}

.custom-calendar.hidden {
    display: none;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.calendar-month-year {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-nav:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--accent-glow);
    color: var(--accent-primary);
}

.calendar-day.today {
    border: 2px solid var(--accent-primary);
    font-weight: 700;
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #10b981 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
}

.calendar-day.disabled {
    color: var(--text-muted);
    opacity: 0.4;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.5;
}

/* =====================================================
   MODAL GRADIENT DESIGN
   ===================================================== */
.modal-gradient {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.modal-cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1;
    text-align: center;
    padding: 1rem;
}

.modal-cover-emoji {
    font-size: 5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.modal-cover-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.modal-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.directions-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    height: 48px;
    /* Fixed height to match */
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.directions-cta-btn:hover {
    background: var(--bg-hover);
    transform: translateY(-1px);
}

.data-credit {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-md);
    opacity: 0.7;
}

/* =====================================================
   CUSTOM TIME PICKER
   ===================================================== */

.custom-time-picker {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 249, 247, 0.98) 100%);
    border: 1px solid rgba(4, 120, 87, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(4, 120, 87, 0.06);
}

.custom-time-picker.hidden {
    display: none;
}

.time-picker-columns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.time-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.time-scroll-btn {
    width: 44px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.time-scroll-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.time-scroll-btn:active {
    transform: scale(0.95);
}

.time-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-primary);
    min-width: 50px;
    text-align: center;
    padding: 0.5rem 0;
}

.time-separator {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0 0.25rem;
}

.time-period .time-value {
    font-size: 2rem;
    min-width: 50px;
}

.time-confirm-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #10b981 100%);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

.time-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
}

/* =====================================================
   SELECT TIME BUTTON (Premium Green)
   ===================================================== */

.select-time-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #10b981 50%, var(--accent-primary) 100%);
    background-size: 200% 200%;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.select-time-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.select-time-btn:hover::before {
    left: 100%;
}

.select-time-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.4);
}

.select-time-btn:active {
    transform: translateY(0);
}

.select-time-icon {
    font-size: 1.25rem;
}

.select-time-text {
    flex: 1;
    text-align: left;
}

.select-time-arrow {
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.select-time-btn:hover .select-time-arrow {
    transform: translateX(4px);
}

/* =====================================================
   GLOBAL SHIMMER EFFECT FOR ALL BUTTONS
   ===================================================== */

/* Apply to day chips */
.day-chip {
    position: relative;
    overflow: hidden;
}

.day-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.day-chip:hover::before {
    left: 100%;
}

/* Apply to calendar nav */
.calendar-nav {
    position: relative;
    overflow: hidden;
}

.calendar-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.4s ease;
}

.calendar-nav:hover::before {
    left: 100%;
}

/* Apply to time picker buttons */
.time-scroll-btn {
    position: relative;
    overflow: hidden;
}

.time-scroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.3s ease;
}

.time-scroll-btn:hover::before {
    left: 100%;
}

/* Apply to match button (already has shimmer, enhance it) */
.match-btn::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
}

/* Apply to Generate Invitation button */
.invite-generate-btn {
    position: relative;
    overflow: hidden;
}

.invite-generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.invite-generate-btn:hover::before {
    left: 100%;
}

/* Apply to time confirm button */
.time-confirm-btn {
    position: relative;
    overflow: hidden;
}

.time-confirm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.5s ease;
}

.time-confirm-btn:hover::before {
    left: 100%;
}