/* Booking Form Modal Styles */

.booking-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.booking-modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    max-height: 95vh;
    overflow-y: auto;
}

.booking-modal-header {
    background: linear-gradient(135deg, #6B5B95, #8B7AB8);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.booking-modal-header h2 {
    margin: 0 0 15px 0;
    font-size: 1.8em;
    font-weight: 700;
}

.booking-package-info {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.booking-package-info p {
    margin: 5px 0;
    font-size: 1.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-package-info strong {
    color: #FFD700;
}

.booking-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.booking-modal-close:hover,
.booking-modal-close:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

[dir="rtl"] .booking-modal-close {
    right: auto;
    left: 25px;
}

.booking-modal-body {
    padding: 30px;
}

.booking-form-group {
    margin-bottom: 25px;
}

.booking-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
    font-size: 1.05em;
}

.booking-form-group label i {
    margin-right: 8px;
    color: #6B5B95;
    width: 20px;
}

[dir="rtl"] .booking-form-group label i {
    margin-right: 0;
    margin-left: 8px;
}

.booking-form-group input,
.booking-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.booking-form-group input:focus,
.booking-form-group select:focus {
    outline: none;
    border-color: #6B5B95;
    box-shadow: 0 0 0 3px rgba(107, 91, 149, 0.1);
}

.booking-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.booking-form-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.booking-form-group small {
    display: block;
    margin-top: 5px;
    color: #7F8C8D;
    font-size: 0.9em;
}

.booking-form-required {
    color: #E74C3C;
}

.booking-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #F0F0F0;
}

.booking-btn-submit {
    flex: 1;
    padding: 15px 30px;
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.booking-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.booking-btn-submit i {
    font-size: 1.3em;
}

.booking-btn-cancel {
    padding: 15px 30px;
    background: #95A5A6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-btn-cancel:hover {
    background: #7F8C8D;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .booking-modal-header {
        padding: 20px;
    }
    
    .booking-modal-header h2 {
        font-size: 1.4em;
    }
    
    .booking-modal-body {
        padding: 20px;
    }
    
    .booking-form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form-dates {
        grid-template-columns: 1fr;
    }
    
    .booking-form-actions {
        flex-direction: column-reverse;
    }
    
    .booking-btn-submit,
    .booking-btn-cancel {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .booking-modal-header h2 {
        font-size: 1.2em;
    }
    
    .booking-package-info p {
        font-size: 0.95em;
    }
}

/* RTL Support */
[dir="rtl"] .booking-form-group input,
[dir="rtl"] .booking-form-group select {
    text-align: right;
}

/* Input number styling */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
