/* Booking Form Styles */
.booking-tour-info {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
    border: none;
}

.total-price-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-summary {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.price-summary:hover {
    border-color: #4a6cf7;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.1);
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.25);
}

#quantity {
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-outline-primary {
    border-color: #4a6cf7;
    color: #4a6cf7;
}

.btn-outline-primary:hover {
    background-color: #4a6cf7;
    color: white;
}

.invalid-feedback {
    font-size: 0.875rem;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

.was-validated .form-control:valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

/* SweetAlert2 Customization */
.swal2-popup {
    border-radius: 20px !important;
    border: 2px solid #4a6cf7;
}

.swal2-title {
    color: #4a6cf7 !important;
}

.swal2-confirm {
    background-color: #4a6cf7 !important;
    border-radius: 10px !important;
    padding: 10px 30px !important;
}

.swal2-cancel {
    border-radius: 10px !important;
    padding: 10px 30px !important;
}

/* Animation for price update */
@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-updated {
    animation: priceUpdate 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-tour-info .d-flex {
        flex-direction: column;
    }
    
    .total-price-container {
        margin-top: 15px;
        width: 100%;
    }
    
    .price-summary .row {
        flex-direction: column;
    }
    
    .price-summary .col-6 {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Booking Form Styles */
.booking-tour-info {
    background: linear-gradient(135deg, #4a6cf7 0%, #1e3a8a 100%);
}

.total-price-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.price-summary {
    border: 2px solid #e9ecef;
}

/* Modal adjustments */
.modal-lg {
    max-width: 800px;
}

@media (max-width: 768px) {
    .modal-lg {
        margin: 10px;
    }
    
    .booking-tour-info .d-flex {
        flex-direction: column;
        gap: 15px;
    }
}