﻿/* Estilos para el selector horizontal de showrooms */
.showroom-selector-container {
    position: relative;
    padding: 10px 0;
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
}

.showroom-selector {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 15px;
}

.showroom-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    padding: 5px 0;
    flex-grow: 1;
    margin-right: 10px;
}

    .showroom-scroll::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari and Opera */
    }

.showroom-pill {
    display: flex;
    align-items: center;
    background-color: #00e1c5;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    margin-right: 10px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .showroom-pill.active {
        background-color: #00e1c5;
    }

    .showroom-pill:not(.active) {
        background-color: #e0e0e0;
        color: #666;
    }

    .showroom-pill i {
        font-size: 12px;
    }

.filter-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-color: #ddd;
    color: #666;
    background-color: white;
}

/* Sección de título de showroom */
.showroom-header {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.showroom-title {
    display: flex;
    align-items: center;
    color: #4169e1; /* Color azul para el texto */
    font-size: 1rem;
    font-weight: 500;
}

    .showroom-title .text-primary {
        color: #4169e1 !important;
    }

    .showroom-title i {
        font-size: 16px;
    }

/* Estilos para los elementos de display */
.audit-item {
    background-color: white;
    border-bottom: 1px solid #eee;
    margin-bottom: 1px;
}

.audit-details {
    padding: 10px 15px;
}

.display-info-row {
    display: flex;
    align-items: center;
}

.display-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
}

    .display-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

    .no-image i {
        font-size: 24px;
    }

.display-info {
    flex-grow: 1;
}

.display-chevron {
    color: #263238;
    font-size: 20px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* Mejoras para labels y valores */
.audit-label {
    color: #666;
    font-weight: 500;
    font-size: 0.85rem;
}

.audit-value {
    color: #333;
    font-size: 0.9rem;
}

    .audit-value.text-success {
        color: #4CAF50 !important;
    }

/* Panel de filtro de showrooms (cuando está abierto) */
.showroom-filter-panel {
    position: absolute;
    top: 60px;
    left: 15px;
    right: 15px;
    z-index: 10;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showroom-list {
    max-height: 300px;
    overflow-y: auto;
}

.showroom-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

    .showroom-item:last-child {
        border-bottom: none;
    }

    .showroom-item:hover {
        background-color: #f9f9f9;
    }

    .showroom-item.active {
        background-color: #f0f7ff;
        border-left: 3px solid #4169e1;
    }

.showroom-name {
    font-weight: 500;
    color: #333;
}

.showroom-address {
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

/* Ajustes para la acción de botón */
.action-button {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 100;
}

    .action-button .btn-primary {
        background-color: #4169E1;
        border-color: #4169E1;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

        .action-button .btn-primary i {
            font-size: 24px;
        }

/* Ajustes responsivos */
@media (max-width: 576px) {
    .audit-label {
        font-size: 0.8rem;
    }

    .audit-value {
        font-size: 0.85rem;
    }

    .display-image {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
}
