
.booking-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.booking-overlay.active {
    display: flex;
}

.booking-overlay.modal-show {
    opacity: 1;
}

.booking-modal {
    background: linear-gradient(168deg, #13131a 0%, #0e0e12 100%);
    border: 1px solid rgba(233, 185, 73, 0.15);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 0;
    position: relative;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(233, 185, 73, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-overlay.modal-show .booking-modal {
    transform: scale(1) translateY(0);
}

.booking-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ccc;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    z-index: 10;
}

.booking-close:hover {
    color: #fff;
    border-color: var(--accent-gold);
    background: rgba(233, 185, 73, 0.15);
}

.booking-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    color: var(--text-muted);
}

.booking-tab i {
    font-size: 1.3rem;
    margin-bottom: 2px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.booking-tab-label {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
}

.booking-tab-desc {
    font-size: 0.72rem;
    opacity: 0.6;
    letter-spacing: 0.01em;
}

.booking-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: transparent;
    border-radius: 2px 2px 0 0;
    transition: background 0.25s ease;
}

.booking-tab:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.booking-tab:hover i {
    transform: translateY(-1px);
}

.booking-tab.active {
    color: var(--accent-gold);
}

.booking-tab.active i {
    color: var(--accent-gold);
}

.booking-tab.active .booking-tab-label {
    color: var(--text-primary);
}

.booking-tab.active .booking-tab-desc {
    opacity: 0.8;
    color: var(--text-secondary);
}

.booking-tab.active::after {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.booking-panel {
    display: none;
    padding: 28px 32px 32px;
}

.booking-panel.active {
    display: block;
    animation: panelFadeIn 0.3s ease;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-header {
    text-align: center;
    margin-bottom: 24px;
}

.booking-header h2 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.booking-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 420px;
    margin: 0 auto;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.booking-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.booking-field .required {
    color: var(--accent-gold);
    font-weight: 700;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-secondary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.booking-field input:hover,
.booking-field select:hover,
.booking-field textarea:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.06);
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(233, 185, 73, 0.15);
    background-color: rgba(255, 255, 255, 0.06);
}

.booking-field input.valid,
.booking-field select.valid,
.booking-field textarea.valid {
    border-color: #10b981;
}

.booking-field input.invalid,
.booking-field select.invalid,
.booking-field textarea.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.booking-field textarea {
    resize: vertical;
    min-height: 100px;
}

.booking-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23DAA520' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding-right: 38px;
}

.booking-field select:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.booking-field select:focus {
    background-color: rgba(255, 255, 255, 0.06);
}

.booking-field select option {
    background: #171d29;
    color: var(--text-primary);
    padding: 8px;
}

.booking-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

.booking-status {
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    margin-top: 4px;
}

.booking-status.success {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.booking-status.error {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.booking-submit {
    width: 100%;
    margin-top: 8px;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e65c00 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.05em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.booking-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(233, 185, 73, 0.35);
    filter: brightness(1.08);
}

.booking-submit:active:not(:disabled) {
    transform: translateY(0);
}

.booking-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-submit i {
    font-size: 0.9rem;
}

.submit-text,
.submit-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-modal::-webkit-scrollbar {
    width: 5px;
}

.booking-modal::-webkit-scrollbar-track {
    background: transparent;
}

.booking-modal::-webkit-scrollbar-thumb {
    background: rgba(233, 185, 73, 0.25);
    border-radius: 3px;
}

.booking-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 185, 73, 0.45);
}

@media (max-width: 640px) {
    .booking-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .booking-modal {
        width: 100%;
        max-width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .booking-modal::before {
        content: "";
        display: block;
        width: 44px;
        height: 4px;
        margin: 10px auto 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.22);
    }

    html.rc-light .booking-modal::before {
        background: rgba(20, 24, 40, 0.28);
    }

    .booking-overlay.modal-show .booking-modal {
        transform: translateY(0);
    }

    .booking-tabs {
        gap: 0;
    }

    .booking-tab {
        padding: 13px 8px 12px;
    }

    .booking-tab i {
        font-size: 1.05rem;
    }

    .booking-tab-label {
        font-size: 0.85rem;
    }

    .booking-tab-desc {
        font-size: 0.65rem;
    }

    .booking-panel {
        padding: 18px 16px calc(24px + env(safe-area-inset-bottom));
    }

    .booking-header {
        margin-bottom: 14px;
    }

    .booking-header h2 {
        font-size: 1.25rem;
    }

    .booking-header p {
        font-size: 0.8rem;
    }

    .booking-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-row-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .booking-field {
        margin-bottom: 10px;
        gap: 5px;
    }

    .booking-field label {
        font-size: 0.72rem;
    }

    .booking-field input,
    .booking-field select,
    .booking-field textarea {
        padding: 13px 14px;
        font-size: 16px;
        border-radius: 12px;
    }

    .booking-submit {
        padding: 15px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
        position: sticky;
        bottom: 0;
        z-index: 2;
    }

    .booking-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .booking-tab-desc {
        display: none;
    }

    .booking-tab {
        padding: 14px 8px 12px;
    }

    .booking-panel {
        padding: 16px 14px calc(24px + env(safe-area-inset-bottom));
    }
}

.booking-field input:focus-visible,
.booking-field select:focus-visible,
.booking-field textarea:focus-visible,
.booking-submit:focus-visible,
.booking-close:focus-visible,
.booking-tab:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .booking-overlay,
    .booking-modal,
    .booking-close,
    .booking-tab,
    .booking-field input,
    .booking-field select,
    .booking-field textarea,
    .booking-submit,
    .booking-panel.active {
        transition: none;
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .booking-modal {
        border: 2px solid var(--text-primary);
    }

    .booking-field input,
    .booking-field select,
    .booking-field textarea {
        border: 2px solid var(--text-primary);
    }

    .booking-tab.active::after {
        height: 3px;
    }

    .booking-field label {
        color: #fff;
    }
}

.privacy-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.privacy-link:hover,
.privacy-link:focus-visible {
    color: var(--accent-gold);
}

.privacy-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.privacy-overlay.active {
    display: flex;
}

.privacy-overlay.modal-show {
    opacity: 1;
}

.privacy-modal {
    background: linear-gradient(168deg, #13131a 0%, #0e0e12 100%);
    border: 1px solid rgba(233, 185, 73, 0.15);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: 20px;
    position: relative;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(233, 185, 73, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: scale(0.96) translateY(12px);
    transition: transform 0.3s ease;
}

.privacy-overlay.modal-show .privacy-modal {
    transform: scale(1) translateY(0);
}

.privacy-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ccc;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.privacy-close:hover {
    color: #fff;
    border-color: var(--accent-gold);
    background: rgba(233, 185, 73, 0.15);
}

.privacy-close:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.privacy-header {
    padding: 28px 32px 0;
}

.privacy-header h2 {
    margin: 0;
    color: var(--accent-gold);
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.privacy-body {
    padding: 12px 32px 32px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.65;
}

.privacy-updated {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    margin-top: 4px;
}

.privacy-body h3 {
    color: #fff;
    font-size: 1.05rem;
    margin: 22px 0 8px;
}

.privacy-body ul {
    margin: 8px 0 12px;
    padding-left: 20px;
}

.privacy-body li {
    margin-bottom: 6px;
}

.privacy-body a {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-modal::-webkit-scrollbar {
    width: 5px;
}

.privacy-modal::-webkit-scrollbar-track {
    background: transparent;
}

.privacy-modal::-webkit-scrollbar-thumb {
    background: rgba(233, 185, 73, 0.25);
    border-radius: 3px;
}

@media (max-width: 640px) {
    .privacy-overlay {
        padding: 8px;
        align-items: flex-end;
    }

    .privacy-header {
        padding: 24px 20px 0;
    }

    .privacy-body {
        padding: 10px 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .privacy-overlay,
    .privacy-modal,
    .privacy-close,
    .privacy-link {
        transition: none;
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .privacy-modal {
        border: 2px solid var(--text-primary);
    }
}

html.rc-light .booking-modal,
html.rc-light .privacy-modal {
    background: linear-gradient(168deg, #ffffff 0%, #eef2f8 100%);
    border-color: var(--border-color);
    box-shadow:
        0 24px 80px rgba(20, 24, 40, 0.22),
        0 0 0 1px rgba(233, 185, 73, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
html.rc-light .booking-close,
html.rc-light .privacy-close {
    background: rgba(20, 24, 40, 0.04);
    border-color: rgba(20, 24, 40, 0.12);
    color: var(--text-secondary);
}
html.rc-light .booking-close:hover,
html.rc-light .privacy-close:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
    background: rgba(233, 185, 73, 0.16);
}
html.rc-light .booking-tabs {
    border-bottom-color: var(--border-color);
}
html.rc-light .booking-tab:hover {
    background: rgba(20, 24, 40, 0.03);
}
html.rc-light .booking-field input,
html.rc-light .booking-field select,
html.rc-light .booking-field textarea {
    background-color: rgba(20, 24, 40, 0.035);
    border-color: var(--border-color);
}
html.rc-light .booking-field input:hover,
html.rc-light .booking-field select:hover,
html.rc-light .booking-field textarea:hover {
    background-color: rgba(20, 24, 40, 0.055);
    border-color: var(--border-color-hover);
}
html.rc-light .booking-field input:focus,
html.rc-light .booking-field select:focus,
html.rc-light .booking-field textarea:focus {
    background-color: rgba(20, 24, 40, 0.055);
    border-color: var(--accent-gold);
}
html.rc-light .booking-field select {
    background-color: rgba(20, 24, 40, 0.035);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a6108' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
html.rc-light .booking-field select option {
    background: #ffffff;
}
html.rc-light .booking-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
}
html.rc-light .privacy-body {
    color: var(--text-secondary);
}
html.rc-light .privacy-updated {
    color: var(--text-muted);
}
html.rc-light .privacy-body h3 {
    color: var(--text-primary);
}
html.rc-light .privacy-link {
    color: var(--text-muted);
}
