:root {
    --blue: #0757ad;
    --blue-dark: #073d83;
    --green: #20ad3a;
    --text: #263445;
    --muted: #6f7b88;
    --border: #dce8f4;
    --soft: #f5f9ff;
    --white: #fff;
    --shadow: 0 20px 55px rgba(16, 65, 124, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Trebuchet MS", Arial, sans-serif;
    background:
        radial-gradient(circle at 8% 18%, rgba(48, 190, 230, .22) 0 72px, transparent 74px),
        radial-gradient(circle at 92% 12%, rgba(32, 173, 58, .14) 0 95px, transparent 98px),
        radial-gradient(circle at 80% 78%, rgba(7, 87, 173, .13) 0 130px, transparent 134px),
        linear-gradient(180deg, #e5f8ff 0, #f2fbff 50%, #dff6ff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before,
body::after {
    position: fixed;
    left: 0;
    width: 100%;
    pointer-events: none;
    content: "";
}

body::before {
    top: 0;
    z-index: 0;
    height: 100%;
    opacity: .55;
    background-image:
        radial-gradient(circle, transparent 0 27px, rgba(21, 164, 216, .24) 29px, transparent 31px),
        radial-gradient(circle, transparent 0 18px, rgba(255, 255, 255, .9) 20px, transparent 22px);
    background-size: 220px 170px, 150px 130px;
    background-position: 18px 128px, 90px 220px;
    animation: bookingWaterDrift 20s linear infinite;
}

body::after {
    bottom: -2px;
    z-index: 0;
    height: 128px;
    display: block;
    opacity: .5;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 900 128' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 62 C78 28 154 96 232 62 S386 28 464 62 S618 96 696 62 S822 28 900 62 V128 H0 Z' fill='%238edff3'/%3E%3Cpath d='M0 58 C78 24 154 92 232 58 S386 24 464 58 S618 92 696 58 S822 24 900 58' fill='none' stroke='%23ffffff' stroke-width='6' stroke-linecap='round' opacity='.78'/%3E%3C/svg%3E") bottom left / 900px 128px repeat-x,
        linear-gradient(180deg, transparent 0, rgba(16, 160, 213, .22) 100%);
    animation: bookingRealWaveMove 10s linear infinite, bookingRealWaveSwell 4s ease-in-out infinite alternate;
}

@keyframes bookingWaterDrift {
    from { background-position: 18px 128px, 90px 220px; }
    to { background-position: 238px 298px, 240px 350px; }
}

@keyframes bookingWaveMove {
    from { background-position: 0 0; }
    to { background-position: -520px 0; }
}

@keyframes bookingRealWaveMove {
    from { background-position: 0 bottom, 0 0; }
    to { background-position: -900px bottom, 0 0; }
}

@keyframes bookingRealWaveSwell {
    from { transform: translateY(0); }
    to { transform: translateY(8px); }
}

button,
input {
    font: inherit;
}

.booking-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 8px clamp(16px, 4vw, 50px);
    border-top: 5px solid var(--blue);
    background: rgba(245, 252, 255, .96);
    box-shadow: 0 4px 20px rgba(26, 73, 123, .08);
    backdrop-filter: blur(10px);
}

.booking-header .back-link,
.booking-header a.back-link,
.back-link {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.header-spacer {
    display: block;
    min-width: 0;
    grid-column: 1;
}

.booking-logo {
    grid-column: 2;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-logo:hover {
    transform: scale(1.05);
}

.booking-logo img {
    width: auto;
    height: 76px;
    max-width: 120px;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 4px 12px rgba(7, 87, 173, 0.12));
    transition: filter 0.2s ease;
    display: block;
    margin: 0 auto;
}

.booking-logo:hover img {
    filter: drop-shadow(0 6px 16px rgba(7, 87, 173, 0.22));
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(7, 87, 173, 0.04);
    border: 1px solid rgba(7, 87, 173, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-link:hover {
    color: #064585;
    background: rgba(7, 87, 173, 0.1);
    border-color: rgba(7, 87, 173, 0.28);
    transform: translateX(-3px);
    box-shadow: 0 4px 14px rgba(7, 87, 173, 0.14);
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.back-link:active {
    transform: scale(0.96);
}

.secure-label {
    grid-column: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    justify-self: end;
    color: var(--green);
}

.secure-label svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-page {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 1400px);
    margin: 0 auto;
    padding: 32px 0 60px;
}

.booking-intro {
    text-align: center;
    margin-bottom: 24px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.booking-intro p {
    margin: 0 0 6px;
    color: #00a4df;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.booking-intro h1 {
    margin: 0;
    color: var(--blue, #0757ad);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    position: relative;
    display: inline-block;
    word-break: normal;
    overflow-wrap: break-word;
}

.booking-intro .hero-typed-target {
    display: inline;
}

.booking-intro .hero-water-cursor {
    display: inline-block;
    width: 4px;
    height: 0.88em;
    vertical-align: -0.06em;
    margin-left: 6px;
    border-radius: 2px;
    background: var(--blue, #0758af);
    box-shadow: 0 0 10px rgba(7, 88, 175, 0.4);
    animation: bookingCursorBlink 0.75s infinite cubic-bezier(1, 0, 0, 1);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.booking-intro .hero-water-cursor.is-hidden {
    opacity: 0 !important;
    animation: none !important;
}

@keyframes bookingCursorBlink {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .booking-intro .hero-water-cursor {
        width: 3px;
        margin-left: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-intro .hero-water-cursor {
        display: none !important;
    }
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
    gap: 24px;
    align-items: start;
}

.confirm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: 24px;
    align-items: start;
}

.booking-steps {
    display: grid;
    gap: 16px;
}

.booking-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(245, 252, 255, .88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.step-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--blue);
    color: var(--white);
    font-size: 19px;
    font-weight: 900;
}

.step-content h2 {
    margin: 0 0 4px;
    color: var(--blue-dark);
    font-size: clamp(19px, 1.6vw, 25px);
}

.step-content > p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14.5px;
}

.guest-policy {
    max-width: 920px;
    margin: -4px 0 14px;
    padding: 10px 14px;
    border-left: 5px solid var(--green);
    border-radius: 12px;
    color: #12602a;
    background: #eefbef;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.5;
    box-shadow: 0 8px 18px rgba(33, 173, 58, .06);
}

.date-field {
    max-width: 440px;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 11px 15px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--soft);
}

.date-field:focus-within {
    border-color: #35a7e1;
    box-shadow: 0 0 0 4px rgba(53, 167, 225, .12);
}

.date-field svg {
    grid-row: 1 / 3;
    width: 27px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.date-field span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.date-field input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-size: 16px;
    font-weight: 800;
}

.date-field.is-date-required {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.28) !important;
    animation: shakeDateField 0.45s ease;
}

.date-required-alert {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1.5px solid #ef4444;
    color: #b91c1c;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
    cursor: pointer;
    animation: shakeAlert 0.45s ease;
}

.date-required-alert.is-pulsing {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.date-required-alert svg {
    width: 18px;
    height: 18px;
    stroke: #dc2626;
    fill: none;
    stroke-width: 2.2;
    flex-shrink: 0;
}

@keyframes shakeDateField {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

@keyframes shakeAlert {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Floating bottom toast (proper rectangle format) */
.date-floating-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: #0f172a;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 8px;
    border: 1px solid #334155;
    border-left: 5px solid #ef4444;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
}

.date-floating-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.date-floating-toast svg {
    width: 20px;
    height: 20px;
    stroke: #ef4444;
    fill: none;
    stroke-width: 2.2;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .date-floating-toast {
        width: calc(100% - 28px);
        max-width: 420px;
        font-size: 13px;
        padding: 12px 14px;
        bottom: 16px;
        white-space: normal;
        border-radius: 8px;
        box-sizing: border-box;
    }
}

/* Temporarily hide Aqua Bot while date notification toast is visible so there is zero overlap */
body.has-date-toast .aqua-chatbot {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(28px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
}

.guest-list {
    display: grid;
    gap: 10px;
}

.guest-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px 130px;
    gap: 14px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(248, 253, 255, .84);
    transition: opacity .2s ease, transform .2s ease;
}

.guest-row.is-locked {
    opacity: .62;
}

.guest-row h3 {
    margin: 0 0 2px;
    font-size: 17px;
}

.guest-row p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.guest-row > strong {
    color: var(--blue);
    font-size: 17px;
}

.guest-row .free-price {
    color: var(--green);
}

.counter {
    display: grid;
    grid-template-columns: 36px 42px 36px;
    align-items: center;
    border: 1px solid #cddcec;
    border-radius: 11px;
    overflow: hidden;
    background: rgba(248, 253, 255, .95);
}

.counter-btn {
    height: 36px;
    border: 0;
    color: var(--blue);
    background: #edf6ff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.counter-btn.is-date-locked {
    color: #94a3b8 !important;
    background: #f1f5f9 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.counter-btn:disabled {
    color: #aab7c4;
    cursor: not-allowed;
    pointer-events: auto !important;
}

.counter-value {
    text-align: center;
    font-size: 15px;
    font-weight: 900;
}

.price-list {
    display: grid;
    gap: 8px;
}

.price-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 11px;
    background: var(--soft);
    font-size: 15px;
}

.price-list small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.price-list strong {
    color: var(--blue);
}

.instructions {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid #27a8df;
    border-radius: 11px;
    background: #edf9ff;
}

.instructions h3 {
    margin: 0 0 6px;
    color: var(--blue-dark);
    font-size: 15px;
}

.instructions ul {
    margin: 0;
    padding-left: 18px;
    color: #586879;
    font-size: 13.5px;
    line-height: 1.5;
}

.offer-congratulations {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 4px;
    margin: 18px 0 4px;
    padding: 18px 20px;
    border: 2px solid #f1c644;
    border-radius: 18px;
    color: #126c2a;
    background: linear-gradient(135deg, #fff9cf, #e8ffe9);
    box-shadow: 0 15px 34px rgba(33, 173, 58, .2);
    animation: offerCelebrate .42s ease-out;
}

.offer-congratulations[hidden] {
    display: none !important;
}

.offer-congratulations::after {
    content: "FREE";
    position: absolute;
    right: -9px;
    top: 12px;
    padding: 6px 15px;
    color: #fff;
    background: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    transform: rotate(8deg);
}

.offer-congratulations span {
    color: #b77c00;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.offer-congratulations strong {
    padding-right: 62px;
    font-size: 20px;
}

.offer-congratulations small {
    color: #55705c;
    font-size: 14px;
    font-weight: 800;
}

.summary-line.offer-line {
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #13732c;
    background: #e9faed;
    font-weight: 900;
}

@keyframes offerCelebrate {
    from { opacity: 0; transform: scale(.94) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.booking-summary {
    position: sticky;
    top: 96px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(245, 252, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.confirm-card {
    padding: clamp(18px, 2.2vw, 30px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(245, 252, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.confirm-card h2 {
    margin: 0 0 16px;
    color: var(--blue-dark);
    font-size: clamp(20px, 1.8vw, 24px);
}

.review-list {
    display: grid;
    gap: 8px;
}

.review-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--soft);
    font-size: 13.5px;
}

.review-list span {
    color: var(--muted);
}

.review-list strong {
    color: var(--blue-dark);
    text-align: right;
}

.confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #0b8bd6);
}

.confirm-total span {
    font-size: 16px;
    font-weight: 900;
}

.confirm-total small {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

.confirm-total strong {
    font-size: clamp(26px, 2.2vw, 34px);
}

.terms-box {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid var(--green);
    border-radius: 10px;
    background: #effbf3;
    color: #536171;
    font-size: 12px;
    line-height: 1.45;
}

.terms-box h3 {
    margin: 0 0 2px;
    color: var(--blue-dark);
    font-size: 15px;
}

.terms-box p {
    margin: 0;
}

.customer-form {
    display: grid;
    gap: 18px;
}

.customer-form label {
    display: grid;
    gap: 8px;
}

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

.customer-form span {
    color: var(--blue-dark);
    font-weight: 900;
}

.customer-form input {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 2px solid var(--border);
    border-radius: 16px;
    outline: none;
    color: var(--text);
    background: var(--soft);
    font-size: 18px;
    font-weight: 800;
}

.customer-form input:focus {
    border-color: #35a7e1;
    box-shadow: 0 0 0 4px rgba(53, 167, 225, .12);
}

.confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.secondary-button,
.pay-button {
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-button {
    color: var(--blue);
    border: 2px solid var(--border);
    background: rgba(248, 253, 255, .95);
    box-shadow: 0 4px 14px rgba(7, 87, 173, 0.08);
}

.secondary-button:hover {
    color: #ffffff;
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(7, 87, 173, 0.25);
}

.secondary-button .btn-arrow {
    display: inline-block;
    margin-right: 6px;
    font-size: 1.15em;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-button:hover .btn-arrow {
    transform: translateX(-4px);
}

.secondary-button:active {
    transform: scale(0.97);
}

.pay-button {
    border: 0;
    color: var(--white);
    background: var(--green);
    cursor: pointer;
}

.pay-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.success-card {
    width: min(720px, 100%);
    margin: 0 auto;
    text-align: center;
}

.success-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 116px);
}

.booking-success-page .booking-header {
    min-height: 86px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.booking-success-page .booking-logo img {
    width: auto;
    height: 76px;
    max-width: 120px;
}

.booking-success-page .booking-page {
    padding: 24px 0 44px;
}

.booking-success-page .success-page {
    align-items: start;
    min-height: calc(100vh - 86px);
}

.success-voucher {
    position: relative;
    width: min(100%, 860px);
    overflow: hidden;
    border: 2px dashed rgba(7, 87, 173, .34);
    border-radius: 34px;
    background:
        radial-gradient(circle at 10% 14%, rgba(32,185,230,.22) 0 76px, transparent 78px),
        radial-gradient(circle at 92% 86%, rgba(33,173,58,.18) 0 92px, transparent 94px),
        linear-gradient(145deg, rgba(246, 253, 255, .96), rgba(224, 247, 255, .9));
    box-shadow: 0 30px 80px rgba(7, 67, 130, .18);
    backdrop-filter: blur(12px);
}

.success-voucher::before,
.success-voucher::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e8f8ff;
    box-shadow: inset 0 0 0 2px rgba(7, 87, 173, .18);
    transform: translateY(-50%);
}

.success-voucher::before { left: -28px; }
.success-voucher::after { right: -28px; }

.voucher-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px clamp(28px, 5vw, 52px);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #12a7db 52%, var(--green));
}

.booking-success-page .voucher-ribbon {
    padding: 15px clamp(22px, 4vw, 42px);
}

.voucher-ribbon span {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 900;
}

.voucher-ribbon strong {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    font-size: 16px;
}

.voucher-body {
    position: relative;
    padding: clamp(34px, 6vw, 62px);
    text-align: center;
}

.booking-success-page .voucher-body {
    padding: clamp(22px, 3.2vw, 34px);
}

.voucher-body::before {
    content: "";
    position: absolute;
    inset: 22px;
    z-index: -1;
    border: 1px solid rgba(7, 87, 173, .12);
    border-radius: 26px;
}

.voucher-logo-mark {
    width: 138px;
    height: 102px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.booking-success-page .voucher-logo-mark {
    width: 108px;
    height: 72px;
    margin-bottom: 8px;
}

.voucher-logo-mark img {
    width: 122px;
    height: 88px;
    object-fit: contain;
}

.booking-success-page .voucher-logo-mark img {
    width: 104px;
    height: 70px;
}

.voucher-subtitle {
    width: min(560px, 100%);
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.booking-success-page .voucher-subtitle {
    margin-bottom: 16px;
}

.voucher-number-block {
    width: min(560px, 100%);
    display: grid;
    gap: 8px;
    margin: 0 auto 28px;
    padding: 22px;
    border: 2px solid rgba(7, 87, 173, .16);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(233, 247, 255, .95), rgba(244, 255, 247, .92));
}

.booking-success-page .voucher-number-block {
    margin-bottom: 16px;
    padding: 16px;
}

.voucher-number-block span {
    color: #667789;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.voucher-number-block strong {
    color: var(--blue);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    letter-spacing: .04em;
}

.booking-success-page .voucher-number-block strong {
    font-size: clamp(34px, 4.2vw, 54px);
}

.voucher-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.booking-success-page .voucher-info-grid {
    margin-bottom: 14px;
}

.voucher-info-grid article {
    padding: 18px 14px;
    border: 1px solid rgba(7, 87, 173, .12);
    border-radius: 18px;
    background: rgba(245, 252, 255, .82);
}

.booking-success-page .voucher-info-grid article {
    padding: 12px 10px;
}

.voucher-info-grid span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.voucher-info-grid strong {
    color: var(--blue-dark);
    font-size: 17px;
}

.voucher-note {
    width: min(670px, 100%);
    margin: 0 auto;
    padding: 14px 18px;
    border-left: 5px solid var(--green);
    border-radius: 14px;
    color: #536171;
    background: rgba(235, 250, 239, .86);
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
}

.booking-success-page .voucher-note {
    padding: 11px 15px;
    font-size: 14px;
}

.success-kicker {
    margin: 0 0 10px;
    color: #00a4df;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.success-card h1 {
    margin: 0 0 18px;
    color: var(--blue-dark);
    font-size: clamp(36px, 4vw, 58px);
}

.success-card p,
.success-card span {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.success-card > strong {
    display: inline-block;
    margin: 14px 0 18px;
    padding: 16px 22px;
    border-radius: 16px;
    color: var(--blue);
    background: var(--soft);
    font-size: clamp(28px, 3vw, 42px);
}

.success-actions {
    width: min(520px, 100%);
    margin: 28px auto 0;
}

.booking-success-page .success-actions {
    width: min(620px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 18px;
    justify-items: center;
}

.success-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.booking-success-page .success-actions a,
.booking-success-page .success-actions button {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.booking-success-page .success-actions > a,
.booking-success-page .success-back-home {
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

@media print {
    body {
        background: #fff;
    }

    body::before,
    body::after,
    .booking-header,
    .success-actions {
        display: none !important;
    }

    .booking-page,
    .booking-success-page .booking-page {
        width: 100%;
        padding: 0;
    }

    .success-page,
    .booking-success-page .success-page {
        min-height: auto;
        display: block;
    }

    .success-voucher {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

.booking-summary h2 {
    margin: 0 0 22px;
    color: var(--blue-dark);
    font-size: 30px;
}

.summary-empty {
    padding: 30px 18px;
    border: 2px dashed #cdddeb;
    border-radius: 20px;
    color: var(--muted);
    text-align: center;
}

.summary-empty svg {
    width: 65px;
    fill: none;
    stroke: #89a8c6;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.summary-empty p {
    margin: 14px 0 0;
    line-height: 1.5;
}

.summary-date,
.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.summary-date {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.summary-date span,
.summary-line span {
    color: var(--muted);
}

.summary-lines {
    display: grid;
    gap: 13px;
    padding: 20px 0;
}

.summary-line strong {
    white-space: nowrap;
}

.tax-note {
    padding: 11px 14px;
    border-radius: 10px;
    color: #267b36;
    background: #e9f9ed;
    font-size: 14px;
    font-weight: 800;
}

.summary-total {
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px solid var(--border);
    font-size: 22px;
}

.summary-total strong {
    color: var(--blue);
    font-size: 32px;
}

.continue-button {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    color: var(--white);
    background: var(--green);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.continue-button svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.continue-button:disabled {
    color: #8d9ba9;
    background: #dbe4ec;
    cursor: not-allowed;
    pointer-events: auto !important;
}

.continue-hint {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.continue-hint.is-error {
    color: #c92828;
    font-weight: 900;
}

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

    .booking-summary {
        position: static;
    }
}

@media (max-width: 650px) {
    .booking-header {
        min-height: 56px !important;
        padding: 6px 12px !important;
        border-top-width: 3.5px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        align-items: center !important;
    }

    .booking-header .back-link,
    .booking-header a.back-link,
    .back-link {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .header-spacer {
        display: block !important;
        grid-column: 1 !important;
    }

    .booking-logo {
        grid-column: 2 !important;
        justify-self: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .booking-logo img {
        width: auto !important;
        height: clamp(42px, 12vw, 50px) !important;
        max-width: 90px !important;
        filter: drop-shadow(0 2px 8px rgba(7, 87, 173, 0.12)) !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .booking-success-page .booking-header {
        min-height: 56px !important;
        padding: 6px 12px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        align-items: center !important;
    }

    .booking-success-page .booking-logo {
        grid-column: 2 !important;
        justify-self: center !important;
        margin: 0 auto !important;
    }

    .booking-success-page .booking-logo img {
        width: auto !important;
        height: clamp(42px, 12vw, 50px) !important;
        max-width: 90px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .back-link {
        font-size: 13px;
        font-weight: 700;
        gap: 4px;
    }

    .back-link svg {
        width: 16px;
        height: 16px;
    }

    .secure-label {
        grid-column: 3 !important;
        justify-self: end !important;
        font-size: 11.5px !important;
        font-weight: 800 !important;
        gap: 5px !important;
        white-space: nowrap !important;
        color: var(--green) !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .secure-label svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

    .booking-page {
        width: min(100% - 18px, 1480px);
        padding-top: 14px;
        padding-bottom: 32px;
    }

    .booking-intro {
        margin-bottom: 12px;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .booking-intro p {
        font-size: 10.5px;
        letter-spacing: .06em;
        margin-bottom: 2px;
    }

    .booking-intro h1 {
        font-size: 21px;
        line-height: 1.2;
        font-weight: 800;
    }

    .booking-steps {
        gap: 12px;
    }

    .booking-step {
        display: grid !important;
        grid-template-columns: 28px 1fr !important;
        gap: 10px !important;
        padding: 12px 12px !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 20px rgba(16, 65, 124, .08);
    }

    .step-number {
        width: 28px !important;
        height: 28px !important;
        border-radius: 8px !important;
        font-size: 13.5px !important;
        font-weight: 900;
    }

    .step-content h2 {
        font-size: 15.5px !important;
        margin: 1px 0 3px !important;
        line-height: 1.25 !important;
    }

    .step-content > p {
        font-size: 12px !important;
        margin: 0 0 10px !important;
        line-height: 1.35 !important;
    }

    .date-field {
        padding: 8px 10px !important;
        border-radius: 10px !important;
        gap: 0 8px !important;
        grid-template-columns: 20px 1fr !important;
    }

    .date-field svg {
        width: 18px !important;
        height: 18px !important;
    }

    .date-field span {
        font-size: 10.5px !important;
        margin-bottom: 1px !important;
    }

    .date-field input {
        font-size: 14px !important;
        min-height: 24px !important;
    }

    /* Step 2 Price List & Instructions */
    .price-list {
        gap: 5px !important;
    }

    .price-list div {
        padding: 7px 10px !important;
        border-radius: 8px !important;
        font-size: 12.5px !important;
        gap: 8px !important;
    }

    .price-list small {
        font-size: 10px !important;
        margin-top: 1px !important;
    }

    .price-list strong {
        font-size: 13.5px !important;
    }

    .instructions {
        margin-top: 8px !important;
        padding: 8px 10px !important;
        border-radius: 8px !important;
        border-left-width: 3.5px !important;
    }

    .instructions h3 {
        font-size: 12px !important;
        margin: 0 0 4px !important;
    }

    .instructions ul {
        font-size: 11px !important;
        line-height: 1.35 !important;
        padding-left: 14px !important;
    }

    .instructions li {
        margin-bottom: 2px !important;
    }

    /* Step 3 Guests */
    .guest-policy {
        padding: 7px 9px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        margin: 0 0 8px !important;
        border-radius: 8px !important;
        border-left-width: 3px !important;
    }

    .guest-list {
        gap: 6px !important;
    }

    .guest-row {
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }

    .guest-row h3 {
        font-size: 13.5px !important;
        margin: 0 0 1px !important;
    }

    .guest-row p {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }

    .guest-row > strong {
        font-size: 13.5px !important;
        justify-self: end;
        white-space: nowrap;
    }

    .counter {
        grid-column: auto;
        grid-template-columns: 24px 28px 24px !important;
        justify-self: end;
        min-width: 76px !important;
        border-radius: 8px !important;
    }

    .counter-btn {
        height: 28px !important;
        font-size: 15px !important;
    }

    .counter-value {
        font-size: 12.5px !important;
    }

    /* Summary Card */
    .booking-summary {
        padding: 12px 12px !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
    }

    .booking-summary h2 {
        font-size: 15px !important;
        margin: 0 0 8px !important;
    }

    .summary-empty {
        padding: 12px 10px !important;
        border-radius: 10px !important;
    }

    .summary-empty svg {
        width: 28px !important;
        height: 28px !important;
    }

    .summary-empty p {
        font-size: 11.5px !important;
        margin: 6px 0 0 !important;
    }

    .summary-date {
        padding-bottom: 6px !important;
        font-size: 12px !important;
    }

    .summary-lines {
        padding: 8px 0 !important;
        gap: 6px !important;
    }

    .summary-line {
        font-size: 12px !important;
    }

    .tax-note {
        padding: 5px 8px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    .summary-total {
        margin-top: 8px !important;
        padding-top: 8px !important;
        font-size: 13.5px !important;
    }

    .summary-total strong {
        font-size: 18px !important;
    }

    .continue-button {
        min-height: 40px !important;
        margin-top: 10px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    .continue-button svg {
        width: 16px !important;
    }

    .continue-hint {
        font-size: 10.5px !important;
        margin: 4px 0 0 !important;
    }

    .offer-congratulations {
        padding: 10px 12px !important;
        border-radius: 10px !important;
        margin: 10px 0 4px !important;
    }

    .offer-congratulations strong {
        font-size: 14px !important;
        padding-right: 48px !important;
    }

    .offer-congratulations small {
        font-size: 11px !important;
    }

    /* Confirm Page (confirm-pay.php) Compact Information */
    .confirm-layout {
        gap: 8px !important;
    }

    .confirm-card {
        padding: 9px 10px !important;
        border-radius: 12px !important;
    }

    .confirm-card h2 {
        font-size: 13.5px !important;
        margin: 0 0 6px !important;
        font-weight: 800 !important;
    }

    .review-list {
        display: grid !important;
        gap: 4px !important;
    }

    .review-list div {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        min-height: 25px !important;
    }

    .review-list span {
        font-size: 10.5px !important;
        color: var(--muted) !important;
    }

    .review-list strong {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        color: var(--blue-dark) !important;
    }

    .confirm-total {
        padding: 7px 10px !important;
        border-radius: 8px !important;
        margin-top: 6px !important;
        gap: 10px !important;
    }

    .confirm-total span {
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .confirm-total small {
        font-size: 9px !important;
        margin-top: 1px !important;
        opacity: 0.88 !important;
    }

    .confirm-total strong {
        font-size: 16px !important;
        font-weight: 900 !important;
    }

    .terms-box {
        padding: 6px 8px !important;
        border-radius: 6px !important;
        border-left-width: 3px !important;
        font-size: 9.5px !important;
        line-height: 1.3 !important;
        gap: 3px !important;
        margin-top: 6px !important;
    }

    .terms-box h3 {
        font-size: 11px !important;
        margin: 0 0 1px !important;
        font-weight: 800 !important;
    }

    .terms-box p {
        margin: 0 !important;
        font-size: 9.5px !important;
    }

    .terms-box a {
        font-size: 9.5px !important;
    }

    .customer-form {
        gap: 7px !important;
    }

    .customer-form label {
        gap: 2px !important;
    }

    .customer-form label span {
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }

    .customer-form-row.name-phone-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 6px !important;
    }

    .customer-form-row.name-phone-row span {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .customer-form-row.name-phone-row input {
        min-height: 36px !important;
        padding: 0 8px !important;
        border-radius: 6px !important;
        font-size: 12.5px !important;
    }

    .customer-form input {
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 12.5px !important;
        border-radius: 6px !important;
    }

    .confirm-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: 6px !important;
    }

    .secondary-button,
    .pay-button {
        min-height: 38px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        width: 100% !important;
    }

    .pay-note {
        font-size: 9.5px !important;
        line-height: 1.25 !important;
        margin-top: 2px !important;
    }

    .booking-success-page .success-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .voucher-ribbon,
    .voucher-info-grid {
        grid-template-columns: 1fr;
    }

    .voucher-ribbon {
        display: grid;
        text-align: center;
    }

    .voucher-ribbon strong {
        justify-content: center;
    }

    .success-voucher::before,
    .success-voucher::after {
        display: none;
    }
}

/* ==========================================================================
   AQUA DREAM WATERPARK - BOOKING PAGES ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
.wp-reveal,
.wp-reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.wp-reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.wp-reveal.is-revealed,
.wp-reveal-up.is-revealed,
.wp-reveal-scale.is-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1);
}

.wp-delay-1 { transition-delay: 80ms !important; }
.wp-delay-2 { transition-delay: 160ms !important; }
.wp-delay-3 { transition-delay: 240ms !important; }
.wp-delay-4 { transition-delay: 320ms !important; }

.date-picker-card,
.ticket-selector-card,
.booking-summary-card,
.confirm-card,
.my-booking-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticket-selector-card:hover,
.date-picker-card:hover {
    box-shadow: 0 20px 45px rgba(16, 65, 124, 0.15);
}

.continue-button,
.pay-button {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background 0.22s ease;
}

.continue-button:not(:disabled):hover,
.pay-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(32, 173, 58, 0.3);
}

.continue-button:active,
.pay-button:active {
    transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
    .wp-reveal,
    .wp-reveal-up,
    .wp-reveal-scale,
    .date-picker-card,
    .ticket-selector-card,
    .booking-summary-card,
    .confirm-card,
    .my-booking-card,
    .continue-button,
    .pay-button {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Aqua Bot in Booking Flow: Sits cleanly at the bottom right corner like Book Now */
.aqua-chatbot:not(.is-open) {
    bottom: 22px !important;
    right: 22px !important;
}

@media (max-width: 768px) {
    .aqua-chatbot:not(.is-open) {
        bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important;
        right: 14px !important;
    }
}



