﻿/* Estilos para el panel de filtro de showrooms */
.showroom-filter-panel {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.showroom-list {
    max-height: 300px;
    overflow-y: auto;
}

.showroom-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .showroom-item:last-child {
        border-bottom: none;
    }

    .showroom-item:hover {
        background-color: #f8f9fa;
    }

    .showroom-item.active {
        background-color: #e9f7fe;
        border-left: 3px solid #00e1c5;
    }

.showroom-name {
    font-weight: 500;
    color: #333;
}

.showroom-address {
    font-size: 0.8rem;
    color: #777;
    margin-top: 4px;
}

/* Animación para mostrar/ocultar el panel de filtro */
.showroom-filter-panel {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para el botón de búsqueda */
.input-group .btn-outline-secondary {
    border-color: #ced4da;
}

/* Estilos para el estado vacío */
.showroom-list .text-center {
    color: #777;
    font-size: 0.9rem;
    padding: 20px 0;
}

/* Estilos para el spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Estilos para el botón seleccionado */
.selected-filter .btn-primary {
    background-color: #00e1c5; /* Color turquesa/verde según tu diseño */
    border-color: #00e1c5;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: white;
    border-radius: 30px;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 576px) {
    .showroom-filter-panel {
        max-height: 350px;
    }

    .showroom-list {
        max-height: 250px;
    }
}
