/* SETUP MANAGEMENT V6.4.51 — jedinstveni prozor prijave i registracije */
*{box-sizing:border-box}
html,body{min-height:100%}
body.auth-page-v6451{
  margin:0!important;
  min-height:100dvh!important;
  padding:16px!important;
  display:grid!important;
  place-items:center!important;
  background:radial-gradient(circle at 50% 0,rgba(62,104,189,.18),transparent 45%),#071522!important;
  color:#f4f8fb!important;
  font:15px/1.45 Inter,system-ui,-apple-system,Segoe UI,sans-serif!important;
}
.auth-window-v6451{
  width:min(760px,100%)!important;
  height:min(820px,calc(100dvh - 32px))!important;
  min-height:620px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  position:relative!important;
  border:1px solid #26516b!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(15,48,68,.99),rgba(8,31,46,.99))!important;
  box-shadow:0 28px 80px rgba(0,0,0,.42)!important;
}
.auth-window-v6451:before{content:'';position:absolute;z-index:5;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#52d19b)}
.auth-top-v6451{flex:0 0 auto;padding:24px 26px 0;background:rgba(6,24,36,.38);border-bottom:1px solid rgba(255,255,255,.08)}
.auth-brand-v6451{display:flex;align-items:center;gap:12px}
.auth-mark-v6451{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#3b82f6,#8b5cf6);font-weight:950;color:#fff;box-shadow:0 12px 30px rgba(77,96,255,.26)}
.auth-brand-copy-v6451{min-width:0}.auth-brand-copy-v6451 b,.auth-brand-copy-v6451 small{display:block}.auth-brand-copy-v6451 b{font-size:15px}.auth-brand-copy-v6451 small{margin-top:2px;color:#7fb4d0;font-size:9px}
.auth-switch-v6451{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:20px;padding:5px;border:1px solid #26516b;border-radius:13px;background:#071e2d}
.auth-switch-v6451 a{min-height:46px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:#a9c1d0;text-decoration:none;font-weight:900;transition:.15s ease}
.auth-switch-v6451 a:hover{background:rgba(255,255,255,.045);color:#fff}.auth-switch-v6451 a.active{background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff}
.auth-content-v6451{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:26px;scrollbar-color:#315e77 transparent}
.auth-content-v6451.login-mode{display:grid;align-content:center}
.auth-login-inner-v6451{width:min(520px,100%);margin:0 auto}
.auth-register-inner-v6451{width:100%;margin:0 auto}
.auth-eyebrow-v6451{display:block;color:#a98aff;font-size:10px;font-weight:950;letter-spacing:.13em}.auth-title-v6451{margin:7px 0 4px;font-size:30px;line-height:1.08}.auth-lead-v6451{margin:0 0 20px;color:#91afc2;font-size:12px}
.auth-window-v6451 .auth-foot-v6451{margin-top:20px;padding-top:15px;border-top:1px solid rgba(255,255,255,.08);text-align:center;color:#6f91a7;font-size:9px}.auth-window-v6451 .auth-foot-v6451 b{color:#b9d0de}
/* prijava */
.login-form-v6451{display:grid;gap:14px}.login-form-v6451 label{display:block;color:#e7f0f5;font-size:11px;font-weight:850}.login-form-v6451 input[type=text],.login-form-v6451 input[type=password]{width:100%;height:50px;margin-top:6px;padding:0 13px;border:1px solid #26516b;border-radius:11px;background:#0a2232;color:#f4f8fb;font:inherit;outline:none}.login-form-v6451 input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.18)}
.login-password-v6451{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.login-password-v6451 button{height:50px;margin-top:6px;padding:0 14px;border:1px solid #26516b;border-radius:11px;background:#0c2b3d;color:#dbeaf2;font-weight:850;cursor:pointer}.login-remember-v6451{display:flex!important;align-items:center;gap:9px;font-weight:700!important;color:#9db7c7!important}.login-remember-v6451 input{width:18px;height:18px;margin:0}.auth-submit-v6451{width:100%;min-height:52px;margin-top:2px;border:0;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;font-size:15px;font-weight:950;cursor:pointer}.login-error-v6451,.login-success-v6451{margin:0 0 16px;padding:13px 14px;border-radius:12px;font-size:12px}.login-error-v6451{border:1px solid #a83c4b;background:#4a2028;color:#ffd0d5}.login-success-v6451{border:1px solid #247d55;background:#113e31;color:#84efb7}
/* registracija: zadrži postojeće komponente, samo ih uklopi u isti prozor */
.auth-window-v6451.auth-register-v6451{width:min(760px,100%)!important}.auth-register-v6451>.auth-content-v6451 .auth{width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}.auth-register-v6451>.auth-content-v6451 .auth:before,.auth-register-v6451>.auth-content-v6451 .brand{display:none!important}
@media(max-width:620px){
 body.auth-page-v6451{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important;place-items:center!important}
 .auth-window-v6451{width:100%!important;height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;min-height:0!important;border-radius:18px!important}
 .auth-top-v6451{padding:18px 16px 0}.auth-switch-v6451{margin-top:15px}.auth-switch-v6451 a{min-height:44px}.auth-content-v6451{padding:19px 16px}.auth-content-v6451.login-mode{align-content:start}.auth-title-v6451{font-size:26px}
}
