/* Estilos para las fotos de vehículos en la tabla */

.vehiculo-foto {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vehiculo-foto:hover {
    transform: scale(1.1);
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.vehiculo-foto-sin-imagen {
    opacity: 0.6;
    filter: grayscale(100%);
}

.vehiculo-foto-sin-imagen:hover {
    opacity: 0.8;
    filter: grayscale(50%);
}

/* Estilos para la tabla de vehículos */
.table th, .table td {
    vertical-align: middle;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .vehiculo-foto {
        width: 40px;
        height: 40px;
    }
    
    .table th, .table td {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* Animación de carga para fotos */
.vehiculo-foto-cargando {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
