/* Donavita – builder B pages (request 04 / 05, booking 08, campaigns 13 / 14, give 15 / 16, pay step). base.css is the
   approved design; these are the few additions the live pages need. Colours only through the design tokens. */

/* 04 request detail */
.rq-head>div{min-width:0}
.rq-head h1{overflow-wrap:anywhere}
.rq-cd .cd .cdv.rq-st{font-size:20px}
.map.live-map .mcard{z-index:500}
.map .mpin .mk{width:46px;height:46px;border-radius:14px;place-items:center;background:var(--surface);box-shadow:var(--sh-2);color:var(--red)}
.rq-facts b{display:block;margin-top:2px;overflow-wrap:anywhere}
.rq-facts .card{display:flex;flex-direction:column;gap:2px}
.slots button[aria-pressed=true]{cursor:default}
.li .grow{min-width:0}

/* 05 request blood */
.otp-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.otp-row .otp{display:flex;gap:6px}
.otp-row .otp input{width:40px;height:44px;text-align:center;font:700 18px/1 var(--f-h);padding:0}
.ph-row{display:flex;gap:8px;align-items:center;min-width:0}
.ph-row .in-ic{flex:1;min-width:0}
.ph-row .btn{flex:none}
.err-box{margin:0}

/* 08 book a slot */
.rcard.on{border-color:var(--red);box-shadow:0 0 0 3px var(--red-soft)}
.slots[aria-busy=true]{opacity:.55}
.bk-sum .dl b{text-align:right;overflow-wrap:anywhere}

/* 13 / 14 campaigns */
.cp-tile h3 a{color:inherit}
.cp-tile .pad{flex:1}
.cp-tile{display:flex;flex-direction:column}
.cp-tile .btn{margin-top:auto}
.cp-story h3{font-size:22px;margin-bottom:12px}
.cp-story p{color:var(--muted)}
.cp-story>*+*{margin-top:12px}
.other-amt{margin-top:12px}

/* 15 checkout + pay step */
.gw .rcard{min-width:0}
.gw .rcard.on{border-color:var(--red);box-shadow:0 0 0 3px var(--red-soft)}
.stripe-el{min-height:120px}
.btn.is-busy{opacity:.7;pointer-events:none}

/* 16 thank you */
.ty-receipt .dl b{text-align:right;overflow-wrap:anywhere}

@media (max-width:640px){
 .rq-head{gap:14px!important}
 .rq-head .rq-cd{min-width:0!important;width:100%}
 .ph-row{flex-wrap:wrap}
}

/* gateway word marks of the checkout tiles (design 15) – the providers' own brand colours are part of their marks,
   lightened in the dark theme so they stay readable */
.gw .gl.g-stripe{color:#635BFF}.gw .gl.g-paypal{color:#003087}.gw .gl.g-paystack{color:#0B8DBE}.gw .gl.g-razorpay{color:#0C2451}.gw .gl.g-bank{color:var(--wine)}
[data-theme=dark] .gw .gl.g-stripe{color:#9D97FF}[data-theme=dark] .gw .gl.g-paypal{color:#7FA7E8}[data-theme=dark] .gw .gl.g-paystack{color:#5CC6EE}[data-theme=dark] .gw .gl.g-razorpay{color:#8FA9DD}
.gw .gl .ic{width:18px;height:18px}
/* the glass card sits inside the Leaflet container, whose link colour would win over the button text */
.map.leaflet-container .mcard a.btn-red,.map.leaflet-container .mcard a.btn-red:hover{color:var(--on-red)}
.map.leaflet-container .mcard{font:inherit}
/* form fields keep their own height when a neighbour in the row carries a hint; [hidden] always wins over a display */
.fg>.fld{align-content:start}
[data-request-form] [hidden],[data-book-form] [hidden],[data-give-form] [hidden],[data-give-box] [hidden],aside [hidden]{display:none!important}
/* 08 summary: the glass card grows with its text and the photo grows with it (never cut at the top) */
.bk-sum .ph{display:flex;flex-direction:column;justify-content:flex-end;padding:14px;min-height:460px}
.bk-sum .ph>.glass{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important}
.bk-sum .ph>img{position:absolute;inset:0}
.map.live-map .mcard{bottom:30px}
.tgl>.seg{flex:none;flex-wrap:nowrap}
