/* Entry screens share the workbench's typography, geometry and palette. */
body.sr-auth.sr-auth-v2{--sr-paper:#f4f7fc;--sr-surface:#fff;--sr-ink:#172b46;--sr-text:#344960;--sr-muted:#63758c;--sr-line:#dfe6ef;--sr-soft:#edf3fd;--sr-blue:#245eda;--sr-primary:#245eda;background:var(--sr-paper)!important;min-height:100vh}
body.sr-auth.sr-auth-v2.dark_mode{--sr-paper:#0d1625;--sr-surface:#152235;--sr-ink:#e4edf9;--sr-text:#c6d4e7;--sr-muted:#9aacc3;--sr-line:#2a3c55;--sr-soft:#203653;--sr-blue:#8db6ff;--sr-primary:#326fe0}
body.sr-auth-v2 .sr-auth-header{height:66px;min-height:66px;background:var(--sr-surface);border-bottom:1px solid var(--sr-line);padding:0 4%;box-shadow:none}
body.sr-auth-v2 .sr-auth-header .sr-brand-mark{width:32px;height:32px;border-radius:7px;transform:none}body.sr-auth-v2 .sr-auth-header .sr-brand-name{font-size:20px}body.sr-auth-v2 .sr-auth-header-note{font-size:10px}body.sr-auth-v2 .sr-auth-theme-toggle{width:34px;height:34px;border-radius:6px}
body.sr-auth-v2[data-auth-style="1"] .sr-auth-layout{max-width:1100px!important;width:calc(100% - 80px);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:65px;background:transparent;border:0!important;box-shadow:none;border-radius:0;margin:55px auto 40px;align-items:center}
body.sr-auth-v2 .sr-auth-story{background:transparent!important;border-radius:0!important;min-height:0;box-shadow:none;border:0!important;padding:0;color:var(--sr-ink)}
body.sr-auth-v2 .sr-story-copy{padding:0;background:transparent}body.sr-auth-v2 .sr-story-copy h1{font-size:34px;line-height:1.35;letter-spacing:-.03em;color:var(--sr-ink);margin:14px 0}body.sr-auth-v2 .sr-story-copy p{font-size:13px;color:var(--sr-muted);line-height:1.8;max-width:410px}body.sr-auth-v2 .sr-story-copy .sr-eyebrow{font-size:10px;letter-spacing:.12em;color:var(--sr-blue)}
.sr-auth-blueprint{margin-top:28px;border:1px solid var(--sr-line);border-radius:10px;background:var(--sr-surface);overflow:hidden;max-width:430px}.sr-blueprint-top{display:flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-bottom:1px solid var(--sr-line);background:var(--sr-paper)}.sr-blueprint-top>span{width:4px;height:4px;border-radius:50%;background:var(--sr-line)}.sr-blueprint-top>i{margin-inline-start:auto;color:var(--sr-blue);font-size:12px}.sr-blueprint-body{display:grid;grid-template-columns:38px 1fr}.sr-blueprint-rail{display:flex;flex-direction:column;gap:20px;align-items:center;padding:20px 0;border-inline-end:1px solid var(--sr-line);color:var(--sr-muted);font-size:12px}.sr-blueprint-canvas{padding:18px}.sr-blueprint-space{height:126px;background:var(--sr-soft);border:1px solid var(--sr-line);border-radius:5px;display:flex;align-items:center;justify-content:center;position:relative;color:var(--sr-blue)}.sr-blueprint-space>i{font-size:45px}.sr-blueprint-space>span{position:absolute;inset-inline-end:10px;top:9px;font-size:9px;font-weight:600}.sr-blueprint-scenes{display:flex;gap:8px;margin-top:12px}.sr-blueprint-scenes>span{height:27px;flex:1;border:1px solid var(--sr-line);border-radius:3px;background:var(--sr-paper)}.sr-auth-flow{display:flex;gap:26px;list-style:none;padding:0;margin:22px 0 0;max-width:430px}.sr-auth-flow li{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--sr-muted)}.sr-auth-flow li>span{font-size:9px;color:var(--sr-blue)}
body.sr-auth-v2 .sr-auth-layout>.row.justify-content-center{width:100%;margin:0!important;display:block}
body.sr-auth-v2 .sr-auth-layout>.row.justify-content-center>div{width:100%;max-width:none!important;flex:none;padding:0}
body.sr-auth-v2 .sr-auth-layout .card{border:1px solid var(--sr-line)!important;border-top:2px solid var(--sr-primary)!important;background:var(--sr-surface)!important;border-radius:9px!important;box-shadow:none!important;margin:0!important}
body.sr-auth-v2 .sr-auth-layout .card>.card-body>.row{min-height:0!important;margin:0!important}body.sr-auth-v2 .sr-auth-layout .bg-login-image,body.sr-auth-v2 .sr-auth-layout .bg-register-image{display:none!important}body.sr-auth-v2 .sr-auth-layout .card-body>.row>div:not(.bg-login-image):not(.bg-register-image){width:100%;max-width:100%;flex:0 0 100%;padding:0}
body.sr-auth-v2 .sr-auth-layout .p-5{padding:56px 32px 30px!important}body.sr-auth-v2 :is(#title_login,#title_register){font-size:24px!important;text-align:start;color:var(--sr-ink)}body.sr-auth-v2 #description_login{text-align:start;font-size:12px;color:var(--sr-muted);margin:10px 0 24px}body.sr-auth-v2 .sr-auth-label{font-size:12px;font-weight:500}body.sr-auth-v2 .form-control{height:41px!important;border:1px solid var(--sr-line)!important;border-radius:5px!important;background:var(--sr-paper)!important;color:var(--sr-ink)!important;font-size:13px!important;padding:10px 12px!important}body.sr-auth-v2 :is(.btn,#btn_login,#btn_register){border-radius:5px!important;min-height:40px;font-size:13px}body.sr-auth-v2 .form-group{margin-bottom:18px}body.sr-auth-v2 .form-check{padding-inline-start:0!important}body.sr-auth-v2 .modal-content{border:1px solid var(--sr-line)!important;border-radius:9px!important;background:var(--sr-surface)}body.sr-auth-v2 .dropdown-menu{border-radius:7px;border-color:var(--sr-line);box-shadow:0 10px 30px #102a4620}
body.sr-auth-v2[data-auth-style="2"] .sr-auth-layout{max-width:430px!important;margin:45px auto 30px;border:0;box-shadow:none;border-radius:0;background:transparent;width:calc(100% - 40px)}body.sr-auth-v2[data-auth-style="2"].bg_image{background-size:cover!important;background-position:center!important}
@media(max-width:850px){body.sr-auth-v2[data-auth-style="1"] .sr-auth-layout{gap:28px;width:calc(100% - 48px);margin:36px auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.sr-auth-v2 .sr-story-copy h1{font-size:28px}.sr-auth-flow{gap:14px}body.sr-auth-v2 .sr-auth-layout .p-5{padding:54px 24px 28px!important}}
@media(max-width:650px){body.sr-auth-v2 .sr-auth-header{height:58px;min-height:58px;padding-inline:20px}body.sr-auth-v2[data-auth-style="1"] .sr-auth-layout{display:flex;flex-direction:column;max-width:440px!important;width:calc(100% - 36px);gap:24px;margin:30px auto}body.sr-auth-v2 .sr-auth-story{width:100%}body.sr-auth-v2 .sr-story-copy h1{font-size:25px;margin:9px 0}body.sr-auth-v2 .sr-story-copy p{margin:0;font-size:12px}.sr-auth-blueprint,.sr-auth-flow{display:none}body.sr-auth-v2 .sr-auth-layout>.row.justify-content-center{flex:none}body.sr-auth-v2 .sr-auth-layout .card{border-radius:8px!important}body.sr-auth-v2 .sr-auth-layout .p-5{padding:50px 24px 28px!important}body.sr-auth-v2 .sr-auth-header-note{display:none}}

.sr-blueprint-space.has-auth-image{background-position:center;background-size:cover}.sr-blueprint-space.has-auth-image>i{visibility:hidden}.sr-blueprint-space.has-auth-image>span{color:#fff;background:#142b4699;padding:2px 6px;border-radius:3px}

/* Respect each page's configured theme: 1 = image alongside, 2 = background. */
body.sr-auth.sr-auth-v2:not(.bg_image){background:radial-gradient(ellipse at 82% 18%,var(--sr-soft),transparent 55%),var(--sr-paper)!important}
body.sr-auth-v2 .sr-auth-header{height:74px;min-height:74px;background:var(--sr-surface)}
body.sr-auth-v2 .sr-auth-header .sr-brand-mark{border-radius:10px;box-shadow:0 4px 12px #245eda20}
body.sr-auth-v2 .sr-auth-theme-toggle{border-radius:9px;width:36px;height:36px}
body.sr-auth-v2 .sr-auth-layout .card{position:relative;border:1px solid var(--sr-line)!important;border-top:1px solid var(--sr-line)!important;border-radius:20px!important;box-shadow:0 20px 64px #102a460c!important;overflow:visible!important}
body.sr-auth-v2 .sr-auth-layout .card:before{content:"";position:absolute;top:0;inset-inline:32px;height:2px;background:linear-gradient(90deg,transparent,var(--sr-primary),transparent);border-radius:2px}
body.sr-auth-v2.dark_mode .sr-auth-layout .card{box-shadow:0 20px 64px #00000026!important}
body.sr-auth-v2 .sr-auth-layout .p-5{padding:60px 36px 34px!important}
body.sr-auth-v2 :is(#title_login,#title_register){font-size:27px!important;font-weight:700;letter-spacing:-.03em;line-height:1.4}
body.sr-auth-v2 #description_login{font-size:13px;line-height:1.9;margin:12px 0 28px}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login{top:16px!important;inset-inline-end:24px!important}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login>.nav-link{display:flex;align-items:center;justify-content:center;width:34px;height:28px;padding:0;border:1px solid var(--sr-line);border-radius:8px;background:var(--sr-paper)}
/* Open toward the form interior; the shared layout must not clip the menu. */
body.sr-auth-v2 .sr-auth-layout{overflow:visible}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-menu{inset-inline-start:auto!important;inset-inline-end:0!important;top:calc(100% + 8px)!important;bottom:auto!important;transform:none!important;min-width:180px;max-width:calc(100vw - 72px);max-height:min(300px,calc(100dvh - 160px));overflow-y:auto;overflow-x:hidden;z-index:1000}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-menu{min-width:208px;padding:6px;margin:0;border:1px solid var(--sr-line)!important;border-radius:12px;background:var(--sr-surface)!important;box-shadow:0 14px 40px #07162c24;scrollbar-width:thin}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item{position:relative;display:flex;align-items:center;gap:12px;min-height:42px;padding:10px 34px 10px 12px;border:0;border-radius:8px;font-size:13px;font-weight:500;line-height:1.5;color:var(--sr-ink)!important;background:transparent!important;text-align:start;transition:background .15s,color .15s}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item+.dropdown-item{margin-top:3px}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item img{flex:0 0 22px;width:22px;height:15px;margin:0!important;object-fit:cover;border:0;border-radius:3px;box-shadow:0 0 0 1px #63758c30}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item>span{margin:0!important}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item:hover,body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item:focus{background:var(--sr-paper)!important;color:var(--sr-blue)!important}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item.lang_active{background:var(--sr-soft)!important;color:var(--sr-blue)!important;font-weight:600}
body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item.lang_active:after{content:"✓";position:absolute;inset-inline-end:12px;font-size:13px;font-weight:600;line-height:1}
html[dir=rtl] body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item{padding-inline:12px 34px}
@media(prefers-reduced-motion:reduce){body.sr-auth-v2 .sr-auth-layout .lang_switcher_login .dropdown-item{transition:none}}
body.sr-auth-v2 .sr-auth-label{font-size:12px;font-weight:600;margin-bottom:9px}
body.sr-auth-v2 .sr-auth-layout .form-control{height:46px!important;border-radius:10px!important;padding:12px 14px!important;background:var(--sr-paper)!important;transition:border-color .18s,box-shadow .18s}
body.sr-auth-v2 .sr-auth-layout .form-control:focus{border-color:var(--sr-primary)!important;outline:0;box-shadow:0 0 0 3px var(--sr-soft)!important}
body.sr-auth-v2 .sr-auth-layout .btn_show_hide_passw{top:auto!important;bottom:14px;inset-inline-end:15px;inset-inline-start:auto;font-size:17px;line-height:18px}
body.sr-auth-v2 .sr-auth-layout input[type=password]{padding-inline-end:44px!important}
body.sr-auth-v2 .sr-auth-layout .form-group{margin-bottom:21px}
body.sr-auth-v2 .sr-auth-layout :is(.btn-user,#btn_login,#btn_register){min-height:46px;border-radius:10px!important;font-weight:600;padding:12px 16px!important;transition:background .18s,box-shadow .18s}
body.sr-auth-v2 .sr-auth-layout .btn-primary{box-shadow:0 5px 14px #245eda20!important}
body.sr-auth-v2 .sr-auth-layout .btn-primary:hover{box-shadow:0 7px 20px #245eda30!important}
body.sr-auth-v2 .sr-auth-layout .btn-circle{min-height:38px;width:38px;padding:9px!important;border-radius:10px!important}
body.sr-auth-v2 .sr-auth-layout .form-check{gap:9px;font-size:12px;align-items:center}
body.sr-auth-v2 .sr-auth-layout input[type=checkbox]{width:16px;height:16px;flex-shrink:0}
body.sr-auth-v2 .sr-auth-layout hr{margin:25px 0;border-color:var(--sr-line)}
body.sr-auth-v2 .sr-auth-secondary-actions{display:flex;align-items:stretch;gap:12px;margin-top:18px}
body.sr-auth-v2 .sr-auth-secondary-actions>.btn{display:flex;flex:1 1 0;min-width:0;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px!important;border-radius:10px!important;font-size:12px;font-weight:500;line-height:1.5;text-align:center;white-space:normal}
body.sr-auth-v2 .sr-auth-secondary-actions>.btn>span{overflow-wrap:anywhere}
body.sr-auth-v2 .sr-auth-secondary-actions>.btn>i{flex-shrink:0;font-size:11px;line-height:1}
body.sr-auth-v2 #footer_login{background:transparent!important;border:0!important;color:var(--sr-muted);font-size:11px;box-shadow:none!important;padding-block:20px!important}
/* The split theme keeps its own illustration and image, independent of the other page. */
body.sr-auth-v2[data-auth-style="1"] .sr-auth-layout{gap:64px;margin:64px auto 32px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.sr-auth-v2[data-auth-style="1"] .sr-auth-story{min-width:0}
body.sr-auth-v2[data-auth-style="1"] .sr-story-copy h1{font-size:clamp(28px,3.2vw,38px);line-height:1.45;margin:18px 0}
body.sr-auth-v2[data-auth-style="1"] .sr-story-copy p{font-size:14px;line-height:1.95}
body.sr-auth-v2[data-auth-style="1"] .sr-auth-blueprint{margin-top:32px;max-width:none;border-radius:16px;box-shadow:0 16px 40px #102a4608}
body.sr-auth-v2[data-auth-style="1"] .sr-blueprint-top{height:36px;padding-inline:16px}
body.sr-auth-v2[data-auth-style="1"] .sr-blueprint-space{height:168px;border-radius:10px;background:radial-gradient(ellipse at 70% 20%,var(--sr-surface),transparent),var(--sr-soft)}
body.sr-auth-v2[data-auth-style="1"] .sr-blueprint-space.has-auth-image{height:230px;background-size:cover;background-position:center}
body.sr-auth-v2[data-auth-style="1"] .sr-blueprint-scenes>span{height:32px;border-radius:6px}
body.sr-auth-v2[data-auth-style="1"] .sr-auth-flow{max-width:none;justify-content:space-between;gap:12px;margin-top:24px}
/* The background theme stays centered; never replace the configured background image. */
body.sr-auth-v2[data-auth-style="2"] .sr-auth-layout{display:block;max-width:460px!important;margin:60px auto 32px;width:calc(100% - 40px)}
body.sr-auth-v2[data-auth-style="2"] :is(#title_login,#title_register){text-align:center}
body.sr-auth-v2[data-auth-style="2"] #description_login{text-align:center}
body.sr-auth-v2[data-auth-style="2"].bg_image .sr-auth-layout .card{background:var(--sr-surface)!important;box-shadow:0 24px 80px #07162c38!important}
body.sr-auth-v2.bg_register #title_register{margin-bottom:28px!important}
@media(max-width:900px){body.sr-auth-v2[data-auth-style="1"] .sr-auth-layout{width:calc(100% - 48px);gap:32px;margin-top:44px}body.sr-auth-v2 .sr-auth-layout .p-5{padding:58px 26px 30px!important}}
@media(max-width:650px){body.sr-auth-v2 .sr-auth-header{height:64px;min-height:64px}body.sr-auth-v2[data-auth-style="1"] .sr-auth-layout{display:flex;max-width:460px!important;width:calc(100% - 36px);margin:32px auto 20px;gap:24px}body.sr-auth-v2[data-auth-style="1"] .sr-story-copy h1{font-size:26px;margin:10px 0}body.sr-auth-v2[data-auth-style="1"] .sr-story-copy p{font-size:12px}body.sr-auth-v2[data-auth-style="2"] .sr-auth-layout{margin:32px auto 20px;width:calc(100% - 36px)}body.sr-auth-v2 .sr-auth-layout .card{border-radius:16px!important}body.sr-auth-v2 :is(#title_login,#title_register){font-size:25px!important}body.sr-auth-v2 .sr-auth-layout .p-5{padding:56px 24px 28px!important}}
@media(prefers-reduced-motion:reduce){body.sr-auth-v2 .sr-auth-layout :is(.form-control,.btn-user){transition:none}}
