/* WTE PayPal payment selection/review — reuse Checkout's light palette and spacing.
   Scoped to the dedicated /tickets/?wte-paypal-* pages only. */
body.wte-ppusd-flow {
    background: #fff !important;
    color: #10224a !important;
    --wte-ppusd-ink: #10224a;
    --wte-ppusd-muted: #526484;
    --wte-ppusd-line: #dce5f7;
    --wte-ppusd-gradient: linear-gradient(100deg, #315eff, #a42be4, #d21f91);
}
body.wte-ppusd-flow #wte-paypal-international.wte-ppusd-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 130px 26px 96px;
    color: var(--wte-ppusd-ink);
    background: #fff;
    line-height: 1.6;
}
body.wte-ppusd-flow .wte-ppusd-shell { max-width: 1000px; margin: 0 auto; }
body.wte-ppusd-flow .wte-ppusd-page__title {
    margin: 0 0 12px !important;
    color: var(--wte-ppusd-ink) !important;
    font-size: clamp(29px, 3.5vw, 42px) !important;
    line-height: 1.2 !important;
    font-weight: 700;
}
body.wte-ppusd-flow .wte-ppusd-page__intro {
    margin: 0 0 26px;
    color: var(--wte-ppusd-muted) !important;
    font-size: 15px;
}
body.wte-ppusd-flow .wte-ppusd-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
body.wte-ppusd-flow .wte-ppusd-choice-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px !important;
    border: 1px solid var(--wte-ppusd-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(16, 34, 74, .045);
}
body.wte-ppusd-flow .wte-ppusd-choice-card--paypal { background: #f8faff; }
body.wte-ppusd-flow .wte-ppusd-choice-card__eyebrow {
    color: #476492 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}
body.wte-ppusd-flow .wte-ppusd-choice-card__title {
    margin: 0 !important;
    color: var(--wte-ppusd-ink) !important;
    font-size: 21px !important;
    line-height: 1.3;
}
body.wte-ppusd-flow .wte-ppusd-choice-card__body {
    margin: 0;
    color: var(--wte-ppusd-muted) !important;
    font-size: 15px;
    line-height: 1.65;
}
body.wte-ppusd-flow .wte-ppusd-choice-card__button {
    display: inline-flex;
    margin-top: auto;
    justify-content: center;
    align-items: center;
    min-height: 51px;
    padding: 12px 18px;
    text-align: center;
    border: 1px solid #b7c4e0;
    border-radius: 12px;
    background: #fff;
    color: #10224a !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: box-shadow .2s ease, transform .2s ease;
}
body.wte-ppusd-flow .wte-ppusd-choice-card__button--paypal {
    background: var(--wte-ppusd-gradient);
    color: #fff !important;
    border-color: transparent;
}
body.wte-ppusd-flow .wte-ppusd-choice-card__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(49, 94, 255, .13);
}
body.wte-ppusd-flow .wte-ppusd-choice-card__note {
    margin: 0;
    font-size: 12px;
    color: var(--wte-ppusd-muted) !important;
}
body.wte-ppusd-flow .wte-ppusd-message-card {
    padding: 28px;
    border: 1px solid var(--wte-ppusd-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(16, 34, 74, .045);
    color: var(--wte-ppusd-ink);
}
body.wte-ppusd-flow .wte-ppusd-message-card p {
    margin: 0 0 20px;
    color: var(--wte-ppusd-muted) !important;
}
body.wte-ppusd-flow .wte-ppusd-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
body.wte-ppusd-flow .wte-ppusd-message-actions a { min-width: 180px; }
body.wte-ppusd-flow .wte-ppusd-review-card {
    max-width: 680px;
    padding: 28px;
    border: 1px solid var(--wte-ppusd-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(16, 34, 74, .045);
}
body.wte-ppusd-flow .wte-ppusd-review-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wte-ppusd-line);
    color: var(--wte-ppusd-ink);
}
body.wte-ppusd-flow .wte-ppusd-review-card__header span,
body.wte-ppusd-flow .wte-ppusd-review-rate-source { color: var(--wte-ppusd-muted); font-size: 13px; }
body.wte-ppusd-flow .wte-ppusd-review-row,
body.wte-ppusd-flow .wte-ppusd-review-total { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; }
body.wte-ppusd-flow .wte-ppusd-review-row span { color: var(--wte-ppusd-muted); }
body.wte-ppusd-flow .wte-ppusd-review-total { margin-top: 18px; padding: 18px 0; border-top: 1px solid var(--wte-ppusd-line); color: var(--wte-ppusd-ink); font-size: 18px; }
body.wte-ppusd-flow .wte-ppusd-review-total strong { font-size: 24px; }
body.wte-ppusd-flow .wte-ppusd-review-note { margin: 4px 0 20px; color: var(--wte-ppusd-muted); font-size: 13px; line-height: 1.6; }
body.wte-ppusd-flow .wte-ppusd-review-alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #fff1f1; color: #a11; }
body.wte-ppusd-flow .wte-ppusd-review-form .wte-ppusd-choice-card__button { width: 100%; cursor: pointer; }
/* International checkout uses the isolated Orders v2 flow. Do not show PPCP's
   unrelated Express Checkout button or the generic order-notes section. */
body.wte-ppusd-flow .wp-block-woocommerce-checkout-express-payment-block,
body.wte-ppusd-flow .wp-block-woocommerce-checkout-additional-information-block {
    display: none !important;
}
/* Keep generic PayPal review messages readable even if theme has dark defaults. */
body.wte-ppusd-flow #wte-paypal-international :is(p, h2, strong, label) {
    color: inherit;
}
body.wte-ppusd-flow #wte-paypal-international a:not(.wte-ppusd-choice-card__button) {
    color: #245cde;
    text-decoration: underline;
}
@media (max-width: 720px) {
    body.wte-ppusd-flow #wte-paypal-international.wte-ppusd-page { padding: 105px 18px 60px; }
    body.wte-ppusd-flow .wte-ppusd-choice-grid { grid-template-columns: 1fr; }
    body.wte-ppusd-flow .wte-ppusd-choice-card { padding: 21px !important; }
    body.wte-ppusd-flow .wte-ppusd-review-card { padding: 21px; }
    body.wte-ppusd-flow .wte-ppusd-review-row,
    body.wte-ppusd-flow .wte-ppusd-review-total { flex-direction: column; gap: 3px; }
}

/* Only displays on genuine Sandbox international checkout. */
.wte-ppusd-sandbox-note {border:1px solid #ccd6ff;border-radius:14px;background:#f5f7ff;color:#142448;padding:16px 18px;margin-bottom:16px;font-size:14px;line-height:1.5;}
.wte-ppusd-sandbox-note strong {color:#142448;}
.wte-ppusd-sandbox-note p {margin:8px 0 0;color:#273955;}
