/**
 * TBS Zaytun Booking Form - Main Styles
 */

/* Overlay */
.tbs_booking_popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tbs_booking_popup_overlay.tbs_active {
    opacity: 1;
    visibility: visible;
}

/* Popup Content */
.tbs_booking_popup_content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 30px;
    animation: tbs_slideIn 0.4s ease;
}

@keyframes tbs_slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.tbs_close_btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

/* Header */
.tbs_popup_header h2 {
    margin: 0 0 10px;
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.tbs_popup_header p {
    color: #7f8c8d;
    margin-bottom: 25px;
}

/* Form Groups */
.tbs_form_group {
    margin-bottom: 15px;
}
.tbs_form_group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}
.tbs_form_group input[type="text"],
.tbs_form_group input[type="tel"],
.tbs_form_group input[type="email"],
.tbs_form_group input[type="date"],
.tbs_form_group input[type="number"],
.tbs_form_group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.tbs_form_group input:focus,
.tbs_form_group textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Radio Groups */
.tbs_radio_group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.tbs_radio_group label {
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
}

/* Submit Button */
.tbs_submit_btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.tbs_submit_btn:hover {
    background: #2980b9;
}
.tbs_submit_btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Response Message */
#tbs_booking_message {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}
.tbs_message_success { color: #27ae60; }
.tbs_message_error { color: #c0392b; }
