﻿/* Locations specific styles */

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.location-details .icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

    .service-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-5px);
    }

    .service-item .icon-box {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: var(--bs-primary);
        font-size: 1.5rem;
    }

.location-filter-form {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.branch-card {
    transition: all 0.3s ease;
    height: 100%;
}

    .branch-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    }

.branch-image {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.location-marker {
    width: 40px;
    height: 40px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

    .location-marker.active {
        background-color: var(--bs-danger);
        transform: scale(1.2);
    }

.location-list-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .location-list-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .location-list-item.active {
        background-color: rgba(var(--bs-primary-rgb), 0.2);
        border-left: 4px solid var(--bs-primary);
    }

@media (max-width: 767.98px) {
    .branch-image {
        height: 150px;
    }

    .map-container {
        height: 300px !important;
    }
}
