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

:root {
    /* Premium Color Palette */
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #f43f5e;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    /* Light Mode (Default) */
    --bg-color: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-bg-solid: #ffffff;

    /* Text Colors - Light Mode */
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-accent: #4f46e5;

    /* Border & Effects - Light Mode */
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);

    /* Glassmorphism - Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: blur(20px);
}

/* Dark Mode Theme */
body.dark-mode {
    --bg-color: #0f0f1a;
    --bg-gradient: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%, #0f0f1a 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-solid: rgba(30, 30, 50, 0.95);

    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --text-accent: #a5b4fc;

    --border-color: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --glass-bg: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.12), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200px 150px;
    animation: sparkle 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes sparkle {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

/* Header - Premium Glassmorphism */
header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(168, 85, 247, 0.4) 50%, rgba(236, 72, 153, 0.3) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: white;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: headerShimmer 6s ease-in-out infinite;
}

@keyframes headerShimmer {

    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
    position: relative;
    letter-spacing: 0.02em;
}

/* Calendar Section - Glassmorphism Card */
.calendar-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    margin-bottom: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-section:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.calendar-section h2 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.calendar-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-light), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.calendar-day.day-header {
    font-weight: 600;
    background: transparent;
    cursor: default;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day.other-month {
    opacity: 0.25;
}

.calendar-day:not(.day-header):not(.other-month):hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.calendar-day.weekend {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.calendar-day.available {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.calendar-day.available:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
    border-color: var(--success-color);
}

.calendar-day.booked {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.4) 0%, rgba(251, 113, 133, 0.35) 100%) !important;
    border-color: rgba(244, 63, 94, 0.7) !important;
    cursor: not-allowed;
}

/* Ensure booked weekends show red, not orange */
.calendar-day.weekend.booked {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.5) 0%, rgba(251, 113, 133, 0.4) 100%) !important;
    border-color: rgba(244, 63, 94, 0.8) !important;
}

.calendar-day.pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(251, 191, 36, 0.15) 100%);
    border-color: rgba(245, 158, 11, 0.5);
    animation: pendingPulse 2s ease-in-out infinite;
}

@keyframes pendingPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    }
}

.calendar-day.today {
    border: 2px solid var(--primary-color);
    font-weight: bold;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.calendar-day.selected {
    background: #3b82f6 !important;
    color: white !important;
    border-color: #2563eb !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    font-weight: bold;
}

.calendar-day.my-request {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.6) 0%, rgba(251, 191, 36, 0.5) 100%) !important;
    border: 2px dashed var(--warning-color) !important;
    color: var(--text-color);
    animation: pulseRequest 2s infinite;
}

@keyframes pulseRequest {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.day-number {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.day-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.legend {
    display: flex;
    gap: 25px;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 6px;
    border: 2px solid;
}

.dot.available {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.2));
    border-color: var(--success-color);
}

.dot.booked {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(251, 113, 133, 0.2));
    border-color: var(--secondary-color);
}

.dot.pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.2));
    border-color: var(--warning-color);
}

/* Weekend Details */
.weekend-details {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    margin-bottom: 35px;
}

/* Events Section */
.events-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    margin-bottom: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-section:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
}

.events-section h2 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.event-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

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

.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.event-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

.event-card-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.event-venue {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.event-travel {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #818cf8;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 5px 10px;
    margin-bottom: 6px;
    font-weight: 500;
}

.travel-route {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.event-price {
    color: var(--success-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.event-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.event-type {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-accent);
    font-weight: 500;
    white-space: nowrap;
}

.event-ticket-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Booking Events Preview */
.booking-events-preview {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(168, 85, 247, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.booking-events-preview h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--text-color);
}

.booking-events-subtitle {
    margin: 0 0 12px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.booking-events-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}

.mini-event-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 12px;
    transition: transform 0.2s;
}

.mini-event-card:hover {
    transform: translateX(3px);
}

.mini-event-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-event-info {
    flex: 1;
    min-width: 0;
}

.mini-event-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-event-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-event-travel {
    color: #818cf8;
    font-weight: 500;
}

.mini-event-more {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-accent);
    font-weight: 500;
    padding: 6px;
}

.event-ticket-link:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(52, 211, 153, 0.25));
    border-color: var(--success-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg-solid);
    margin: 3% auto;
    padding: 30px 35px;
    border-radius: 20px;
    width: 95%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

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

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

.modal-content.admin-panel {
    max-width: 850px;
}

/* Dark mode specific for admin panel */
body.dark-mode .modal-content.admin-panel {
    background: linear-gradient(180deg, rgba(30, 30, 60, 0.98) 0%, rgba(20, 20, 40, 0.99) 100%);
}

.modal-content h2 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    transition: all 0.2s;
}

.close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Forms */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 4px 20px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group select option {
    background: var(--card-bg-solid);
    color: var(--text-color);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.radio-option input[type="radio"] {
    margin-right: 14px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked+.radio-label {
    color: var(--primary-light);
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.12);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.radio-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-label strong {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 600;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f87171, #ef4444);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
}

.btn-admin {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s;
}

.btn-admin:hover {
    opacity: 1;
    border-color: var(--primary-color);
    color: var(--primary-light);
}

.admin-access {
    text-align: center;
    margin-top: 25px;
}

/* Admin Panel */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 22px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 8px 8px 0 0;
}

.tab-btn:hover {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.08);
}

.tab-btn.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.12);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.request-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.request-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.request-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.btn-accept {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.btn-decline {
    background: linear-gradient(135deg, var(--secondary-color), #be123c);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-decline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(244, 63, 94, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Loading */
.loading {
    text-align: center;
    padding: 50px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header {
        padding: 40px 20px;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .calendar-section,
    .events-section,
    .local-guide-section {
        padding: 20px;
        border-radius: 16px;
    }

    .calendar-grid {
        gap: 6px;
    }

    .calendar-day {
        padding: 6px;
        border-radius: 8px;
    }

    .day-number {
        font-size: 0.9rem;
    }

    .day-status {
        font-size: 0.6rem;
    }

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

    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 25px 20px;
        border-radius: 16px;
    }

    .legend {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .guide-tabs {
        gap: 6px;
    }

    .guide-tab-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}



/* Onboarding & Tour Styles */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
}

.tour-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: all;
}

.tour-tooltip {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    max-width: 400px;
    pointer-events: all;
    z-index: 10001;
}

.tour-content {
    padding: 24px;
}

.tour-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.tour-description {
    color: #64748b;
    line-height: 1.6;
}

.tour-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-progress {
    font-size: 0.875rem;
    color: #64748b;
}

.tour-buttons {
    display: flex;
    gap: 8px;
}

.tour-skip,
.tour-prev,
.tour-next {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tour-skip {
    background: transparent;
    color: #64748b;
}

.tour-skip:hover {
    background: var(--bg-color);
}

.tour-prev {
    background: var(--bg-color);
    color: var(--text-color);
}

.tour-prev:hover {
    background: #e2e8f0;
}

.tour-next {
    background: var(--primary-color);
    color: white;
}

.tour-next:hover {
    background: #1e40af;
}

.tour-highlight {
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px rgba(37, 99, 235, 0.5);
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px var(--primary-color), 0 0 20px rgba(37, 99, 235, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px var(--primary-color), 0 0 30px rgba(37, 99, 235, 0.7);
    }
}

/* Tooltips */
.tooltip {
    position: absolute;
    background: #1e293b;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    z-index: 9998;
    pointer-events: none;
    max-width: 250px;
    box-shadow: var(--shadow-lg);
}

.tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #1e293b;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Help Icon */
.help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    cursor: help;
    margin-left: 4px;
    font-weight: bold;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-calendar {
    height: 400px;
}

.skeleton-event {
    height: 150px;
    margin-bottom: 20px;
}

/* Form Validation */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--secondary-color);
}

.form-group.success input,
.form-group.success select {
    border-color: var(--success-color);
}

.form-error {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: 4px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-success {
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 4px;
    display: none;
}

.form-group.success .form-success {
    display: block;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}

.welcome-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.welcome-banner p {
    opacity: 0.9;
    margin-bottom: 16px;
}

.welcome-banner .btn-tour {
    background: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
}

.welcome-banner .btn-tour:hover {
    transform: translateY(-2px);
}

/* Setup Checklist */
.setup-checklist {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.setup-checklist h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--bg-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checklist-item:hover {
    transform: translateX(4px);
}

.checklist-item.completed {
    opacity: 0.6;
}

.checklist-item .checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-item.completed .checkbox {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.checklist-item .checkbox::after {
    content: '✓';
    display: none;
}

.checklist-item.completed .checkbox::after {
    display: block;
}

.checklist-item .item-text {
    flex: 1;
}

.checklist-item .item-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.checklist-item .item-description {
    font-size: 0.875rem;
    color: #64748b;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Info Box */
.info-box {
    background: #eff6ff;
    border-left: 4px solid var(--primary-color);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box.warning {
    background: #fffbeb;
    border-left-color: var(--warning-color);
}

.info-box.error {
    background: #fef2f2;
    border-left-color: var(--secondary-color);
}

.info-box.success {
    background: #f0fdf4;
    border-left-color: var(--success-color);
}

.info-box-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.info-box-description {
    font-size: 0.875rem;
    color: #64748b;
}

/* ==================== LOCAL GUIDE SECTION ==================== */

.local-guide-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    margin-bottom: 35px;
}

.local-guide-section h2 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.local-guide-section h3 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Guide Tabs */
.guide-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.guide-tab-btn {
    padding: 12px 18px;
    border: none;
    background: transparent;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.guide-tab-btn:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-light);
}

.guide-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}



.guide-tab-content {
    display: none !important;
    animation: fadeIn 0.3s ease;
    padding-top: 10px;
}

.guide-tab-content.active {
    display: block !important;
}

.guide-tab-content h3 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.guide-tab-content h4 {
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.tab-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Airports Grid */
.airports-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.airport-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.airport-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.airport-card h4 {
    color: var(--primary-light);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.airport-distance {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transport-option {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.transport-option:hover {
    background: rgba(99, 102, 241, 0.1);
}

.transport-method {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.transport-method strong {
    color: var(--text-color);
}

.transport-duration,
.transport-cost {
    padding: 5px 12px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
}

.transport-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Stations List */
.stations-list {
    display: grid;
    gap: 12px;
}

.station-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.station-name {
    color: var(--text-color);
    margin-bottom: 6px;
}

.station-details {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Underground Section */
.underground-section {
    display: grid;
    gap: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.price-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.price-card h4 {
    color: var(--primary-light);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.price-card p {
    color: var(--text-muted);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.price-card p strong {
    color: var(--text-color);
}

/* How-to Steps */
.how-to-steps {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.step-item {
    display: flex;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.step-item .step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-item .step-content h4 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.step-item .step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tube Lines */
.tube-lines {
    display: grid;
    gap: 12px;
    margin-top: 15px;
}

.tube-line-item {
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.line-name {
    padding-left: 12px;
    margin-bottom: 8px;
}

.tube-line-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: 12px;
}

/* Attractions Grid */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.attraction-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
}

.attraction-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.attraction-card.must-see {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
}

.must-see-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.attraction-card h4 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.attraction-distance {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.attraction-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.attraction-type {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.attraction-cost {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Journey Planner */
.journey-planner {
    display: grid;
    gap: 25px;
}

/* Location Tabs for journey planner */
.location-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.location-tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
}

.location-tab-btn:hover,
.location-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
}

.location-content {
    display: none;
}

.location-content.active {
    display: block;
}

.journey-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.journey-examples {
    display: grid;
    gap: 20px;
}

.journey-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.journey-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

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

.flight-time,
.arrival-time {
    text-align: center;
}

.time-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.time-value.highlight {
    color: var(--success-color);
}

.journey-arrow {
    font-size: 1.5rem;
}

.journey-details p {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.journey-details p strong {
    color: var(--text-color);
}

.journey-notes {
    background: rgba(99, 102, 241, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    color: var(--primary-light);
    font-weight: 500;
}

/* Travel Times */
.travel-times-grid {
    display: grid;
    gap: 15px;
}

.travel-time-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s;
}

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

.destination-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.destination-method {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.destination-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Top Tips */
.tips-grid {
    display: grid;
    gap: 12px;
}

.tip-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.tip-item:hover {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

/* Practical Section */
.practical-section {
    display: grid;
    gap: 20px;
}

.practical-item {
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 10px;
}

.practical-item strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 6px;
}

.practical-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Underground Info */
.underground-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 12px;
}

.price-card {
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.price-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.price-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.how-to-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.step-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 6px;
    color: var(--primary-color);
}

.step-content p {
    color: #64748b;
    font-size: 0.9rem;
}

.tube-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.tube-line-item {
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.line-name {
    font-weight: 600;
    margin-bottom: 6px;
    padding-left: 12px;
}

.tube-line-item p {
    font-size: 0.9rem;
    color: #64748b;
    padding-left: 12px;
}

/* Attractions Grid */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.attraction-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    background: var(--card-bg);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.attraction-card.must-see {
    border-color: var(--warning-color);
    border-width: 2px;
}

.must-see-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warning-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.attraction-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.attraction-distance {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.attraction-desc {
    margin-bottom: 12px;
    color: #64748b;
    font-size: 0.9rem;
}

.attraction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.attraction-type {
    color: var(--primary-color);
}

.attraction-cost {
    color: var(--success-color);
    font-weight: 600;
}

/* Practical Info */
.practical-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.practical-item {
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.practical-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 6px;
}

.practical-item p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 4px 0;
}

.emergency-info {
    padding: 16px;
    background: white;
    border-radius: 8px;
}

.emergency-info p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Top Tips */
.top-tips {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 12px;
}

.top-tips h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

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

.tip-item {
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tip-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

/* Journey Planner */
.journey-planner {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.journey-description,
.section-description,
.tab-description {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.journey-examples {
    display: grid;
    gap: 20px;
}

.journey-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    background: white;
    transition: all 0.3s;
}

.journey-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.journey-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 8px;
    margin-bottom: 15px;
}

.flight-time,
.arrival-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.time-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.time-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.time-value.highlight {
    color: var(--success-color);
    font-size: 1.8rem;
}

.journey-arrow {
    font-size: 1.5rem;
    opacity: 0.6;
}

.journey-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.journey-details p {
    font-size: 0.9rem;
    margin: 0;
}

.journey-notes {
    margin-top: 10px;
    padding: 10px;
    background: #fffbeb;
    border-left: 4px solid var(--warning-color);
    border-radius: 4px;
    font-style: italic;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.alternative-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    background: white;
}

.alternative-card h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.alt-notes {
    color: #64748b;
    font-size: 0.9rem;
    margin: 10px 0;
}

.benefits {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.benefits ul {
    margin-top: 8px;
    padding-left: 20px;
}

.benefits li {
    font-size: 0.9rem;
    color: var(--success-color);
    margin-bottom: 4px;
}

/* Travel Times */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.destination-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    background: white;
    transition: all 0.2s;
}

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

.dest-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.dest-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1rem;
    flex: 1;
}

.travel-time {
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.dest-details p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: #64748b;
}

.route-desc {
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
}

/* Football Clubs */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.club-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    background: white;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.club-card.nearest {
    border-color: var(--success-color);
    border-width: 3px;
}

.nearest-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.club-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.stadium-name {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.club-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.club-details p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.club-notes {
    margin-top: 10px;
    padding: 10px;
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-style: italic;
}

/* Hotels Section */
.hotel-category {
    margin-bottom: 50px;
}

.hotel-category h4 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.category-subtitle {
    color: var(--muted-color);
    margin-bottom: 25px;
    font-size: 15px;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.hotel-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.hotel-header h5 {
    margin: 0;
    font-size: 18px;
    color: var(--text-color);
    flex: 1;
    min-width: 150px;
}

.hotel-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.price-badge {
    background: var(--success-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.category-badge {
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.hotel-rating {
    font-size: 18px;
    margin-bottom: 15px;
}

.hotel-details {
    margin-top: 15px;
}

.hotel-details p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-color);
}

.hotel-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.hotel-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #64748b;
}

.hotel-tip {
    margin-top: 15px;
    padding: 12px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    font-size: 14px;
    color: #92400e;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.alternative-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.alternative-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alternative-card h5 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: var(--primary-color);
}

.price-range {
    font-size: 16px;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 12px;
}

.alternative-card p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Location Tabs (within Journey Planner) */
.location-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.location-tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.location-tab-btn:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

.location-tab-btn.active {
    background: var(--success-color);
    color: white;
}

.location-content {
    display: none;
}

.location-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Journey Steps */
.journey-steps {
    margin: 10px 0;
    padding-left: 15px;
}

.journey-steps .step {
    margin: 5px 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Car Journey */
.car-journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.car-journey-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    background: white;
}

.car-journey-card h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.car-notes {
    margin-top: 10px;
    padding: 10px;
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-style: italic;
}

/* Benefits and Warnings */
.benefits-warnings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Comparison Table */
.comparison-table {
    margin-top: 15px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--bg-color);
}

.recommendation {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    font-weight: 600;
    color: var(--text-color);
}

/* Settings Section */
.settings-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-section h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.settings-description {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Email Setup Wizard */
.wizard-step {
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-header h5 {
    margin: 0;
    color: var(--primary-color);
}

.step-content {
    padding: 20px;
}

.step-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.step-content ol li {
    margin: 8px 0;
    line-height: 1.6;
}

.step-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.step-content a:hover {
    color: #1e40af;
}

.step-content small {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 5px;
}

#gmail-setup-form .form-group {
    margin-bottom: 20px;
}

#save-gmail-config {
    margin-top: 20px;
}

/* Feature Management */
.features-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-category {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-category h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.feature-category small {
    color: #64748b;
    display: block;
    margin-bottom: 15px;
}

.feature-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.feature-toggle:hover {
    background: #e0f2fe;
    transform: translateX(4px);
}

.feature-info {
    flex: 1;
}

.feature-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.feature-desc {
    font-size: 0.875rem;
    color: #64748b;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--success-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

.toggle-slider:hover {
    background-color: #94a3b8;
}

input:checked+.toggle-slider:hover {
    background-color: #15803d;
}

/* Feature Actions */
.feature-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.feature-actions .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.feature-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.feature-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.feature-status.success {
    background: #dcfce7;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.feature-status.error {
    background: #fee2e2;
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

/* ==================== ANALYTICS DASHBOARD ==================== */

.analytics-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.analytics-controls label {
    font-weight: 600;
    color: var(--text-color);
}

.analytics-controls select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

/* Metrics Cards */
.analytics-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transition: transform 0.2s;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.analytics-card.full-width {
    grid-column: 1 / -1;
}

.analytics-card h4 {
    margin: 0 0 20px 0;
    color: var(--text-color);
    font-size: 18px;
}

.chart-container {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

/* Bar Chart */
.chart-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    background: #f8fafc;
}

.chart-bar-label {
    min-width: 150px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.chart-bar-container {
    flex: 1;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.chart-bar-value {
    min-width: 50px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

/* Activity Feed */
.activity-feed {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.activity-item:hover {
    background: #f8fafc;
}

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

.activity-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
}

.activity-event {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.activity-element {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}

.activity-time {
    font-size: 12px;
    color: #94a3b8;
}

/* Analytics Actions */
.analytics-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: #fef3c7;
    border-radius: 12px;
}

.analytics-actions .help-text {
    color: #92400e;
    font-size: 14px;
}

/* Daily Activity Timeline */
.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

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

.timeline-date {
    font-weight: 600;
    color: var(--text-color);
}

.timeline-bar-container {
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.timeline-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), #10b981);
    border-radius: 10px;
}

.timeline-stats {
    text-align: right;
    font-size: 14px;
    color: #64748b;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.calendar-day.other-month {
    opacity: 0.25;
}

.empty-state-text {
    font-size: 16px;
    color: #64748b;
}

/* Responsive Design for Local Guide */
@media (max-width: 768px) {
    .guide-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

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

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

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

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

    .journey-header {
        flex-direction: column;
        gap: 15px;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }

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

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

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

    .location-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .car-journey-grid {
        grid-template-columns: 1fr;
    }

    .benefits-warnings {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }
}

/* Onboarding / First Time Setup Wizard */
.onboarding-progress {
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.progress-step.active .step-circle {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--success-color);
    color: white;
}

.step-label {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 10px;
    align-self: center;
    margin-bottom: 32px;
}

.onboarding-step {
    animation: fadeIn 0.3s ease-in;
}

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

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

.onboarding-nav {
    margin-top: 20px;
}

.btn-text {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 14px;
}

.btn-text:hover {
    text-decoration: none !important;
}

/* Onboarding responsive */
@media (max-width: 768px) {
    .onboarding-progress {
        padding: 0 10px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-label {
        font-size: 10px;
    }

    .progress-line {
        margin: 0 5px;
    }
}

/* Mobile adjustments for calendar */
@media (max-width: 480px) {

    /* Reduce global padding on mobile to allow more space for content */
    main {
        padding: 0 5px !important;
    }

    .calendar-section {
        padding: 15px 5px !important;
        width: 100%;
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }

    .calendar-grid {
        gap: 2px !important;
        margin-bottom: 15px;
        width: 100%;
    }

    .calendar-day {
        padding: 2px !important;
        font-size: 0.8rem !important;
        border-radius: 6px;
        /* Ensure aspect ratio doesn't force width overflow */
        min-height: 0;
    }

    .day-header {
        font-size: 0.7rem !important;
        margin-bottom: 5px;
        padding: 0 !important;
        letter-spacing: 0;
    }

    .calendar-header h3 {
        font-size: 1.1rem;
    }

    .calendar-header {
        margin-bottom: 15px;
        padding: 0 2px;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .event-indicator {
        width: 3px;
        height: 3px;
        bottom: 2px;
    }
}

/* ==================== ADMIN VIEW INTEGRATED STYLING ==================== */

/* Admin Login Container */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 20px;
}

.admin-login-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.admin-login-card h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.admin-login-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.admin-login-card .form-group {
    text-align: left;
}

/* Admin View Tabs */
.admin-tabs-view {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn-view {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.tab-btn-view:hover {
    color: var(--text-color);
    background: rgba(99, 102, 241, 0.1);
}

.tab-btn-view.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Tab Content */
.tab-content-view {
    display: none;
}

.tab-content-view.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

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

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

/* Admin Cards */
.admin-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.admin-card h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-weight: 600;
}

.admin-card .card-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Settings Sections in View */
.settings-section h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.settings-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Responsive Admin View */
@media (max-width: 768px) {
    .admin-tabs-view {
        padding: 10px;
        gap: 6px;
    }

    .tab-btn-view {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .admin-card {
        padding: 20px;
        border-radius: 16px;
    }

    .admin-login-card {
        padding: 25px;
    }
}

/* View Admin specific override for bg-secondary */
#view-admin {
    --bg-secondary: rgba(0, 0, 0, 0.03);
}

body.dark-mode #view-admin {
    --bg-secondary: rgba(255, 255, 255, 0.05);
}