/* Custom styles for Road Scholar */

body {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.trip-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: white;
}

.trip-item.classified {
    border-left: 4px solid;
}

.trip-item input[type="checkbox"] {
    transform: scale(1.2);
}

.trip-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.saved-location-item {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: white;
}

/* Google Maps Containers */
.map-container {
    height: 400px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    position: relative;
}

.trips-map-container {
    height: 500px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    position: relative;
}

.location-picker-map {
    height: 300px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    position: relative;
}

/* Map info windows */
.map-info-window {
    max-width: 250px;
    font-family: inherit;
}

.map-info-window h6 {
    margin-bottom: 5px;
    color: #495057;
}

.map-info-window .trip-details {
    font-size: 0.875rem;
    color: #6c757d;
}

.map-info-window .trip-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

/* Trip list highlighting */
.trip-item.highlighted {
    background-color: #e3f2fd !important;
    border-color: #2196f3 !important;
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Map loading indicator */
.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .trip-item {
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 300px;
    }
}