/* Enhanced Booking Modal Styles */

/* Modal Overlay Enhancement */
.modal.fade {
    backdrop-filter: blur(5px);
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
}
  
/* Modal Container */
.enhanced-modal {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Header */
.enhanced-header {
    background: linear-gradient(135deg, #ed0606 0%, #e7baa6 100%);
    color: white;
    padding: 24px 32px;
    border-bottom: none;
    text-align: center;
    position: relative;
}

.enhanced-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.enhanced-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 1;
    padding: 0;
    margin: 0;
}

.enhanced-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

/* Enhanced Body */
.enhanced-body {
    padding: 32px;
}

.enhanced-booking-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form Group */
.enhanced-form-group {
    position: relative;
}

.enhanced-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Phone Input Container */
.enhanced-phone-input-container {
    display: flex;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
}

.enhanced-phone-input-container:focus-within {
    border-color: #ea0c0c;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
}

.enhanced-phone-input-container.is-valid {
    border-color: #28a745;
    background: white;
}

.enhanced-phone-input-container.is-invalid {
    border-color: #dc3545;
    background: white;
}

.enhanced-country-code {
    background: #ea0c0c;
    color: white;
    padding: 8px 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    font-size: 16px;
}

.country-code-select {
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 8px;
    width: 100%;
    cursor: pointer;
    outline: none;
}

.country-code-select option {
    background: #ea0c0c;
    color: white;
}

.enhanced-phone-input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    background: transparent;
    outline: none;
    color: #333;
}

.enhanced-phone-input::placeholder {
    color: #999;
    font-style: italic;
}

.enhanced-phone-input:focus {
    border: none;
    box-shadow: none;
}

/* Input Hint */
.enhanced-input-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Validation Messages */
.enhanced-error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
    display: none;
    align-items: center;
    gap: 6px;
}

.enhanced-error-message.d-block {
    display: flex !important;
}

.enhanced-success-message {
    color: #28a745;
    font-size: 13px;
    margin-top: 8px;
    display: none;
    align-items: center;
    gap: 6px;
}

.enhanced-success-message.d-block {
    display: flex !important;
}

/* Enhanced Submit Button */
.enhanced-submit-btn {
    background: linear-gradient(135deg, #fb0808 0%, #de1212 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    height: auto;
    min-height: 56px;
}

.form-group {
    margin-bottom: 0px !important;
}

.enhanced-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.enhanced-submit-btn:active {
    transform: translateY(0);
}

.enhanced-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.enhanced-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.enhanced-submit-btn:hover::before {
    left: 100%;
}

.enhanced-loading-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Security Info */
.enhanced-security-info {
    background: #f0f8ff;
    border: 1px solid #e6f3ff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.enhanced-security-info i {
    color: #f60e0e;
    font-size: 18px;
    flex-shrink: 0;
}

.enhanced-security-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 480px) {
    .enhanced-modal {
        margin: 20px;
        border-radius: 16px;
    }
    
    .enhanced-header {
        padding: 20px 24px;
    }
    
    .enhanced-title {
        font-size: 20px;
    }
    
    .enhanced-body {
        padding: 24px;
    }
    
    .enhanced-country-code {
        min-width: 80px;
        padding: 16px 12px;
    }
    
    .enhanced-submit-btn {
        padding: 16px 24px;
        font-size: 14px;
    }
}

/* Bootstrap Override for Modal Dialog */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

/* Animation for modal close */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}



