/* Scoped to the shared EzMedQ guest auth dialog. */
body.ezua-open{overflow:hidden!important}
.ezua-overlay,.ezua-overlay *{box-sizing:border-box}
.ezua-overlay{position:fixed;inset:0;z-index:2147483600;background:rgba(8,22,48,.7);display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ezua-dialog{position:relative;width:min(470px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;border:1px solid #dae5f5;border-radius:23px;background:#fff;color:#122646;padding:clamp(20px,3.5vw,32px);box-shadow:0 25px 75px rgba(0,18,51,.33);text-align:left;line-height:1.5}
.ezua-dialog button,.ezua-dialog input,.ezua-dialog select{font:inherit}
.ezua-close{position:absolute;top:13px;right:14px;width:36px;height:36px;border:0;border-radius:10px;background:#eef3fb;color:#395775;font-size:25px;cursor:pointer;line-height:1}
.ezua-brand{display:flex;align-items:center;gap:7px;color:#1766e7;font-size:20px;font-weight:800;margin-bottom:20px}
.ezua-brand span{font-size:10px;color:#61738b;border-left:1px solid #d6e1f0;padding-left:10px;margin-left:4px;font-weight:600}
.ezua-kicker{font-size:10px;color:#1766e7;font-weight:800;letter-spacing:1.4px;margin:0 0 8px}
.ezua-dialog h2{font-family:inherit!important;color:#112343!important;font-size:clamp(23px,3vw,30px)!important;line-height:1.16!important;font-weight:800!important;margin:0 0 12px!important}
.ezua-subtitle{font-size:13px;color:#64758f;margin:0 0 19px;line-height:1.65}
.ezua-subtitle strong{color:#1462da}
.ezua-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f0f5fc;border-radius:13px;padding:4px;gap:4px;margin-bottom:17px}
.ezua-tabs button{background:transparent;color:#60728d;border:0;border-radius:9px;padding:10px 6px;cursor:pointer;font-size:13px;font-weight:800}
.ezua-tabs button.is-active{color:#1462df;background:#fff;box-shadow:0 2px 9px rgba(32,63,105,.12)}
#ezua-form{display:flex;flex-direction:column;gap:11px;margin:0;padding:0}
#ezua-form>label:not(.ezua-check){display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;color:#293f5c}
#ezua-form input:not([type=checkbox]),#ezua-form select{background:#fff;color:#102a4c;border:1px solid #d4dfec;border-radius:10px;min-width:0;width:100%;height:44px;padding:0 12px;font-size:14px;outline:none;box-shadow:none;margin:0}
#ezua-form input:focus,#ezua-form select:focus{border-color:#2b7df4;box-shadow:0 0 0 3px rgba(43,125,244,.13)}
.ezua-phone{display:flex;gap:8px;min-width:0}.ezua-phone select{flex:0 0 133px;width:133px!important;padding:0 5px!important}.ezua-phone input{flex:1;min-width:0}
#ezua-form .ezua-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.55;font-weight:500;color:#536983}
#ezua-form .ezua-check input{flex:0 0 16px;min-width:16px;width:16px;height:16px;margin:3px 0 0;accent-color:#1468ef}
#ezua-form a{color:#1667dc;text-decoration:none}
#ezua-error{color:#aa251b;background:#fff2f0;border:1px solid #ffcfca;border-radius:9px;padding:9px 12px;font-size:12px;line-height:1.55}
.ezua-submit{display:block;width:100%;min-height:47px;border:0;border-radius:11px;background:#1767eb;color:#fff;font-size:13px;font-weight:800;cursor:pointer;margin-top:4px}
.ezua-submit:hover{background:#0955d1}.ezua-submit:disabled{opacity:.7;cursor:progress}
.ezua-forgot{align-self:center;font-size:12px}.ezua-alt{font-size:11px;text-align:center;line-height:1.55;color:#788ba4;margin:0}
@media(max-width:600px){.ezua-overlay{padding:8px;align-items:flex-start}.ezua-dialog{padding:22px 19px;max-height:calc(100dvh - 16px);border-radius:18px}.ezua-brand{margin-bottom:16px}}

/* v1.6.11: compact, keyboard-friendly iPhone account dialog. */
.ezua-overlay { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.ezua-dialog { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* Mobile Safari zooms the whole webpage on focus when an input is below 16px. */
#ezua-form input:not([type=checkbox]),
#ezua-form select { font-size: 16px !important; }
@media (max-width: 600px) {
    .ezua-overlay { padding: 12px; align-items: center; }
    .ezua-dialog {
        width: min(400px, 100%);
        max-width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: 18px;
        padding: 18px 18px 16px;
        font-size: 14px;
        box-shadow: 0 16px 48px rgba(0, 18, 51, .25);
    }
    .ezua-brand { font-size: 18px; margin: 0 44px 10px 0; gap: 6px; }
    .ezua-brand span { font-size: 10px; }
    .ezua-kicker { display: none; }
    .ezua-dialog h2 {
        font-size: 22px !important;
        line-height: 1.18 !important;
        margin-bottom: 7px !important;
        letter-spacing: -.025em !important;
    }
    .ezua-subtitle { font-size: 12px; line-height: 1.45; margin-bottom: 12px; }
    .ezua-tabs { margin-bottom: 12px; padding: 3px; }
    .ezua-tabs button { min-height: 37px; padding: 7px 5px; font-size: 13px; }
    #ezua-form { gap: 9px; }
    #ezua-form>label:not(.ezua-check) { gap: 5px; font-size: 12px; }
    #ezua-form input:not([type=checkbox]),
    #ezua-form select { height: 44px; min-height: 44px; }
    .ezua-phone select { flex: 0 0 110px; width: 110px !important; }
    #ezua-form .ezua-check { font-size: 11px; gap: 7px; line-height: 1.45; }
    .ezua-submit { min-height: 44px; margin-top: 2px; }
    .ezua-alt { font-size: 10px; }
    .ezua-close { top: 12px; right: 12px; }
}
@media (max-width: 380px) {
    .ezua-dialog { padding: 16px 14px; }
    .ezua-dialog h2 { font-size: 21px !important; }
    .ezua-subtitle { font-size: 11.5px; }
    .ezua-phone select { flex-basis: 98px; width: 98px !important; }
}
@media (max-height: 620px) and (max-width: 600px) {
    .ezua-overlay { align-items: flex-start; }
    .ezua-dialog { margin: auto 0; }
}
