:root {
    --primary: #d97706;
    --primary-2: #f59e0b;
    --accent: #f472b6;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
}

/* Remove global override to prevent SPA breakage */
/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
} */

.booking-online-body {
    background: #ffffff !important;
    color: #111827;
}

.booking-online-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: calc(100vh - 80px);
    /* Adjust for header height approx */
}

.booking-online-side {
    background: url("https://images.unsplash.com/photo-1504805572947-34fad45aed93?w=900&h=1200&fit=crop") center/cover no-repeat;
    position: relative;
    padding: 28px;
    display: flex;
    align-items: center;
}

.booking-online-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 27, 0.45);
}

.booking-side-card {
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at top, rgba(251, 191, 36, 0.18), transparent 60%),
        rgba(17, 24, 39, 0.84);
    border-radius: 18px;
    padding: 22px 20px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    color: #fde68a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-desc {
    margin-top: 12px;
    font-size: 13px;
    color: #e5e7eb;
    line-height: 1.6;
}

.support {
    margin-top: 18px;
}

.support h4 {
    font-size: 13px;
    margin-bottom: 8px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.support-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.booking-online-main {
    padding: 28px 34px;
    background: #ffffff;
}

.booking-online-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.breadcrumb {
    font-size: 26px;
    font-weight: 600;
    color: #111827 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.lookup-btn {
    border: 2px solid rgba(245, 158, 11, 0.55);
    padding: 10px 18px;
    border-radius: 12px;
    background: #fff;
    color: #b45309;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.16);
}

.lookup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.lookup-overlay:target {
    display: flex;
}

.lookup-modal {
    width: min(760px, 96vw);
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 34px 32px;
    position: relative;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    text-align: center;
}

.lookup-modal h2 {
    font-size: 26px;
    color: #111827;
    margin-bottom: 18px;
    font-weight: 700;
}

.lookup-modal label {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.lookup-modal input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    margin-bottom: 22px;
}

.lookup-select,
.lookup-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    margin-bottom: 14px;
    resize: vertical;
}

.required {
    color: #ef4444;
}

.lookup-submit {
    border: none;
    padding: 12px 26px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6d28d9, #ec4899);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    min-width: 180px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lookup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.35);
    border: none;
    cursor: pointer;
}

.lookup-page {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 24px;
}

.lookup-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.45);
    margin: 0 auto 18px;
}

.lookup-brand img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.2);
}

.lookup-brand span {
    font-weight: 700;
    color: #b45309;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
}

.lookup-page h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 28px;
}

.lookup-section {
    margin-bottom: 26px;
}

.lookup-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.lookup-contact {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lookup-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}

.lookup-table {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.lookup-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr 1fr 1fr 1.2fr 1.4fr;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    font-size: 13px;
    color: #111827;
}

.lookup-row:last-child {
    border-bottom: none;
}

.lookup-head {
    font-weight: 700;
    background: #f8fafc;
}

.lookup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lookup-primary {
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.lookup-outline {
    border: 1px solid #7c3aed;
    padding: 8px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #7c3aed;
    font-weight: 600;
    cursor: pointer;
}

.lookup-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 16px 10px 0;
    color: #9ca3af;
}

.lookup-pagination span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.lookup-pagination .page-active {
    border-color: #3b82f6;
    color: #3b82f6;
}

.lookup-home {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

.lookup-search-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 18px;
}

.lookup-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lookup-search-grid label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.lookup-search-grid input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.lookup-search-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.lookup-danger {
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    background: #dc2626;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.lookup-overlay.open {
    display: flex;
}

@media (max-width: 1024px) {
    .lookup-contact {
        grid-template-columns: 1fr;
    }

    .lookup-row {
        grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1fr 1.2fr 1.4fr;
        font-size: 12px;
    }

    .lookup-search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .lookup-table {
        overflow-x: auto;
    }

    .lookup-row {
        min-width: 900px;
    }
}

.stepper {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.step span {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active span {
    background: #2563eb;
    color: #fff;
}

.step-line {
    height: 1px;
    background: #e5e7eb;
}

.booking-form-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 600;
}

.form-field select,
.form-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    color: var(--text);
}

.form-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-payment {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.pricing-board {
    margin-top: 18px;
    background: #fff7ed;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 16px 18px;
    display: none;
}

.pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
}

.pricing-grid {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #f1f5f9;
    margin-bottom: 10px;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-size: 12px;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-label {
    color: #111827;
    font-weight: 600;
}

.pricing-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f97316;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
}

.pricing-note {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #92400e;
    background: #fde68a;
    padding: 6px 10px;
    border-radius: 8px;
}

.pricing-note.highlight {
    background: #fecdd3;
    color: #be123c;
}

.pricing-address {
    font-size: 12px;
    color: #6b7280;
}

.booking-payment p {
    color: var(--muted);
    font-size: 13px;
}

.booking-payment strong {
    display: block;
    font-size: 22px;
    margin-top: 6px;
}

.booking-submit-spinner {
    width: 1.1em;
    height: 1.1em;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: booking-submit-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes booking-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.booking-submit.booking-submit--loading {
    cursor: wait;
    opacity: 0.9;
    pointer-events: none;
}

.booking-submit {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
}

/* Nút phụ (VD: Chọn phòng khác) — tránh hai nút cùng kiểu primary */
a.booking-submit--secondary {
    background: #fff;
    color: var(--primary, #2563eb);
    border: 2px solid var(--primary, #2563eb);
}

a.booking-submit--secondary:hover {
    filter: brightness(0.97);
}

.step.done span {
    background: #e0e7ff;
    color: #2563eb;
}

.step-line.active-line {
    background: #2563eb;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contact-summary,
.contact-map {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.contact-summary h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
}

.contact-timer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
    text-align: center;
}

.contact-timer strong {
    color: #ef4444;
    font-size: 22px;
}

.contact-map iframe {
    width: 100%;
    height: 240px;
    border: none;
    border-radius: 12px;
}

.map-address {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}

.contact-form-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.contact-form-section h2 {
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-grid .full {
    grid-column: 1 / -1;
}

.contact-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.complete-hero {
    text-align: center;
    margin-bottom: 18px;
}

.complete-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.complete-hero h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.complete-hero p {
    font-size: 13px;
    color: var(--muted);
}

.complete-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
}

.complete-grid.single {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.complete-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.complete-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.complete-card h4 {
    font-size: 14px;
    margin: 12px 0 6px;
}

.complete-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-box {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    border: 1px dashed #cbd5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
}

.complete-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 980px) {
    .complete-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .booking-online-layout {
        grid-template-columns: 1fr;
    }

    .booking-online-side {
        min-height: 280px;
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
    }
}