/**
 * The cancellation request screen a traveller reads before she asks.
 * Sarisara palette: violet #7700FF, green #30B300, navy #090920, red #FF0A1F,
 * on the #fafafa canvas every traveller-facing surface uses.
 */
.sscx { position: fixed; inset: 0; z-index: 100000; display: flex;
        align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.sscx[hidden] { display: none !important; }
.sscx__veil { position: fixed; inset: 0; background: rgba(9, 9, 32, .55); }
.sscx__box { position: relative; width: 100%; max-width: 520px; background: #fafafa;
             border-radius: 16px; padding: 28px 30px 26px; box-shadow: 0 24px 60px -20px rgba(9,9,32,.4);
             font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
             color: #090920; }
.sscx__x { position: absolute; top: 14px; right: 16px; border: 0; background: none;
           font-size: 26px; line-height: 1; color: #6B7280; cursor: pointer; padding: 4px 8px; }
.sscx__x:hover { color: #090920; }
.sscx__title { margin: 0 0 2px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.sscx__ref { margin: 0 0 18px; font-size: 13px; color: #6B7280; }
.sscx__loading { padding: 26px 0; text-align: center; color: #6B7280; font-size: 14px; }
.sscx__error { margin: 8px 0 0; padding: 11px 14px; border-radius: 9px;
               background: #FFF1F2; color: #FF0A1F; font-size: 13.5px; }

/* The money, first and largest. */
.sscx__headline { display: flex; align-items: baseline; justify-content: space-between;
                  gap: 12px; padding: 16px 18px; background: #fff; border-radius: 12px;
                  border-left: 3px solid #30B300; margin-bottom: 14px; }
.sscx__headline-label { font-size: 11px; font-weight: 700; letter-spacing: .08em;
                        text-transform: uppercase; color: #6B7280; }
.sscx__headline-value { font-size: 27px; font-weight: 700; color: #30B300;
                        font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.sscx__sums { width: 100%; border-collapse: collapse; background: #fff;
              border-radius: 12px; overflow: hidden; font-size: 14px; }
.sscx__sums th { text-align: left; padding: 11px 16px; font-weight: 500; color: #4B5563;
                 border-bottom: 1px solid #F0EEF5; }
.sscx__sums td { text-align: right; padding: 11px 16px; font-variant-numeric: tabular-nums;
                 font-weight: 600; border-bottom: 1px solid #F0EEF5; white-space: nowrap; }
.sscx__sums tr:last-child th, .sscx__sums tr:last-child td { border-bottom: 0; }
.sscx__sums-you th, .sscx__sums-you td { color: #30B300; font-weight: 700; }
.sscx__hint { display: block; font-size: 11.5px; color: #9CA3AF; font-weight: 400; margin-top: 2px; }

.sscx__why { margin: 14px 0 6px; font-size: 13px; line-height: 1.6; color: #4B5563; }
.sscx__policy { margin: 0 0 4px; font-size: 13px; }
.sscx__policy a { color: #7700FF; text-decoration: underline; }
.sscx__rule { border: 0; border-top: 1px solid #E6E3EE; margin: 20px 0 18px; }

.sscx__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em;
               text-transform: uppercase; color: #6B7280; margin: 0 0 6px; }
.sscx__opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #9CA3AF; }
.sscx__select, .sscx__note, .sscx__file {
    width: 100%; box-sizing: border-box; margin-bottom: 16px; padding: 10px 12px;
    border: 1px solid #E6E3EE; border-radius: 9px; background: #fff;
    font-family: inherit; font-size: 14px; color: #090920; }
.sscx__select:focus, .sscx__note:focus { outline: 2px solid #7700FF; outline-offset: 1px; border-color: #7700FF; }
.sscx__note { resize: vertical; }

.sscx__ack { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px;
             font-size: 13.5px; line-height: 1.5; color: #090920; cursor: pointer; }
.sscx__ack input { margin-top: 3px; flex: 0 0 auto; }

.sscx__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sscx__btn { flex: 1 1 auto; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
             font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.sscx__btn--keep { background: #fff; border-color: #7700FF; color: #7700FF; }
.sscx__btn--keep:hover { background: #F5F1FF; }
.sscx__btn--go { background: #FF0A1F; color: #fff; }
.sscx__btn--go:hover:not(:disabled) { background: #E00019; }
.sscx__btn--go:disabled { background: #E5E7EB; color: #9CA3AF; cursor: not-allowed; }

.sscx__foot { margin: 16px 0 0; font-size: 12.5px; color: #6B7280; line-height: 1.5; text-align: center; }
.sscx__done { padding: 10px 0 0; text-align: center; }
.sscx__done-msg { font-size: 15px; line-height: 1.6; color: #090920; margin: 0 0 20px; }

/* The link in the bookings table, and what replaces it once she has asked. */
.sarisara-ask-cancel-link { display: block; font-size: 11px; color: #FF0A1F;
                            margin-top: 6px; text-decoration: none; font-weight: 600; }
.sarisara-ask-cancel-link:hover { text-decoration: underline; }
.sarisara-cancel-asked { display: block; font-size: 11px; color: #7700FF;
                         margin-top: 6px; font-weight: 600; }

@media (max-width: 560px) {
    .sscx__box { padding: 24px 20px 22px; }
    .sscx__headline { flex-direction: column; gap: 2px; align-items: flex-start; }
    .sscx__actions { flex-direction: column-reverse; }
}

/* ---------------------------------------------------------------------------
   THE TRAVEL CREDIT CHOICE AT CHECKOUT.
   Tokens from the Sarisara section pattern (assets/css/partner-price-layout.css):
   violet #7700FF, ink #1a1a1d, muted #6a6a73, line #e8e8e6, radius 14px, DM Sans.
   --------------------------------------------------------------------------- */
.sswc {
    font-family: 'Google Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #fff; border: 1px solid #e8e8e6;
    border-left: 3px solid #7700FF; border-radius: 14px;
    padding: 15px 18px; margin: 14px 0;
    box-shadow: 0 1px 2px rgba(20, 20, 30, .04);
}
.sswc__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sswc__label {
    font-size: 12px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: #1a1a1d;
}
.sswc__label--off { color: #6a6a73; }
.sswc__sum { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: #3a3a40; }
.sswc__sum strong { color: #30B300; font-variant-numeric: tabular-nums; }
.sswc__sum--off { color: #6a6a73; }
.sswc__sum--off strong { color: #1a1a1d; }

/* The switch. Violet when on, grey when off — no third state. */
.sswc__toggle {
    flex: 0 0 auto; width: 46px; height: 26px; padding: 0;
    border: 0; border-radius: 999px; background: #d8d8d4;
    cursor: pointer; position: relative; transition: background .18s ease;
}
.sswc__toggle.is-on { background: #7700FF; }
.sswc__toggle:focus-visible { outline: 2px solid #7700FF; outline-offset: 2px; }
.sswc__knob {
    position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
    border-radius: 50%; background: #fff; transition: transform .18s ease;
    box-shadow: 0 1px 3px rgba(20, 20, 30, .28);
}
.sswc__toggle.is-on .sswc__knob { transform: translateX(20px); }

@media (max-width: 560px) {
    .sswc { padding: 14px 15px; }
    .sswc__row { gap: 10px; }
}

/* HER TWO CHOICES (Chiran, 9 Oct 2026): store credit or cash, the money on each.
   Brand palette only: violet #7700FF selected, green #30B300 money. */
.sscx__choices { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 16px; }
.sscx__choice { position: relative; display: block; padding: 14px 16px 13px 44px; background: #fff;
                border: 1.5px solid #E6E3EE; border-radius: 12px; cursor: pointer; }
.sscx__choice:hover { border-color: #C9B8F5; }
.sscx__choice[hidden] { display: none; }   /* credit only when the bank charge takes her whole share (P040) */
.sscx__choice input { position: absolute; left: 16px; top: 17px; margin: 0; accent-color: #7700FF; }
.sscx__choice:has(input:checked) { border-color: #7700FF; box-shadow: 0 0 0 3px rgba(119, 0, 255, .10); }
.sscx__choice-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sscx__choice-title { font-size: 15px; font-weight: 700; color: #090920; }
.sscx__choice-value { font-size: 20px; font-weight: 700; color: #30B300; font-variant-numeric: tabular-nums;
                      white-space: nowrap; }
.sscx__choice-line { display: block; margin-top: 4px; font-size: 12.5px; color: #4B5563;
                     font-variant-numeric: tabular-nums; }
.sscx__choice-fee { color: #6B7280; }
.sscx__choice-bonus { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px;
                      background: rgba(48, 179, 0, .10); color: #1F7A00; font-size: 12px; font-weight: 700; }
.sscx__choice-bonus:empty { display: none; }
.sscx__choice-note { display: block; margin-top: 6px; font-size: 12px; color: #9CA3AF; }
/* Rule Book Q52 addendum (15 Oct 2026): travel credit first and highlighted. */
.sscx__choice--best { border-color: #30B300; background: #F6FBF3; }
.sscx__choice--best:hover { border-color: #30B300; }
.sscx__choice-flag { display: inline-block; margin: 0 0 8px; padding: 2px 9px; border-radius: 999px;
                     background: #30B300; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
@media (max-width: 480px) {
    .sscx__box { padding: 22px 18px 20px; }
    .sscx__choice-value { font-size: 18px; }
}

/* The Traveler theme styles bare buttons gold and moves radio buttons; two-class
   selectors keep the form in Sarisara's own look (RULE 5.5). */
.sscx .sscx__x { background: transparent !important; border: 0 !important; box-shadow: none !important;
                 color: #6B7280 !important; width: auto !important; height: auto !important;
                 padding: 4px 8px !important; border-radius: 8px !important; font-size: 26px !important; }
.sscx .sscx__x:hover { color: #090920 !important; background: #F0EEF5 !important; }
.sscx .sscx__choice input[type="radio"] { position: absolute !important; left: 16px !important; top: 18px !important;
                                          margin: 0 !important; width: 16px !important; height: 16px !important;
                                          float: none !important; display: block !important; }

/* ---------------------------------------------------------------------------
   MONEY BACK AFTER A CHANGE — the same two choice cards, on the trip page
   itself rather than in a pop-up (Chiran, 10 Oct 2026). Two-class selectors so
   the pop-up rules above (fixed, full screen) never apply here.
   --------------------------------------------------------------------------- */
.sscx.sscx--inline { position: static; inset: auto; z-index: auto; display: block; padding: 0; overflow: visible; margin: 14px 0; }
.sscx.sscx--inline .sscx__box { max-width: none; background: #fff; border: 1px solid #ECECF3;
    border-left: 4px solid #7700FF; border-radius: 12px; box-shadow: 0 1px 3px rgba(9,9,32,.06); padding: 18px 20px; }
.sscx.sscx--inline .sscx__title { font-size: 18px; margin: 0 0 6px; }
.ss-change-refund .ss-change-refund__bank { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 4px; }
.ss-change-refund .ss-change-refund__bank[hidden] { display: none; }
.ss-change-refund .ss-change-refund__bank input { display: block; width: 100%; margin-top: 4px; }
.ss-change-refund .ss-change-refund__go { margin-top: 12px; }
.ss-change-refund .ss-change-refund__go[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 600px) {
    .ss-change-refund .ss-change-refund__bank { grid-template-columns: 1fr; }
}

/* Her bank details, asked when she picks the cash refund (10 Oct 2026). */
.sscx .sscx__bank { display: grid; gap: 8px; margin: 14px 0 4px; }
.sscx .sscx__bank[hidden] { display: none; }
.sscx .sscx__bank .sscx__label { display: block; margin: 0; }
.sscx .sscx__bank input.sscx__select { display: block; width: 100%; margin-top: 4px; }

/* Sarisara dropdown for the reason (3 Nov 2026): the white rounded card that opens under the field. */
.sscx .sscx-dd { position: relative; margin-bottom: 16px; }
.sscx .sscx-dd__b { appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: space-between;
    width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #E6E3EE; border-radius: 9px; background: #fff;
    font-family: inherit; font-size: 15px; font-weight: 400; color: #090920; text-transform: none; letter-spacing: 0;
    box-shadow: none; cursor: pointer; text-align: left; }
.sscx .sscx-dd__b:hover { border-color: #C9B3F5; background: #fff; color: #090920; }
.sscx .sscx-dd__b[aria-expanded="true"] { border-color: #7700FF; outline: 2px solid #7700FF; outline-offset: 1px; }
.sscx .sscx-dd__b .svgico { width: 18px; height: 18px; color: #6B7280; flex: 0 0 auto; }
.sscx .sscx-dd__pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px;
    list-style: none; background: #fff; border: 1px solid #E6E3EE; border-radius: 12px;
    box-shadow: 0 12px 32px rgba(9, 9, 32, .12); max-height: 260px; overflow-y: auto; }
.sscx .sscx-dd__pop[hidden] { display: none; }
.sscx .sscx-dd__o { margin: 0; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 400; color: #090920; cursor: pointer; }
.sscx .sscx-dd__o:hover { background: #F5EEFF; }
.sscx .sscx-dd__o.is-on { color: #7700FF; font-weight: 600; background: #F5EEFF; }

/* Sarisara file button (3 Nov 2026): the quiet 38px pill, never the browser's "Choose File". */
.sscx .sscx-up { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sscx .sscx-up__in { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.sscx .sscx-up__b { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 18px; border-radius: 999px;
    border: 1px solid #E6E3EE; background: #F4F4F6; color: #090920; font-size: 13.5px; font-weight: 700; cursor: pointer;
    text-transform: none; letter-spacing: 0; margin: 0; }
.sscx .sscx-up__b:hover { background: #ECEBF0; }
.sscx .sscx-up__b .svgico { width: 16px; height: 16px; }
.sscx .sscx-up__in:focus-visible + .sscx-up__b { outline: 2px solid #7700FF; outline-offset: 2px; }
.sscx .sscx-up__name { font-size: 13px; color: #6B7280; word-break: break-all; }
