:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f472b6;
    --bg-dark: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(244, 114, 182, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 70px;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    opacity: 0.9;
}

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

.language-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.language-dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary);
    color: white;
}

.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

.hero-section {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.search-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 900px;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-wide {
    grid-column: span 1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input,
.form-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M2.5 4.5L6 8L9.5 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.preferences-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.preference-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toggle-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toggle-group input[type="radio"] {
    display: none;
}

.toggle-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    background: white;
}

.toggle-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.toggle-group input[type="radio"]:checked + .toggle-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.tooltip-trigger {
    cursor: help;
    opacity: 0.5;
    transition: var(--transition);
}

.tooltip-trigger:hover {
    opacity: 1;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

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

.btn-text {
    display: flex;
    gap: 0.375rem;
}

.btn-icon {
    display: flex;
    transition: transform 0.2s ease;
}

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

.loading-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.loading-container {
    text-align: center;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    border-right-color: var(--secondary);
    animation-delay: 0.2s;
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: var(--accent);
    animation-delay: 0.4s;
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
}

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

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.loading-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.results-section {
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

.results-header {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.results-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
}

.results-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: calc(100vh - 200px);
}

.map-column {
    height: 100%;
}

.map-wrapper {
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

#map .gm-style-iw-c {
    padding: 8px !important;
}

#map .gm-style-iw-d {
    overflow: hidden !important;
}

.map-legend {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: calc(100% - 2rem);
    z-index: 10;
}

.map-legend:empty {
    display: none;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .map-legend {
        bottom: 0.5rem;
        left: 0.5rem;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    
    .legend-item {
        font-size: 0.65rem;
    }
    
    .legend-dot {
        width: 10px;
        height: 10px;
    }
}

.cards-column {
    height: 100%;
    overflow: hidden;
}

.cards-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.cards-scroll::-webkit-scrollbar {
    width: 6px;
}

.cards-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.cards-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.day-container {
    margin-bottom: 2rem;
}

.shortage-notice {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.shortage-notice svg {
    flex-shrink: 0;
    color: #fbbf24;
    width: 28px;
    height: 28px;
}

.shortage-text {
    flex: 1;
}

.shortage-text strong {
    color: #fcd34d;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

.shortage-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.extra-recommendations-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.extra-recommendations-container .day-title {
    color: #94a3b8;
}

.extra-recommendations-container .day-title::before {
    background: linear-gradient(to bottom, #94a3b8, #64748b);
}

.extra-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 400;
}

.place-card.extra-recommendation {
    opacity: 0.85;
    padding-left: 1.5rem;
}

.place-card.extra-recommendation:hover {
    opacity: 1;
}

.day-header {
    margin-bottom: 1rem;
}

.day-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.day-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.place-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    padding-left: 3.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-marker-badge {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-highlight {
    animation: cardPulse 1.5s ease-out;
    box-shadow: 0 0 0 3px var(--primary), var(--shadow-xl);
}

@keyframes cardPulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7), var(--shadow-xl); }
    50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.3), var(--shadow-xl); }
    100% { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5), var(--shadow-xl); }
}

.place-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.place-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.place-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.place-category svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.place-category.museum_small,
.place-category.museum_medium,
.place-category.museum_large,
.place-category.museum_huge {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.place-category.landmark {
    background: rgba(234, 88, 12, 0.12);
    color: #ea580c;
}

.place-category.nature {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.place-category.wildlife {
    background: rgba(13, 148, 136, 0.12);
    color: #0d9488;
}

.place-category.entertainment {
    background: rgba(236, 72, 153, 0.12);
    color: #ec4899;
}

.place-category.religious,
.place-category.religious_small,
.place-category.religious_medium,
.place-category.religious_large {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
}

.place-category.park {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.place-category.neighbourhood {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.place-category.sports {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.place-category.viewpoint {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
}

.place-category.shopping {
    background: rgba(251, 146, 60, 0.12);
    color: #f97316;
}

.place-category.food {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.place-category.nightlife {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.place-category.other {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.place-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.place-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.place-visit-time,
.place-distance {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
}

.place-distance {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
}

.place-accessible {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #b45309;
    background: rgba(245, 158, 11, 0.15);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.place-visit-time svg,
.place-distance svg,
.place-accessible svg {
    flex-shrink: 0;
}

.place-hours {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.day-name {
    min-width: 2.5rem;
    font-weight: 500;
}

.day-time {
    color: var(--text-secondary);
}

.place-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cuisine-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cuisine-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cuisine-title::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 6px;
}

.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.cuisine-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    color: var(--text-dark);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cuisine-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cuisine-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cuisine-item-name::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    flex-shrink: 0;
}

.cuisine-item-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cuisine-fallback {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--text-dark);
    white-space: pre-line;
}

.error-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.error-toast.show {
    opacity: 1;
    visibility: visible;
}

.tooltip {
    position: fixed;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    max-width: 250px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.results-sidebar {
    display: none;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.5rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
    position: relative;
}

.sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary);
    border-radius: 2px;
    transition: height 0.2s ease;
}

.sidebar-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
    color: white;
    background: rgba(99, 102, 241, 0.15);
}

.sidebar-item.active::before {
    height: 60%;
}

.sidebar-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.sidebar-item.active svg {
    opacity: 1;
}

.sidebar-label {
    flex: 1;
}

@media (min-width: 1200px) {
    .results-sidebar {
        display: block;
        order: 3;
    }

    .results-container {
        grid-template-columns: 1fr 1fr 200px;
    }
}

.mobile-tabs {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    margin: 0 1rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    margin-right: 0.5rem;
}

.mobile-tab:last-child {
    margin-right: 0;
}

.mobile-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
    .results-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .map-column {
        height: 400px;
    }

    .cards-column {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .search-card {
        padding: 1.5rem;
    }

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

    .toggle-group {
        flex-direction: column;
    }

    .toggle-btn {
        text-align: center;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
        margin-left: 0;
    }

    .export-btn {
        flex: 1;
        justify-content: center;
    }

    .mobile-tabs {
        display: flex;
    }

    .results-container {
        display: flex;
        flex-direction: column;
    }

    .map-column {
        height: calc(100vh - 180px);
        min-height: 400px;
    }

    .cards-column {
        height: auto;
        max-height: none;
        flex: 1;
    }

    .cards-scroll {
        max-height: none;
        overflow: visible;
    }

    .day-container {
        margin-bottom: 1rem;
    }

    .map-column {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link span {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .map-column {
        height: calc(100vh - 120px);
        min-height: 250px;
    }

    .results-header {
        padding: 0.5rem 1rem;
    }

    .mobile-tabs {
        padding: 0.25rem 0.5rem;
        margin: 0 0.5rem 0.5rem;
    }

    .mobile-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 380px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 1rem 1.25rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.cookie-link {
    color: var(--primary);
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
}

.cookie-btn-decline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.cookie-btn-decline:hover {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}

.site-footer {
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.site-footer .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem;
}

.site-footer .footer-copy {
    display: none;
}

.site-footer .footer-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
    align-items: center;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 400;
    transition: color 0.2s ease;
    border: none !important;
}

.site-footer .footer-links a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer .footer-links a::before {
    display: none;
}

.site-footer .footer-links a::after {
    display: none;
}

.site-footer .ai-disclaimer {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    margin: 0;
    font-style: italic;
}
