/* Custom styles for Fountain Drink Finder */

body {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 0.375rem;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.alert {
    border-radius: 0.375rem;
}

/* Custom animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Custom switch styling */
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #6c757d;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

.form-switch .form-check-input:checked {
    background-color: #0d6efd;
    background-position: right center;
}

/* Modal improvements */
.modal-header {
    background-color: #343a40;
    color: white;
}

.modal-title {
    margin-bottom: 0;
}

/* Restaurant list styling */
.restaurant-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.restaurant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.restaurant-card .card-title {
    color: #0d6efd;
    font-weight: 600;
}

.restaurant-card .badge {
    font-size: 0.75em;
}

/* Map container styling */
#map {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
}

/* Progress text styling */
#progresstext {
    font-weight: 500;
}

#maplegend {
    font-weight: 500;
}
