/* The authentication surface is independent from the application workspace. */
.auth-shell{--panel-ease:cubic-bezier(.76,0,.24,1);display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px;background:radial-gradient(ellipse at 100% 0,#e4eee6,transparent 50%),#f5f5ef;min-height:100svh;overflow:clip}
.auth-story{grid-column:1;grid-row:1;min-width:0;min-height:calc(100svh - 40px);padding:40px 44px;border-radius:26px;z-index:2;transform:translateX(0);box-shadow:0 18px 50px #083b2a18}
.auth-content{grid-column:2;grid-row:1;min-width:0;padding:42px 9%;border-radius:26px;background:transparent;transform:translateX(0);z-index:1}
.auth-shell.is-ready .auth-story{transition:transform .85s var(--panel-ease),border-radius .85s var(--panel-ease)}
.auth-shell.is-ready .auth-content{transition:transform .85s var(--panel-ease)}
.auth-shell.register-mode .auth-story{transform:translateX(calc(100% + 12px))}
.auth-shell.register-mode .auth-content{transform:translateX(calc(-100% - 12px))}
.auth-story:before{background:linear-gradient(180deg,#05271d68,#05271d20 30%,#05271dd9 72%,#05271df5),url('/brand/auth-architecture.png') center/cover;animation:none}
.auth-story:after{background:radial-gradient(ellipse at 10% 90%,#12855e40,transparent 60%)}
.auth-story .brand{font-size:26px;gap:9px;letter-spacing:-1.1px;position:relative;z-index:1}
.auth-story .brand span{font-size:7px;letter-spacing:1.5px;padding:6px 7px;margin-left:auto;border-color:#ffffff35;background:#ffffff08}
.story-copy{padding:70px 0 32px;position:relative;z-index:1;max-width:580px;animation:none}
.story-copy h2{font-size:clamp(35px,3.8vw,60px);letter-spacing:-2.5px;line-height:1.12;margin-bottom:22px}
.story-copy .eyebrow{font-size:9px;color:#d6e2d9;letter-spacing:1.5px;margin-bottom:20px}
.story-copy p{font-size:13px;line-height:1.85;color:#d6e2d9;max-width:355px;margin-bottom:0}
.story-ornament{position:absolute;top:24%;left:44px;display:flex;align-items:center;gap:10px;opacity:.65}
.story-ornament span{display:block;width:7px;height:7px;border:1px solid #e7ce8d;transform:rotate(45deg)}
.story-ornament span:nth-child(2){width:35px;height:1px;background:#e7ce8d;border:0;transform:none;opacity:.65}
.story-ornament span:nth-child(3){width:5px;height:5px;background:#e7ce8d}
.story-preview{max-width:none;border-radius:15px;padding:17px 18px;border-color:#ffffff25;background:linear-gradient(115deg,#ffffff10,#ffffff04);box-shadow:inset 0 1px #ffffff08}
.preview-mark{width:42px;height:42px;border-radius:11px;background:linear-gradient(135deg,#f2dfa9,#d2b572);box-shadow:0 5px 16px #00000018}
.story-preview strong{font-size:12px}.story-preview span{font-size:10px}.auth-story footer{margin-top:42px;font-size:9px;color:#b6ccbf}
.auth-form-wrap{max-width:430px;animation:auth-enter .65s ease-out}
.auth-form-wrap>.eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:15px}
.auth-form-wrap h1{font-size:clamp(29px,2.7vw,39px);letter-spacing:-1.7px;margin-bottom:12px;line-height:1.2}
.auth-form-wrap .lead{font-size:13px;line-height:1.9;margin-bottom:34px;max-width:350px}
.auth-form-wrap label{font-size:11px;letter-spacing:.1px}
.auth-form-wrap input:not([type=checkbox]){background:#ffffffb8;border-color:#d6dfd7;min-height:51px;padding:14px 15px;border-radius:12px;box-shadow:0 2px 3px #0e5c4102}
.auth-form-wrap input:not([type=checkbox]):focus{border-color:var(--brand);background:#fff;box-shadow:0 0 0 4px #0e5c4109;outline:0}
.auth-form-wrap .button.primary{min-height:54px;border-radius:12px;padding-inline:21px;box-shadow:0 6px 15px #0e5c4117}
.auth-form-wrap .button.primary:hover{box-shadow:0 10px 25px #0e5c4128;transform:translateY(-2px)}
.auth-form-wrap .auth-switch{font-size:11px;line-height:1.8}.auth-form-wrap .auth-switch a{display:inline-block;border-bottom:1px solid #0e5c4150;text-decoration:none;padding-bottom:2px}
.register-wrap .lead{margin-bottom:22px}.register-wrap .form-stack{gap:13px}.register-wrap input:not([type=checkbox]){min-height:45px;padding-block:11px}.register-wrap .password-field button{top:4px}.register-wrap .auth-switch{margin-bottom:0}.register-wrap .fine-print{font-size:10px}
.auth-shell.is-switching{cursor:progress}.auth-shell.is-switching a{pointer-events:none}
@media(min-width:1700px){.auth-story{padding:50px 65px}.auth-content{padding-inline:15%}.story-copy{padding-top:160px}.story-ornament{left:65px}}
@media(max-width:1100px){.auth-story{padding:30px}.auth-content{padding:34px 7%}.auth-story .brand span{display:none}.story-copy h2{font-size:42px}.story-copy .eyebrow{font-size:8px}.story-ornament{left:30px}.auth-story footer{margin-top:32px;gap:8px}.auth-form-wrap h1{font-size:29px}}
@media(max-width:800px){
 .auth-shell{display:block;padding:0;overflow:clip;background:radial-gradient(ellipse at 100% 0,#dfece2,transparent 55%),#f9f9f4}
 .auth-story{display:none}.auth-content,.auth-shell.register-mode .auth-content{transform:none;padding:28px 24px 40px;min-height:100svh;display:flex;gap:40px;justify-content:flex-start;transition:none!important}
 .auth-form-wrap{margin:auto;max-width:450px}.auth-form-wrap h1{font-size:34px}.auth-form-wrap .lead{margin-bottom:30px}.register-wrap .lead{margin-bottom:22px}.register-wrap{margin:0 auto}.mobile-brand{margin-bottom:4px}.auth-shell.is-ready .auth-story{transition:none}
}
@media(max-width:380px){.auth-content{padding:24px 16px 36px}.auth-form-wrap h1{font-size:30px}.register-wrap .form-grid{grid-template-columns:1fr 1fr;gap:10px}}
@media(prefers-reduced-motion:reduce){.auth-shell.is-ready .auth-story,.auth-shell.is-ready .auth-content{transition:none}.auth-form-wrap{animation:none}}

/* Giris.dc.html: original brand panel and inset field labels, in a compact frame. */
.auth-stage{min-height:100svh;display:grid;place-items:center;padding:32px 24px;background:radial-gradient(ellipse at 90% 10%,#e3eee5,transparent 55%),#eae7e0}
.auth-shell.theme-auth{width:100%;max-width:1080px;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:10px;border:1px solid #14231c10;border-radius:26px;background:#f4f1eb;box-shadow:0 24px 64px -32px #14231c45}
.theme-auth .auth-story{min-height:600px;padding:32px;border-radius:18px;background:linear-gradient(160deg,#12855e,#0e5c41 50%,#0a4531);box-shadow:none}
.theme-auth .auth-story:before{background:linear-gradient(160deg,#12855ecf,#0e5c41db 55%,#0a4531f5),url('/brand/auth-architecture.png') center/cover;opacity:1}
.theme-auth .auth-story:after{background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px),radial-gradient(circle at 110% -10%,#ffffff12 0 32%,transparent 32.2%);background-size:48px 48px,48px 48px,100% 100%}
.theme-auth-brand{display:flex;gap:12px;align-items:center;color:#fff;position:relative;z-index:1}
.theme-auth-brand:hover{color:#fff;text-decoration:none}.theme-auth-brand img{width:44px;height:44px;border-radius:12px;box-shadow:0 10px 24px -10px #0008}
.theme-auth-brand strong{display:block;font-size:21px;letter-spacing:-.5px}.theme-auth-brand small{display:block;color:#ffffffbf;font-size:9px;letter-spacing:1.8px;margin-top:3px}
.theme-story-copy{position:relative;z-index:1;margin-block:48px;max-width:420px}
.theme-story-copy h2{font-size:clamp(30px,3vw,40px);font-weight:800;letter-spacing:-1.4px;line-height:1.13;margin:0}.theme-story-copy h2 em{color:#e8c77a;font-style:normal}
.theme-story-copy p{font-size:14px;line-height:1.65;color:#ffffffcf;margin:18px 0 0}
.theme-story-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.theme-story-tags span{font-size:11px;font-weight:600;white-space:nowrap;background:#ffffff18;border:1px solid #ffffff30;padding:8px 12px;border-radius:30px}
.theme-auth .auth-story footer{position:relative;font-size:10px;line-height:1.6;color:#ffffff9c;margin:0}
.auth-shell.theme-auth .auth-content{padding:28px 32px;border-radius:18px;min-height:0;background:transparent}
.theme-auth .auth-form-wrap{max-width:390px;margin:0 auto}.theme-auth .auth-form-wrap h1{font-size:28px;letter-spacing:-.6px;line-height:1.25;margin:0}
.theme-auth .auth-form-wrap .lead{font-size:13px;line-height:1.6;max-width:none;margin:9px 0 26px}
.theme-auth .form-stack{gap:14px}.theme-auth .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.theme-auth .auth-field{min-width:0;gap:3px;border:1.5px solid #14231c21;border-radius:13px;background:#fff;padding:9px 13px;font-size:11px;color:var(--muted);font-weight:600;transition:border-color .18s,box-shadow .18s}
.theme-auth .auth-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--soft)}
.theme-auth .auth-field input:not([type=checkbox]){min-width:0;min-height:25px;height:25px;padding:0;border:0;border-radius:0;background:transparent;font-size:14px;line-height:25px;font-weight:600;box-shadow:none;outline:none}
.theme-auth .auth-field input:not([type=checkbox]):focus{background:transparent;box-shadow:none}
.theme-auth .password-field input{padding-right:32px!important}.theme-auth .password-field button{display:grid;place-items:center;right:-6px;top:-10px;width:38px;height:40px}
.theme-auth .auth-field-group{display:grid;gap:4px}.theme-auth .auth-field-group>small{padding-left:2px;font-size:10px}
.theme-auth .forgot-link{font-size:12px;margin-top:0}.theme-auth .auth-form-wrap .button.primary{min-height:48px;justify-content:center;border-radius:13px;font-size:14px;box-shadow:0 12px 24px -14px var(--brand);margin-top:4px}
.theme-auth .auth-form-wrap .auth-switch{font-size:12px;margin:24px 0 0}.theme-auth .auth-form-wrap .auth-switch a{border:0;padding:0}
.theme-auth .register-wrap .lead{margin-bottom:20px}.theme-auth .register-wrap .form-stack{gap:10px}.theme-auth .register-wrap .form-stack>small{font-size:10px;line-height:1.6}.theme-auth .register-wrap .fine-print{font-size:10px;line-height:1.6}.theme-auth .register-wrap .auth-switch{margin-top:18px}
@media(max-width:1000px) and (min-width:801px){.auth-stage{padding:24px 18px}.theme-auth .auth-story{padding:26px}.auth-shell.theme-auth .auth-content{padding:26px 22px}.theme-auth .auth-form-wrap h1{font-size:26px}.theme-story-tags{gap:6px}.theme-story-tags span{font-size:10px;padding:7px 10px}}
@media(max-width:800px){
 .auth-stage{padding:24px 16px}.auth-shell.theme-auth{display:block;max-width:480px;padding:0;border-radius:22px;overflow:clip}
 .auth-shell.theme-auth .auth-content{padding:28px;gap:30px;min-height:0;transform:none;border-radius:22px}
 .theme-auth .mobile-brand{margin:0;font-size:21px}.theme-auth .mobile-brand img{width:32px;height:32px}
 .theme-auth .auth-form-wrap{margin:0 auto;max-width:none}.theme-auth .auth-form-wrap h1{font-size:28px}.theme-auth .auth-field input:not([type=checkbox]){font-size:16px}
}
@media(max-width:380px){.auth-stage{padding:16px 12px}.auth-shell.theme-auth .auth-content{padding:24px 18px}.theme-auth .auth-form-wrap h1{font-size:25px}.theme-auth .auth-field{padding-inline:10px}.theme-auth .form-grid{gap:10px}}

/* Registration follows the mobile form: section labels and outlined fields. */
.theme-auth .register-wrap .form-stack{gap:20px}
.register-section{min-width:0;margin:0;padding:0;border:0}
.register-section legend{width:100%;padding:0;margin-bottom:20px;color:var(--brand);font-size:13px;font-weight:700}
.register-section legend span{display:flex;align-items:center;gap:12px}
.register-section legend span:after{content:"";flex:1;height:1px;background:var(--line)}
.register-fields{display:grid;gap:18px}
.register-field{position:relative;min-width:0}
.theme-auth .register-field>label{position:absolute;top:0;left:12px;z-index:1;display:block;max-width:calc(100% - 24px);transform:translateY(-50%);padding:0 5px;background:linear-gradient(#f4f1eb 50%,#fff 50%);font-size:11px;font-weight:600;line-height:1.35;color:var(--muted)}
.register-field:focus-within>label{color:var(--brand)}
.required-mark{color:var(--danger)}
.register-control{display:flex;align-items:center;min-height:50px;min-width:0;border:1px solid #cbd5ce;border-radius:16px;background:#fff;transition:border-color .18s,box-shadow .18s}
.register-field:focus-within>.register-control{border-color:var(--brand);box-shadow:0 0 0 3px #0e5c4109}
.register-field:has(input:user-invalid)>.register-control{border-color:var(--danger);background:#fff4f2}
.register-field:has(input:user-invalid)>label{color:var(--danger);background:linear-gradient(#f4f1eb 50%,#fff4f2 50%)}
.theme-auth .register-control>input:not([type=checkbox]){min-width:0;min-height:48px;height:48px;margin:0;padding:13px 16px;border:0;border-radius:16px;background:transparent;box-shadow:none;outline:none;font-size:14.5px;font-weight:500;line-height:1.35}
.theme-auth .register-control>input:not([type=checkbox]):focus{background:transparent;box-shadow:none}
.register-control.company-control>svg{flex:none;margin-left:16px;color:var(--muted)}
.theme-auth .company-control>input:not([type=checkbox]){padding-left:10px}
.register-field-group{display:grid;gap:6px}
.register-field-group>small{padding-inline:2px;font-size:11px;line-height:1.5}
.theme-auth .register-wrap .password-field>input{padding-right:50px!important}
.theme-auth .register-wrap .password-field>button{top:2px;right:3px;width:44px;height:44px;border-radius:12px}
.password-eye-slash{display:none}
[data-password-toggle][aria-pressed=true] .password-eye-slash{display:block}
.phone-country{flex:none}
.phone-country-trigger{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;min-width:76px;margin-left:4px;padding:0 8px;border:0;border-radius:12px;background:transparent;color:var(--ink);font-size:14px;font-weight:600}
.phone-country-trigger:hover{background:var(--soft)}
.theme-auth .phone-control>input:not([type=checkbox]){padding-left:10px}
.phone-control>input{border-left:1px solid var(--line)!important;border-top-left-radius:0!important;border-bottom-left-radius:0!important}
.theme-auth .register-wrap .fine-print{font-size:11px;line-height:1.6}
.theme-auth .register-wrap .button.primary{gap:10px;margin-top:0;min-height:50px;border-radius:16px}
.country-dialog{width:min(420px,calc(100% - 32px));max-height:min(640px,calc(100svh - 48px));padding:20px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 24px 80px #14231c40}
.country-dialog[open]{display:flex;flex-direction:column;gap:16px}
.country-dialog::backdrop{background:#14231c66}
.country-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.country-dialog-heading h2{margin:0;font-size:19px;letter-spacing:-.3px}
.country-dialog-heading button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--soft);color:var(--brand)}
.country-dialog input[type=search]{flex:none;width:100%;min-height:48px;font-size:16px}
.country-options{overflow:auto;overscroll-behavior:contain;min-height:0}
.country-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:46px;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;font-size:14px}
.country-option:hover,.country-option[aria-pressed=true]{background:var(--soft);color:var(--brand)}
.country-dial-code{flex:none;color:var(--muted);font-weight:600}
.country-empty{margin:12px;color:var(--muted);font-size:13px}
@media(max-width:800px){.theme-auth .register-control>input:not([type=checkbox]){font-size:16px}}
@media(max-width:480px){.country-dialog{width:100%;max-width:100%;max-height:75svh;margin:auto 0 0;border-radius:22px 22px 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom))}}
