/* Auth, profile, trips and contact/enquiry forms */
.auth{max-width:480px;margin:46px auto 70px;padding:clamp(22px,4vw,34px)}
.auth h1{font-family:var(--serif);font-size:2rem;color:#0d5a63;margin-bottom:6px}
.auth form{display:grid;gap:14px;margin-top:16px}
.auth .alt{margin-top:18px;text-align:center;color:var(--muted);font-size:.94rem}
.google-btn{margin-top:18px;gap:10px}.google-btn b{color:#c2274f}
.or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.82rem;margin-top:16px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.pw-toggle{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:var(--muted)}
.flow-title{font-family:var(--serif);font-size:clamp(1.7rem,3vw,2.3rem);color:#0d5a63;margin-bottom:18px}
.flow-title em{font-style:normal;color:var(--crimson)}
.page-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.profile-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
.avatar{width:84px;height:84px;border-radius:50%;background:linear-gradient(145deg,var(--teal),var(--teal-dark));color:#fcd28a;display:grid;place-items:center;font:700 2rem var(--serif);margin:0 auto 12px}
.trip-card{margin-bottom:14px;display:grid;gap:12px}
.trip-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start}
.trip-top h3{margin:0}
.trip-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:.9rem}
.trip-meta span{display:inline-flex;align-items:center;gap:6px}
.trip-actions{display:flex;gap:10px;flex-wrap:wrap}
.done{text-align:center;padding:clamp(24px,4vw,40px)}
.done h1{font-family:var(--serif);color:#0d5a63;margin:10px 0}
.done-ico{width:72px;height:72px;border-radius:50%;margin:0 auto;display:grid;place-items:center;background:#dcf1e6;color:#25704f}
.done-ico .ico{width:34px;height:34px}
.done .sum-box{text-align:left;margin:18px 0}
/* Booking receipt: keep the existing summary and status copy inside a compact card. */
.booking-receipt{max-width:760px;margin-inline:auto;border:1px solid var(--line);border-radius:var(--radius-lg);background:linear-gradient(145deg,#fff,#f6faf8);box-shadow:0 16px 44px rgba(15,60,68,.12)}
.booking-receipt .done-ico{position:relative;width:76px;height:76px;background:radial-gradient(circle at 36% 24%,#32c940 0%,#08ab36 44%,#099e2e 78%,#54c92f 100%);color:#fff;border:3px solid #c7f66b;box-shadow:0 0 7px #94e63a,0 0 19px rgba(225,249,69,.65),inset 0 0 6px rgba(184,255,80,.7);animation:receipt-badge-breathe 2.4s ease-in-out .2s infinite both}
.receipt-tick{width:52px;height:52px;overflow:visible}
.receipt-tick path{stroke-dasharray:44;stroke-dashoffset:0;animation:receipt-tick-draw 2.4s ease-in-out .2s infinite both}
.receipt-confetti{position:absolute;inset:0;pointer-events:none}
.receipt-confetti i{position:absolute;width:11px;height:4px;border-radius:99px;background:#ffaf15;transform:rotate(var(--ray-angle));animation:receipt-confetti-glint 2.4s ease-in-out .2s infinite both}
.receipt-confetti i:nth-child(1){left:-34px;top:31px;--ray-angle:4deg;--ray-x:-6px;--ray-y:0px}
.receipt-confetti i:nth-child(2){left:-20px;top:9px;--ray-angle:36deg;--ray-x:-4px;--ray-y:-5px;background:#a630df}
.receipt-confetti i:nth-child(3){left:-24px;top:53px;--ray-angle:-38deg;--ray-x:-4px;--ray-y:5px}
.receipt-confetti i:nth-child(4){right:-33px;top:29px;--ray-angle:-16deg;--ray-x:6px;--ray-y:0px}
.receipt-confetti i:nth-child(5){right:-20px;top:7px;--ray-angle:-44deg;--ray-x:4px;--ray-y:-5px;background:#69c531}
.receipt-confetti i:nth-child(6){right:-23px;top:53px;--ray-angle:36deg;--ray-x:4px;--ray-y:5px;background:#dd47ba}
@keyframes receipt-tick-draw{0%,8%{stroke-dashoffset:44;opacity:0}9%{stroke-dashoffset:44;opacity:1}55%,85%{stroke-dashoffset:0;opacity:1}95%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:44;opacity:0}}
@keyframes receipt-badge-breathe{0%,100%{transform:scale(.96);box-shadow:0 0 7px #94e63a,0 0 16px rgba(225,249,69,.5),inset 0 0 6px rgba(184,255,80,.7)}40%,60%{transform:scale(1.05);box-shadow:0 0 11px #94e63a,0 0 25px rgba(225,249,69,.8),inset 0 0 8px rgba(184,255,80,.8)}}
@keyframes receipt-confetti-glint{0%,100%{opacity:.55;transform:translate(0,0) rotate(var(--ray-angle)) scale(.85)}45%,70%{opacity:1;transform:translate(var(--ray-x),var(--ray-y)) rotate(var(--ray-angle)) scale(1.1)}}
/* Owner-requested exception: this complete badge keeps animating in reduced motion. */
@media(prefers-reduced-motion:reduce){.booking-receipt .receipt-success{animation:receipt-badge-breathe 2.4s ease-in-out .2s infinite both!important}.booking-receipt .receipt-confetti i{animation:receipt-confetti-glint 2.4s ease-in-out .2s infinite both!important}.booking-receipt .receipt-tick path{animation:receipt-tick-draw 2.4s ease-in-out .2s infinite both!important}}
.booking-receipt h1{font-size:clamp(1.4rem,3vw,1.85rem);line-height:1.2;margin:20px 0 12px}
.booking-receipt>.muted{line-height:1.65;overflow-wrap:anywhere}
.booking-receipt .sum-box{padding:10px 14px;background:rgba(255,255,255,.8);border:1px solid var(--line)}
.booking-receipt .sum-row{display:grid;grid-template-columns:minmax(82px,.65fr) minmax(0,1.65fr);gap:12px;align-items:start}
.booking-receipt .sum-row:last-child{border-bottom:0}
.booking-receipt .sum-row b{min-width:0;overflow-wrap:anywhere}
.booking-receipt .sum-row:first-child{grid-template-columns:minmax(0,1fr) 44px;gap:4px;padding:14px 10px;margin-bottom:4px;border:0;border-radius:10px;background:linear-gradient(110deg,#fff4dc,#fce8c0);text-align:center}
.booking-receipt .sum-row:first-child>span{grid-column:1/-1}
.booking-receipt .sum-row:first-child>b{align-self:center}
.receipt-copy{width:44px;height:44px;border-radius:7px;color:var(--ink);background:transparent;align-self:center;justify-self:end}
.receipt-copy .ico{width:23px;height:23px}
.receipt-copy:hover{background:rgba(255,255,255,.6)}
.receipt-copy:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.receipt-copy .copy-done{display:none}
.receipt-copy[data-copied="true"]{background:#e3f3e5;color:#079727}
.receipt-copy[data-copied="true"] .copy-idle{display:none}
.receipt-copy[data-copied="true"] .copy-done{display:block}
.booking-receipt .sum-row:first-child span{font-weight:600;color:var(--ink)}
.booking-receipt .sum-row:first-child b{text-align:center;font-size:clamp(1.05rem,4.5vw,1.35rem);color:var(--teal-dark)}
.booking-receipt .alert{text-align:left;overflow-wrap:anywhere}
.receipt-contact{display:grid;gap:16px;margin:22px 0;text-align:left}
.receipt-contact-row{display:flex;align-items:flex-start;gap:14px;line-height:1.5}
.receipt-contact-row>.ico{width:27px;height:27px;flex:none;color:var(--teal-dark);margin-top:3px}
.receipt-whatsapp-contact>.ico{width:32px;height:32px;color:#17a22e;fill:currentColor;stroke:none}
.receipt-contact-row>div{min-width:0;overflow-wrap:anywhere}
.receipt-contact-row span,.receipt-contact-row a{display:block}
.receipt-contact-row a{font-weight:700;color:var(--teal-dark)}
.receipt-actions,.receipt-navigation{display:grid;gap:10px}
.receipt-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}
.receipt-navigation>a:only-child{grid-column:1/-1}
.receipt-actions a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border-radius:10px;font-size:.95rem;line-height:1.35;text-align:center;padding:12px 16px;white-space:normal}
.receipt-actions .ico{width:21px;height:21px;flex:none}
.receipt-actions a:focus-visible,.receipt-contact a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.receipt-actions .receipt-whatsapp{color:#fff;background:linear-gradient(180deg,#00aa2d,#009728);border-color:#00a42c;box-shadow:inset 0 1px 0 rgba(132,235,77,.6),0 3px 8px rgba(0,157,40,.15);font-size:1.2rem;font-weight:700}
.receipt-actions .receipt-whatsapp .ico{width:25px;height:25px;fill:currentColor;stroke:none}
.receipt-actions .receipt-whatsapp:hover{background:linear-gradient(180deg,#00a32a,#008d25);border-color:#009728;color:#fff}
@media(max-width:640px){.booking-receipt{padding:24px 18px}.receipt-navigation{grid-template-columns:minmax(0,1fr)}}
.agree{flex-wrap:wrap}
.agree.error{color:var(--crimson)}
.agree .msg{display:block;font-size:.76rem;color:var(--crimson);margin-top:4px;flex-basis:100%}
@media (max-width:1040px){.profile-grid{grid-template-columns:1fr}}

/* OTP verification box matching booking page */
.booking-otp-box {
    background: #f8fafc;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: var(--radius, 10px);
    padding: 18px 20px;
    margin-top: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.booking-otp-alert {
    margin-bottom: 14px;
    font-size: 0.875rem;
    padding: 10px 14px;
}

.booking-otp-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-otp-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink, #1f2937);
    margin-bottom: 8px;
    text-align: center;
}

.booking-otp-digits {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.booking-otp-digits .otp-digit {
    width: 44px;
    height: 50px;
    border: 1.5px solid var(--line, #cbd5e1);
    border-radius: 8px;
    background: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    color: var(--ink, #0f172a);
    font-family: inherit;
    outline: none;
    transition: border-color var(--dur-1) var(--ease-std), box-shadow var(--dur-1) var(--ease-std), transform var(--dur-1) var(--ease-spring), background var(--dur-1) var(--ease-std);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.booking-otp-digits .otp-digit::-webkit-outer-spin-button,
.booking-otp-digits .otp-digit::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.booking-otp-digits .otp-digit:focus {
    border-color: var(--teal, #0f8b8d);
    box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.18);
    background: #ffffff;
    transform: translateY(-1px);
}

.booking-otp-digits .otp-digit.is-filled {
    border-color: #94a3b8;
    background: #fbfcfe;
}

.booking-otp-digits.has-error .otp-digit {
    border-color: var(--crimson, #c2274f);
    background: #fff6f8;
}

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

.booking-otp-digits.shake {
    animation: otpDigitShake 0.35s ease-in-out;
}

.booking-otp-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
    flex-wrap: wrap;
}

.booking-otp-resend {
    padding: 7px 14px;
    font-size: 0.825rem;
}

.booking-otp-change {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 0.825rem;
    color: var(--muted, #64748b);
    text-decoration: underline;
    transition: color var(--dur-1) var(--ease-std);
}

.booking-otp-change:hover {
    color: var(--crimson, #c2274f);
}

.booking-otp-error {
    display: none;
    color: var(--crimson, #c2274f);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 6px;
    text-align: center;
}

@media (max-width: 480px) {
    .booking-otp-box {
        padding: 14px 14px;
    }

    .booking-otp-digits {
        gap: 6px;
    }

    .booking-otp-digits .otp-digit {
        width: 38px;
        height: 46px;
        font-size: 1.2rem;
    }
}

