/* v21: appointment & pre-registration are focused transactional pages,
   NOT cards nested inside an authenticated dashboard. */
.av-transaction{background:#f5f8fb;color:#173a55;min-height:62vh;font-family:Manrope,"Segoe UI",Arial,sans-serif;padding:26px 20px 58px}
.av-transaction-content{width:100%;max-width:1180px;margin:0 auto;min-width:0}
.av-transaction :is(h1,h2,h3,h4){font-family:inherit;color:#133c58;letter-spacing:-.025em}
.av-transaction h1{font-size:clamp(26px,3vw,38px);line-height:1.24}
.av-transaction h2{font-size:clamp(20px,2vw,26px);line-height:1.3}
.av-transaction h3{font-size:18px;line-height:1.4}
.av-transaction :is(p,li,dd,dt,legend,label){line-height:1.65}
.av-transaction p{color:#415d71}
.av-transaction .small,.av-transaction small{font-size:13px!important;line-height:1.6}
.av-transaction .text-muted{color:#4d6679!important}
.av-transaction :is(.ml-content,.container){max-width:100%;width:100%}
.av-transaction .ml-stack>*+*{margin-top:18px}
.av-transaction .ac-detail-content{min-width:0}
.av-transaction .ac-detail-content>.w-100:first-child{background:#fff;border:1px solid #d8e6ee}
.av-transaction .bg-white.border,.av-transaction form.border{border-color:#d5e4ec!important;background:#fff!important}
.av-transaction .bg-gray{background:#edf5f9}
.av-transaction :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]),select,textarea){max-width:100%;background:#fff;color:#173a55;border:1px solid #a7becb;min-height:46px;font-size:15px;font-family:inherit;border-radius:0!important}
.av-transaction input[type=radio],.av-transaction input[type=checkbox]{accent-color:#064b82;min-width:18px;min-height:18px}
.av-transaction :is(label,fieldset legend){color:#254f69;font-size:14px;font-weight:700}
.av-transaction :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #d47c2c;outline-offset:3px}
.av-transaction :is(button[type=submit],a.bg-gray.text-white,button.bg-gray.text-white){background:#064b82!important;color:#fff!important;border:1px solid #064b82!important;min-height:48px;font-weight:750;font-size:14px!important;border-radius:0!important}
.av-transaction :is(button[type=submit],a.bg-gray.text-white,button.bg-gray.text-white):hover{background:#073b64!important;color:#fff!important}
.av-transaction :is(.border,.rounded-circle){border-radius:0!important}
.av-transaction .bg-gray.text-white:not(button):not(a){background:#eaf3f8;color:#173a55}
.av-transaction .ml-breadcrumb{background:#edf5fa!important;color:#173a55!important;padding:26px 12px!important;min-height:0}
.av-transaction .ml-breadcrumb :is(h1,h2,p){color:#173a55!important}
.av-transaction .ml-breadcrumb .text-muted{color:#385870!important}
.av-transaction .ml-breadcrumb .ap-person-cutout{max-height:220px;width:auto;max-width:100%;object-fit:contain}
.av-transaction .ml-warning{background:#fff5dc!important;color:#684b0c!important;border-color:#e8c88e!important}
.av-transaction .ml-warning.text-warning{color:#684b0c!important}
.av-transaction .ml-success{background:#e8f7ed;color:#14552e}
.av-transaction .ml-danger{background:#fff0f0;color:#8b1e1e}
.av-transaction .position-sticky{top:22px;align-self:start}
.av-transaction .ml-image{width:65px;height:65px;object-fit:cover}
.av-transaction form [role=alert],.av-transaction form [role=status]{font-size:14px}
.av-transaction .av-flashes{max-width:1180px;margin:0 auto 18px}
.av-transaction [data-hospital-step]{max-width:100%;min-width:0}
.av-transaction [data-hospital-step] :is(input,select){max-width:100%}
.av-transaction [id=hospital-progress]{min-height:10px;max-height:13px;border-radius:0!important}
.av-transaction [id=hospital-progress-bar]{border-radius:0!important;background:#039bb8}
.av-transaction .ml-grid>*{min-width:0}
@media(min-width:960px){
 .av-transaction .ml-lg-cols-12{grid-template-columns:minmax(0,1.52fr) minmax(310px,1fr)}
}
@media(max-width:959px){
 .av-transaction .ml-lg-cols-12{grid-template-columns:minmax(0,1fr)}
 .av-transaction .position-sticky{position:static!important}
}
@media(max-width:639px){
 .av-transaction{padding:14px 12px 34px}
 .av-transaction .ml-content.px-4{padding-left:12px!important;padding-right:12px!important}
 .av-transaction :is(.p-5,.px-5){padding-left:18px!important;padding-right:18px!important}
 .av-transaction .p-4{padding:18px!important}
 .av-transaction h1{font-size:27px}
 .av-transaction .small{font-size:13px!important}
 .av-transaction :is(input,select,textarea){font-size:16px!important}
 .av-transaction [id=hospital-progress] + ol{font-size:11px;gap:4px}
 .av-transaction .ml-breadcrumb{padding:20px 10px!important}
}
@media(prefers-reduced-motion:reduce){.av-transaction *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
