* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --background-color: #f1f5f9;
    --text-color: #1e293b;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
}

.app-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styles */
.sidebar {
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    border-right: 1px solid #e2e8f0;
}

.trip-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--background-color);
}

.trip-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.trip-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat i {
    color: var(--primary-color);
}

/* Day Navigation */
.day-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

.nav-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.nav-btn:hover {
    transform: scale(1.1);
}

.current-day {
    font-weight: bold;
    font-size: 18px;
}

/* Daily Schedule */
.daily-schedule {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
    border-left: 4px solid var(--primary-color);
}

.schedule-item:hover {
    transform: translateX(5px);
}

.schedule-time {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.schedule-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.schedule-description {
    font-size: 14px;
    color: #64748b;
}

/* Location Details */
.location-details {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.location-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.location-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-section {
    border-top: 1px solid var(--background-color);
    padding-top: 15px;
}

.info-section h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

#map {
    flex-grow: 1;
    width: 100%;
    z-index: 1;
}

/* Quick Stats */
.quick-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.stat-card {
    background: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card i {
    font-size: 24px;
    color: var(--primary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .app-container {
        grid-template-columns: 350px 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50vh;
        z-index: 2;
    }

    .main-content {
        height: 50vh;
    }

    .quick-stats {
        display: none;
    }
}