/* =========================================================
   Water Taxi Booking Pro — Confirmation / Thank-You Page
   ========================================================= */

#wtbp-confirm {
    --wtbpc-text: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    color: var(--wtbpc-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.wtbp-confirm-inner {
    max-width: 520px;
    width: 100%;
    text-align: center;
}

/* Loading */
.wtbp-confirm-loading { text-align: center; opacity: .9; }
.wtbp-confirm-spinner {
    display: inline-block;
    width: 36px; height: 36px;
    border: 3px solid rgba(255,255,255,.3);
    border-top-color: var(--wtbpc-text);
    border-radius: 50%;
    animation: wtbpc-spin .8s linear infinite;
}
@keyframes wtbpc-spin { to { transform: rotate(360deg); } }

/* Content */
.wtbp-confirm-icon {
    font-size: 56px;
    margin-bottom: 18px;
    animation: wtbpc-pop .5s cubic-bezier(.18,.89,.32,1.28);
    color: #5eead4;
}
@keyframes wtbpc-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.wtbp-confirm-heading {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -.5px;
    color: var(--wtbpc-text);
    line-height: 1.1;
}
.wtbp-confirm-subheading {
    font-size: 18px;
    font-weight: 400;
    opacity: .85;
    margin: 0 0 24px;
}

.wtbp-confirm-datetime {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 22px;
    border-top: 1px solid rgba(255,255,255,.25);
    border-bottom: 1px solid rgba(255,255,255,.25);
    margin-bottom: 30px;
    letter-spacing: .5px;
}

/* Countdown */
.wtbp-countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.wtbp-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
}
.wtbp-cd-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.wtbp-cd-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .7;
    margin-top: 6px;
}
.wtbp-cd-sep {
    font-size: 32px;
    font-weight: 300;
    opacity: .4;
    line-height: 1.1;
}
@media (max-width: 460px) {
    .wtbp-cd-num { font-size: 32px; }
    .wtbp-cd-unit { min-width: 50px; }
    .wtbp-cd-sep { font-size: 24px; }
    .wtbp-confirm-heading { font-size: 27px; }
}

/* Trip legs */
.wtbp-confirm-legs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.wtbp-leg-card {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 16px 18px;
    text-align: left;
}
.wtbp-leg-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.2);
    margin-bottom: 10px;
}
.wtbp-leg-route {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wtbp-leg-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 3px 0;
    opacity: .9;
}
.wtbp-leg-row i { width: 16px; opacity: .7; margin-right: 6px; }

.wtbp-confirm-meta {
    font-size: 13px;
    opacity: .8;
    margin-top: 8px;
    line-height: 1.8;
}
.wtbp-confirm-meta strong { font-weight: 700; }

.wtbp-confirm-error {
    text-align: center;
    opacity: .9;
}
.wtbp-confirm-error i { font-size: 40px; margin-bottom: 12px; color: #fca5a5; }

/* ── Guarantee bundled Font Awesome wins on the confirmation page ── */
#wtbp-confirm .fa-solid,
#wtbp-confirm .fas { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
#wtbp-confirm .fa-regular,
#wtbp-confirm .far { font-family: "Font Awesome 6 Free" !important; font-weight: 400 !important; }
#wtbp-confirm i[class*="fa-"] {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    line-height: 1;
}
