/* Booking Page Specific Styles */
.booking-page-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.booking-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 80px; /* Account for pill header */
}

.booking-wrapper {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* Form Side */
.booking-form-container {
    flex: 3;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--glass-border);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-header h2 span {
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Form Grid */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.booking-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.booking-form .required {
    color: var(--accent-cyan);
}

.input-icon {
    position: relative;
    width: 100%;
}

.input-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
    z-index: 2;
    transition: var(--transition-fast);
}

/* Input Fields - Premium Glass Treatment */
.input-icon input,
.input-icon select {
    padding-left: 50px !important;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--input-bg);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.booking-form textarea {
    resize: vertical;
    padding: 16px;
}

::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Focus State */
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--glass-border-highlight);
    background: var(--input-bg-focus);
    box-shadow: none;
}

/* Highlight icon on focus */
.input-icon input:focus + i, /* Sibling selector assumes icon is after input, but it's before. Fix below */
.booking-form input:focus ~ i,
.booking-form select:focus ~ i {
    color: var(--accent-cyan);
}
/* Let's use focus-within for the icon */
.input-icon:focus-within i {
    color: var(--accent-cyan);
}

/* Align rows perfectly */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.half-width {
    flex: 1;
}

/* Dropdown styling */
.booking-form select option {
    background: var(--bg-base);
    color: var(--text-primary);
}

/* Submit Button - Magnetic / Premium */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-slow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    margin-top: 15px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.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: 0.5s;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn i {
    font-size: 1.4rem;
}

.form-footer-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-footer-note i {
    margin-right: 5px;
}

/* Info Panel Side */
.booking-info-panel {
    flex: 2;
    background: rgba(255, 255, 255, 0.01); /* Deep transparency */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow inside the panel */
.booking-info-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1), transparent 60%);
    z-index: 0;
}

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 600;
}

.benefits-list {
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.benefits-list li strong {
    color: var(--text-primary);
}

.benefits-list li i {
    color: var(--accent-cyan);
    font-size: 1.3rem;
    margin-top: 3px;
    text-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.3);
}

.contact-card {
    background: transparent;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--card-hover-bg);
    color: var(--text-primary);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid var(--glass-border);
}

.call-btn:hover {
    background: var(--accent-electric);
    border-color: var(--accent-electric);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--accent-purple-rgb), 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .booking-section { padding: 130px 16px 60px; }
    .booking-wrapper { flex-direction: column; }
    .booking-form-container {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 40px 24px;
    }
    .booking-info-panel { padding: 40px 24px; }
    .form-header h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .booking-section { padding: 110px 12px 48px; }
    .booking-form-container { padding: 30px 16px; }
    .booking-info-panel { padding: 30px 16px; }
    .form-header h2 { font-size: 1.7rem; }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .booking-info-panel .highlights li { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .booking-section { padding: 100px 10px 40px; }
    .booking-form-container { padding: 22px 12px; }
    .booking-info-panel { padding: 22px 12px; }
    .form-header h2 { font-size: 1.4rem; }
    .form-header p { font-size: 0.9rem; }
}

/* Helper Utilities */
.hidden {
    display: none !important;
}

/* Chat Room Specific Styles */
.chat-room {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin-bottom: 5px;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-electric));
    color: white;
    border-bottom-right-radius: 4px;
}
.chat-msg.pandit {
    align-self: flex-start;
    background: var(--input-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 4px;
}
.chat-msg-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    align-self: flex-end;
    margin-top: 4px;
}
.chat-msg.pandit .chat-msg-time {
    color: var(--text-secondary);
}
.chat-close-btn:hover {
    color: var(--accent-electric) !important;
    transform: scale(1.1);
}
.send-chat-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}
