/* Bizly 3.6: authentication joins the editorial interface. Scoped to avoid theme regressions. */
#nav #nav-signin {background:#15283d;color:#fff;border:1px solid #15283d;border-radius:9px;box-shadow:none;font-weight:650;min-height:42px;padding:9px 19px;white-space:nowrap;transition:background .18s,transform .15s;}
#nav #nav-signin:hover{background:#254765} #nav #nav-signin:active{transform:scale(.97)}
[data-theme=dark] #nav #nav-signin{background:var(--theme-elevated);color:var(--theme-ink);border-color:var(--theme-line)}
[data-theme=dark] #nav #nav-signin:hover{background:var(--theme-hover)}
#auth-modal .modal-head{background:var(--v2-paper)!important;align-items:center;padding:26px clamp(20px,4vw,48px);border-bottom:1px solid var(--v2-rule)}
#auth-modal .auth-heading{min-width:0;display:grid;gap:7px}
#auth-modal .auth-eyebrow{font-size:10px;font-weight:650;letter-spacing:.14em;color:var(--v2-muted)}
#auth-modal #auth-title{font:400 clamp(28px,4vw,40px)/1.12 Georgia,serif;letter-spacing:-.035em;color:var(--v2-text);margin:0}
#auth-modal #auth-description{color:var(--v2-muted);font-size:15px;line-height:1.55;margin:0 0 22px}
#auth-modal .modal-body{max-width:550px;padding:26px 30px 48px}
#auth-modal .auth-tabs{display:flex;gap:24px;padding:0;background:transparent;border-bottom:1px solid var(--v2-rule);border-radius:0;margin-bottom:26px;box-shadow:none;overflow:visible}
#auth-modal .auth-slider{display:none!important}
#auth-modal .auth-tab{flex:0 1 auto;padding:11px 2px 13px;color:var(--v2-muted);font:600 15px/1.3 Inter,system-ui,sans-serif;background:transparent!important;border:0;border-bottom:2px solid transparent;border-radius:0;box-shadow:none;white-space:nowrap}
#auth-modal .auth-tab.on{color:var(--v2-text);border-bottom-color:#a48a56}
[data-theme=dark] #auth-modal .auth-tab.on{border-bottom-color:var(--theme-gold)}
#auth-modal .field{margin-bottom:17px}#auth-modal .field label{font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--v2-text);margin-bottom:8px}
#auth-modal .field input{font-size:16px;min-height:49px;border-radius:9px;border:1px solid var(--v2-rule);background:var(--v2-surface);color:var(--v2-text);box-shadow:none;}
#auth-modal .field input:focus{border-color:var(--v2-blue);outline:2px solid var(--v2-blue);outline-offset:1px;box-shadow:none}
#auth-modal .choice{font:600 13px Inter,system-ui,sans-serif;background:var(--v2-surface);border:1px solid var(--v2-rule);color:var(--v2-text);border-radius:8px;padding:9px 13px;min-height:40px;box-shadow:none}
#auth-modal .choice.on{background:#15283d;color:white;border-color:#15283d}
[data-theme=dark] #auth-modal .choice.on{background:var(--theme-elevated);color:var(--theme-gold);border-color:var(--theme-gold)}
#auth-modal #si-btn,#auth-modal #su-btn{background:#15283d!important;color:#fff!important;border:1px solid #15283d;border-radius:9px;box-shadow:none;min-height:50px;font-size:15px;transition:transform .15s,background .2s}
[data-theme=dark] #auth-modal :is(#si-btn,#su-btn){background:var(--theme-gold)!important;color:#191c1f!important;border-color:var(--theme-gold)}
#auth-modal :is(#si-btn,#su-btn):active{transform:scale(.985)}
#auth-modal :is(#si-btn,#su-btn):disabled{opacity:.55;cursor:wait}
#auth-modal .oauth-btn{background:var(--v2-surface);color:var(--v2-text);border:1px solid var(--v2-rule);border-radius:9px;box-shadow:none;min-height:48px}
#auth-modal .bz-reset-link{color:var(--v2-blue);padding:10px 0}
#auth-modal .modal-x{background:transparent!important;color:var(--v2-text);border:1px solid var(--v2-rule);border-radius:9px;width:42px;height:42px;display:grid;place-items:center;flex-shrink:0}
#auth-modal .modal-x svg{width:20px;height:20px;stroke:currentColor!important}
#auth-modal :is(button,input):focus-visible,#nav #nav-signin:focus-visible{outline:2px solid var(--v2-blue);outline-offset:3px}
#auth-modal .v2-auth-side{background:#15283d;color:white}
@media(max-width:900px){#auth-modal .modal-head{padding:20px 24px}#auth-modal .modal-body{padding:22px 24px 42px;width:100%;min-width:0;overflow:visible}#auth-modal>.modal{overflow:auto;overscroll-behavior:contain;max-height:100dvh}#auth-modal .auth-tabs{gap:22px}#nav #nav-signin{min-height:40px;padding:8px 13px;font-size:13px}}
@media(max-width:360px){#auth-modal .modal-body,#auth-modal .modal-head{padding-left:16px;padding-right:16px}#nav #nav-signin{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){#auth-modal *,#nav #nav-signin{transition:none!important;animation:none!important}}
/* Keep the heading fully inside its row and the final action reachable above persistent mobile navigation. */
#auth-modal .modal-head{height:auto!important;min-height:100px;flex:0 0 auto}
#auth-modal .modal-body{min-height:0}
@media(max-width:900px){#auth-modal .modal-head{min-height:88px}#auth-modal .modal-body{padding-bottom:calc(70px + env(safe-area-inset-bottom));flex-shrink:0}}
