/* Spotkai Main Styles */

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

/* Variables */
:root {
    --primary-color: #ff6b6b;
    --primary-dark: #e55a5a;
    --primary-light: #ff8787;
    --secondary-color: #4ecdc4;
    --secondary-dark: #3bb5ad;
    --accent-color: #45b7d1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-gray: #718096;
    --background-light: #f8f9fa;
    --background-cream: #fffaf7;
    --border-color: #e9ecef;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.75rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-3xl);
    font-weight: 700;
}

h2 {
    font-size: var(--font-2xl);
}

h3 {
    font-size: var(--font-lg);
}

h4 {
    font-size: var(--font-base);
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-gray);
}

small {
    font-size: var(--font-sm);
    color: var(--text-gray);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 75px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-actions-desktop {
    display: flex;
}
.nav-actions-mobile {
    display: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--primary-dark);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
}

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

.brand-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.nav-brand .logo {
    height: 50px;
    margin-right: var(--spacing-sm);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.language-switcher {
    display: flex !important;
    align-items: center !important;
    gap: var(--spacing-xs);
    flex-direction: row !important;
}

.location-selector {
    padding: 10px 14px !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    background: #fff !important;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.location-selector:hover {
    border-color: var(--primary-color);
}

.location-selector i {
    color: var(--primary-color);
}

.language-switcher select {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.language-switcher select:hover {
    border-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-top: 75px;
    min-height: calc(100vh - 75px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.4;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: var(--font-base);
    line-height: 1.5;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
    box-shadow: none;
}

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

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: var(--font-lg);
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: var(--font-sm);
}

.btn-block {
    width: 100%;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--primary-color);
    border-color: #fff;
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: var(--spacing-lg) auto 0;
    border-radius: 2px;
}

/* Events Section */
.events-section {
    padding: 95px 0 var(--spacing-2xl);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.filter-banner {
    background: var(--background-light);
    color: var(--text-dark);
    padding: var(--spacing-md) 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.filter-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.filter-info i {
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-banner .btn {
    white-space: nowrap;
}

/* Events Section */
.events-section {
    padding: var(--spacing-2xl) 0;
}

.events-content {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
}

.events-actions {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.events-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-lg);
    font-weight: 600;
}

/* No Events Section (for events page) */
.no-events {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
}

.no-events > i {
    font-size: 2.5rem;
    color: #cbd5e0;
    margin-bottom: var(--spacing-md);
    display: block;
}

.notify-signup .form-row {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.notify-signup input {
    flex: 1;
    padding: var(--spacing-sm) 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.notify-signup input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.notify-signup button i {
    margin-right: 0.4rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.event-card-link:hover .event-title {
    color: var(--primary-color);
}

.event-card-link:hover .btn {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.event-card-link:hover .btn-primary {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.event-card-link:hover .btn-secondary {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.event-header {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    flex: 1;
    color: var(--text-dark);
    line-height: 1.3;
}

.event-price {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 1.125rem;
    white-space: nowrap;
}

.event-details {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* Event Description */
.event-description {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.event-description h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.description-content {
    color: var(--text-dark);
    line-height: 1.7;
    word-wrap: break-word;
}

.event-date,
.event-location {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9375rem;
}

.event-date i,
.event-location i {
    margin-right: var(--spacing-sm);
    width: 18px;
    color: var(--primary-color);
}

.event-availability {
    padding: 0 1.5rem 1rem;
}

.availability-info {
    display: flex;
    gap: 1rem;
}

.spots-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spots-count {
    background: var(--success-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.spots-count.full {
    background: var(--error-color);
}

.event-actions {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Steps Grid - How It Works Section */
.how-it-works {
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-3xl);
}

.step {
    text-align: center;
    padding: var(--spacing-xl);
}

.step-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--spacing-xl);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.step-icon-emoji {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
}

.step-icon-emoji .emoji {
    font-size: 4rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label .checkmark {
    display: none;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-label a:hover {
    color: var(--primary-dark);
}

/* Consent Toggle - styled like other checkboxes */
.consent-select-all-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.consent-toggle-label {
    font-weight: 500;
    color: var(--text-dark);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fdf2f2;
    color: var(--error-color);
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #f0f9f4;
    color: var(--success-color);
    border: 1px solid #c3e6cb;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: #bdc3c7;
}

.footer-links a:hover {
    color: #fff;
}

.footer p {
    margin: 0;
    color: #7f8c8d;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Responsive Design */
@media (max-width: 992px) {
    .nav-center {
        display: block; /* Allow nav-menu to be positioned */
        position: static;
    }

    .nav-actions-desktop {
        display: none;
    }
    .nav-actions-mobile {
        display: block;
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-lg);
        border-top: 1px solid var(--border-color);
    }

    .nav-actions-mobile .language-switcher {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .nav-actions-mobile .location-selector,
    .nav-actions-mobile .language-switcher select {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 75px; /* Height of the navbar */
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Further adjustments for smaller mobile screens */
@media (max-width: 768px) {
    .nav-actions {
        gap: 8px;
    }

    .language-switcher {
        flex-direction: row;
        gap: 6px;
    }

    .location-selector {
        padding: 6px 10px !important;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .location-selector .fa-map-marker-alt {
        font-size: 0.8rem;
    }

    .language-switcher select {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-actions {
        flex-direction: column;
    }
}

/* Payment Provider Logos */
.provider-logo {
    max-width: 80px;
    max-height: 30px;
    object-fit: contain;
    border-radius: 4px;
}

.provider-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-provider {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.payment-provider:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.provider-description {
    color: var(--text-light);
}

.provider-select-btn {
    width: 100%;
    margin-top: 10px;
}

/* Debug info box */
#debug-info {
    font-family: monospace;
    line-height: 1.4;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
}

/* Location Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.location-modal {
    width: 700px;
    max-width: 90%;
}

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

.modal-header h2 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--background-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 28px;
}

.location-help {
    margin: 0 0 24px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.city-search-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.city-search-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    transition: var(--transition);
    background: white;
}

.city-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    box-shadow: var(--shadow);
    z-index: 100;
    margin-top: -2px;
    display: none;
}

.city-suggestions.active {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--background-light);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--background-light);
}

.suggestion-item.highlighted {
    background: var(--background-light);
    border-left: 3px solid var(--primary-color);
}

.suggestion-item:active {
    background: var(--border-color);
}

.suggestion-flag {
    font-size: 24px;
    margin-right: 12px;
    line-height: 1;
}

.suggestion-text {
    flex: 1;
}

.suggestion-city {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.suggestion-country {
    font-size: 0.85rem;
    color: var(--text-light);
}

.no-results {
    padding: 16px 18px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.popular-cities {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.popular-cities h3 {
    margin: 0 0 20px 0;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.city-card {
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.city-card:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.city-card:active {
    transform: translateY(0);
}

.city-flag {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}

.city-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.city-country {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .location-modal {
        width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .city-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .city-card {
        padding: 16px;
    }

    .city-flag {
        font-size: 40px;
    }

    .city-name {
        font-size: 1rem;
    }

    .city-country {
        font-size: 0.85rem;
    }
}
