/* Booking app redesign layer (Oct 2026). Loaded after /redesign.css so the app uses the
   homepage's pill, guarantee badge, timeline and stamp. Restyles only: every booking ID
   and script hook in app.js, calendar.js and delight.js is untouched. */

/* Welcome: homepage pill, two-tone headline, price sticker */
.rd-app-welcome{position:relative;align-items:flex-start;margin:4px 2px 26px}
.rd-app-welcome .rd-pill{font-size:11px;font-weight:800;letter-spacing:1.4px;margin:0 0 16px}
.rd-app-welcome h1{font-size:40px;line-height:1;letter-spacing:-2.2px;margin:0 0 12px}
.rd-app-welcome h1 span{color:#5c7414}
.rd-app-greeting{margin:0!important;font-size:15px!important;line-height:1.5;color:#51594f!important}
.rd-app-sticker{flex:0 0 auto;width:104px;height:104px;margin-top:30px;border-radius:50%;background:var(--lime);border:2px solid var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(9deg)}
.rd-app-sticker>span{font-size:9px;font-weight:800;letter-spacing:1.3px}
.rd-app-sticker strong{font-size:36px;letter-spacing:-2.5px;line-height:1.05;font-weight:750}
.rd-app-sticker sup{font-size:17px;vertical-align:10px;letter-spacing:0}

/* Booking card */
.app-shell .booking-panel{padding:22px;border-radius:24px;border:1.5px solid var(--line);box-shadow:0 16px 60px #182a1010}
.app-shell .booking-default strong{font-size:22px;letter-spacing:-.7px}
.booking-progress strong{font-weight:800}

/* Step numbers: lime discs with an ink ring, as on the homepage shield */
.app-shell .booking-section-label>span{width:30px;height:30px;font-size:11px;border:2px solid var(--ink)}
.app-shell .booking-section-label h3{font-size:22px;letter-spacing:-.8px}

/* Step 01: the homepage's dark address form */
.rd-step-address{margin:26px -4px 0;padding:18px 16px 4px;border-radius:18px;background:var(--ink);color:#fff}
.rd-step-address .booking-section-label{margin-top:0}
.rd-step-address .booking-section-label h3{color:var(--lime)}
.rd-step-address .booking-section-label>span{border-color:var(--lime);background:var(--ink);color:var(--lime)}
.rd-step-address .address-wrap input#address-search{min-height:56px;border:0;border-radius:12px;font-size:17px!important}
.rd-step-address .address-wrap input#address-search:focus{outline:3px solid var(--lime);outline-offset:2px}
.rd-step-address .pin-icon{top:16px;color:#5c7414}
.rd-step-address .field-note{color:#c9ccbe;margin:10px 0 14px}
.rd-step-address #address-results{color:var(--ink)}

/* Step 02 toggle + chips */
.app-shell .when-choice{padding:5px;border-radius:12px}
.app-shell .when-choice span{font-size:14px;padding:12px 6px;border-radius:9px}
.app-shell .when-choice input:checked+span{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Packages: the homepage package cards, selected one goes lime */
.app-shell .booking-options>h3{font-size:22px;letter-spacing:-.8px}
.app-shell .compact-packages{grid-template-columns:1fr 1fr;gap:10px}
.app-shell .compact-package{border:1.5px solid var(--line);border-radius:16px;background:#f7f8f3;padding:18px 15px 16px}
.app-shell .compact-package:has(input:checked){background:var(--lime);border-color:var(--ink);box-shadow:none}
.app-shell .compact-package strong{font-size:15px;font-weight:800}
.app-shell .compact-package small{font-size:12px;color:#45483f}
.app-shell .compact-package>b{font-size:34px;letter-spacing:-1.5px}
.app-shell .property-types span{font-size:13px;padding:9px 14px;border:1.5px solid var(--line);background:#fff}
.app-shell .property-types input:checked+span{border-color:var(--ink)}
.app-shell .property-types legend{float:none;width:100%;font-size:13px;font-weight:700;line-height:1.5;margin:0 0 8px}

/* Checkout: total + button in one lime card */
.rd-checkout{margin:24px -4px 0;padding:20px 18px 16px;border-radius:20px;background:var(--lime)}
.app-shell .rd-checkout .booking-total{margin:0;padding:0;border:0}
.rd-checkout .booking-total>div>span{font-size:12px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--ink)}
.app-shell .rd-checkout .booking-total{flex-direction:column;align-items:flex-start;gap:6px}
.rd-checkout .booking-total strong{display:flex;align-items:baseline;gap:8px;font-size:44px;letter-spacing:-2px;line-height:1.05}
.rd-checkout .booking-total strong small{white-space:nowrap;font-size:14px;font-weight:700}
.rd-checkout .booking-total p{color:#2e3126;font-size:12px;text-align:left}
.rd-checkout .form-error{margin:14px 0 0}
.app-shell .rd-checkout .review-button{margin-top:16px;min-height:58px;border-radius:12px;font-size:16px;font-weight:800;justify-content:space-between}
.rd-checkout .google-next{color:#2e3126;font-size:12px}
.booking-panel>form>.rd-guarantee-badge,#booking-form>.rd-guarantee-badge{margin:14px -4px 0;padding:14px 16px;max-width:none}
#booking-form .rd-shield{width:48px;height:48px}
#booking-form .rd-shield svg{width:26px;height:26px}
#booking-form .rd-guarantee-badge strong{font-size:19px;letter-spacing:-.5px}
#booking-form .rd-guarantee-badge>span:last-child>span{font-size:14px}

/* Review + success */
.app-shell .review-dialog h2{letter-spacing:-1.5px}
.app-shell .success-panel h3{font-size:34px;letter-spacing:-1.4px}
.app-shell .success-icon{border:2px solid var(--ink)}

/* What happens next: homepage timeline */
.rd-app-next{margin:30px 0 0;padding:24px 6px 0}
.rd-app-next .eyebrow{margin-bottom:10px;color:#5c7414}
.rd-app-next h2{font-size:34px;letter-spacing:-1.6px;margin:0 0 18px}
.rd-app-next .rd-timeline{padding:24px 22px}
.rd-app-next .rd-timeline li{row-gap:2px}

/* Guarantee: the homepage's lime block and rotated stamp */
.rd-app-guarantee{position:relative;align-items:center;gap:18px;margin:20px 0 0;padding:26px 22px;border-radius:24px;background:var(--lime)}
.rd-app-guarantee .rd-stamp{width:96px;height:96px}
.rd-app-guarantee .rd-stamp strong{font-size:30px}
.rd-app-guarantee .rd-stamp span{font-size:8px;letter-spacing:1px}
.rd-app-guarantee h2{font-size:24px;line-height:1.05;letter-spacing:-1px;margin:0 0 8px}
.rd-app-guarantee summary{font-size:14px;font-weight:700;color:#2e3126}
.rd-app-guarantee details p{font-size:13px;color:#2e3126}
.app-shell .app-footnote{font-size:12px}

/* Bottom nav: ink active state */
.app-bottom-nav [aria-current=page]{background:var(--ink)!important;color:var(--lime)!important}

@media(max-width:380px){
  .rd-app-welcome h1{font-size:40px}
  .rd-app-sticker{width:86px;height:86px}
  .rd-app-sticker strong{font-size:29px}
  .app-shell .compact-packages{grid-template-columns:1fr}
}

/* Review step: ink outline card, lime total row */
.app-shell .inline-booking-review{border:2px solid var(--ink)!important;border-radius:24px!important}
.app-shell .inline-booking-review h2{font-size:38px;letter-spacing:-1.8px}
#booking-review>div:last-child{margin-top:6px;padding:12px 14px;border-radius:12px;background:var(--lime);border:0}
#booking-review>div:last-child *{color:var(--ink)!important;font-weight:800}
.app-shell #confirm-booking{width:100%;min-height:56px;border-radius:12px;font-size:16px;font-weight:800}
