/* CSS para Visualização do Mapa de Assentos */
.seat-selection-container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
    background-color: #f8f9fa; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

.vehicle-info { 
    text-align: center; 
    margin-bottom: 20px; 
}

.seat-legend { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-bottom: 20px; 
}

.legend-item { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

.seat-icon { 
    width: 20px; 
    height: 20px; 
    border-radius: 4px; 
    border: 1px solid #ccc; 
}

.seat-icon.available { 
    background-color: #28a745; 
}

.seat-icon.occupied { 
    background-color: #dc3545; 
}

.seat-icon.selected { 
    background-color: #007bff; 
}

/* Estilos dinâmicos para tipos especiais */
.seat-icon.disabled, .seat.disabled { 
    background-color: #6c757d; 
    color: white; 
}

.seat-icon.premium, .seat.premium { 
    background-color: #ffc107; 
    color: #212529; 
}

.seat-icon.economico, .seat.economico { 
    background-color: #17a2b8; 
    color: white; 
}

.selection-counter { 
    text-align: center; 
    margin-bottom: 20px; 
    font-weight: bold; 
}

.seat-map { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
    position: relative; 
    padding: 20px 0; 
}

.vehicle-front, .vehicle-back { 
    width: 100%; 
    text-align: center; 
    padding: 10px; 
    background-color: #e9ecef; 
    border-radius: 5px; 
}

.steering-wheel { 
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    border: 3px solid #343a40; 
    margin: 0 auto 5px; 
}

.seat-row { 
    display: flex; 
    gap: 10px; 
    justify-content: center; 
    align-items: center; 
}

.seat { 
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-color: #28a745; 
    color: white; 
    border-radius: 5px; 
    cursor: pointer; 
    position: relative; 
    transition: all 0.3s ease; 
    border: 2px solid transparent; 
}

.seat:hover { 
    transform: scale(1.1); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); 
}

.seat.occupied { 
    background-color: #dc3545; 
    cursor: not-allowed; 
}

.seat.selected { 
    background-color: #007bff; 
    border-color: #0056b3; 
}

.seat.disabled { 
    background-color: #6c757d; 
    cursor: not-allowed; 
}

.seat.premium { 
    background-color: #ffc107; 
    color: #212529; 
}

.seat.economico { 
    background-color: #17a2b8; 
    color: white; 
}

.seat-number { 
    font-size: 12px; 
    font-weight: bold; 
}

.corridor { 
    width: 20px; 
    height: 40px; 
    background: linear-gradient(to bottom, #e9ecef 0%, #dee2e6 50%, #e9ecef 100%); 
    border-radius: 3px; 
    position: relative; 
}

.corridor::before { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 2px; 
    height: 30px; 
    background-color: #adb5bd; 
}

.seat-placeholder { 
    width: 40px; 
    height: 40px; 
}

.seat-selection-actions { 
    text-align: center; 
    margin-top: 20px; 
}

.seat-selection-actions button { 
    margin: 0 10px; 
}

/* Responsividade */
@media (max-width: 768px) {
    .seat-selection-container { 
        padding: 15px; 
        margin: 10px; 
    }
    
    .seat { 
        width: 35px; 
        height: 35px; 
    }
    
    .seat-number { 
        font-size: 10px; 
    }
    
    .corridor { 
        width: 15px; 
        height: 35px; 
    }
    
    .seat-legend { 
        gap: 10px; 
    }
    
    .legend-item { 
        font-size: 14px; 
    }
}

@media (max-width: 480px) {
    .seat { 
        width: 30px; 
        height: 30px; 
    }
    
    .seat-number { 
        font-size: 9px; 
    }
    
    .corridor { 
        width: 12px; 
        height: 30px; 
    }
    
    .steering-wheel { 
        width: 25px; 
        height: 25px; 
    }
}

/* Animações */
@keyframes seatSelect {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}

.seat.selected {
    animation: seatSelect 0.3s ease-in-out;
}

/* Melhorias visuais */
.vehicle-images img {
    border: 2px solid #dee2e6;
    transition: transform 0.3s ease;
}

.vehicle-images img:hover {
    transform: scale(1.05);
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-bottom: none;
}

.btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.alert {
    border-radius: 10px;
    border: none;
}

