/* Donavita – builder C: sign in / register (design 19 / 20) and the donor panel (30–36) on top of base.css.
   Colours only through the design tokens. */

/* register (20): blood group radios in the design's chip look */
.reg-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.reg-groups .gchip{position:relative;display:grid;place-items:center;cursor:pointer;text-align:center}
.reg-groups .gchip.wide{grid-column:1/-1;font:600 14.5px var(--f-b)}
.reg-groups .gchip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.reg-groups .gchip:has(input:focus-visible){outline:2px solid var(--red);outline-offset:2px}
[data-reg] [data-step][hidden]{display:none}
.auth .seg button{min-width:0}
@media (max-width:400px){.reg-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* dashboard (30) */
.dash-hero{position:relative;overflow:hidden;background:radial-gradient(600px 300px at 100% 0%,color-mix(in srgb,var(--red) 18%,transparent),transparent 60%),var(--surface)}
.dash-drop{margin-right:12px}
.chart .b1{fill:var(--red-btn)}.chart .b2{fill:var(--wine-btn)}
.legend .lg1{background:var(--red-btn)}.legend .lg2{background:var(--wine-btn)}
@media (max-width:640px){.dash-hero .ring{margin:0 auto}}

/* donations (31) */
.cert .sig{flex-wrap:wrap}
.d-used{display:flex;flex-wrap:wrap;gap:6px}
.tbl td .btn{white-space:nowrap}
.dtbl td:nth-child(1),.dtbl td:nth-child(2),.dtbl td:nth-child(4){white-space:nowrap}
.dtbl{min-width:900px}

/* appointments (32) */
.ap-qr{text-align:center;flex:none}
.ap-qr .qr{width:180px;box-shadow:var(--sh-2);margin:0 auto}
.resched .slots{margin-top:12px}
.tips .ill img{width:40px;height:auto}

/* requests near me (33) */
.dmap{min-height:420px}
.dmap .mcard{z-index:500}
.contact-msg{background:var(--surface2);border-radius:12px;padding:10px 12px;font-size:14px;margin-top:6px;overflow-wrap:anywhere}

/* notifications (34) */
.nt-ic{width:44px;height:44px;justify-content:center;border-radius:14px;padding:0;flex:none}
.nt-item{padding:16px 4px;color:inherit}
.nt-item .grow{min-width:min(160px,100%)}
.nt-item b{overflow-wrap:anywhere}
a.nt-item:hover b{color:var(--red)}
.mx td,.mx th{text-align:center}
.mx td:first-child,.mx th:first-child{text-align:left}
.mx .locked{font-size:12.5px;color:var(--muted);font-weight:600}
.mx .off{color:var(--muted)}

/* profile (35) */
.pf-photo{position:relative;display:inline-flex}
.pf-photo input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.pf-head{min-width:0}
.pf-head h3,.pf-head p{overflow-wrap:anywhere}
.prev-card{flex-wrap:nowrap}

/* donor card (36) */
.dcard{max-width:100%}
.dcard .top img{height:34px;width:auto}
.dcard .bot>div:first-child{min-width:0}
.card-col{display:grid;gap:24px;justify-items:start;align-content:start}

/* print: only the certificate / the card */
@media print{
  .side,.abar,.side-bk,.toast,.demo-ribbon,.no-print,.cookie{display:none!important}
  .app,.mainc,.pmain{display:block!important;padding:0!important;margin:0!important}
  body{background:#fff!important}
  .print-me,.print-me *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* panes and tabs switched by donor.js (the design's .col / .row display would show a [hidden] block) */
.auth [hidden],.pmain [hidden]{display:none!important}
[data-step] h1:focus{outline:0}
/* the donor bar has no search box: the theme / bell / person sit at the right edge like in the design */
.abar .tt+.acts{margin-left:auto}
