/* Estilos específicos para la página de detalles */
.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.thumbnail-container {
    height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid #28a745;
}

.details-text {
    height: 200px;
    overflow-y: auto;
}

.item-list {
    border-left: 1px solid #dee2e6;
    height: 100%;
}

.item-count {
    font-weight: bold;
    color: #28a745;
}

.time-info {
    border-left: 1px solid #dee2e6;
}

.time-info-item {
    margin-bottom: 15px;
}

.time-info-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.time-info-value {
    font-weight: 600;
}

/* Scrollbar personalizado para los contenedores con scroll */
.thumbnail-container::-webkit-scrollbar,
.details-text::-webkit-scrollbar {
    width: 6px;
}

.thumbnail-container::-webkit-scrollbar-track,
.details-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb,
.details-text::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover,
.details-text::-webkit-scrollbar-thumb:hover {
    background: #28a745;
}

@media (max-width: 991.98px) {
    .main-image, .thumbnail-container {
        height: 300px;
    }
    
    .time-info {
        border-left: none;
        border-top: 1px solid #dee2e6;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .item-list {
        border-left: none;
        border-top: 1px solid #dee2e6;
        margin-top: 20px;
        padding-top: 20px;
    }
}