/* Dizisavvy Support — modern staff login. Loaded after login.css */
:root {
  --brand: #4f46e5; --brand-600: #4338ca;
  --surface: #ffffff; --border: #e5e7eb; --text: #111827; --text-3: #6b7280; --danger: #dc2626;
  --bg: #f4f5fa;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --brand: #818cf8; --brand-600: #a5b4fc; --surface: #131622; --border: #262b3d; --text: #f3f4f6; --text-3: #8d93a5; --danger: #f87171; --bg: #0b0d14; }
}
html, body, body#loginBody {
  font-family: var(--font); font-size: 15px; color: var(--text); height: 100%;
  background:
    radial-gradient(800px 420px at 85% -80px, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(700px 380px at 0% 110%, color-mix(in srgb, #06b6d4 16%, transparent), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
body, input, button { font-family: var(--font); color: var(--text); }
#brickwall, #background, #blur, #background-compat { display: none !important; }

#loginBox {
  width: 420px; max-width: calc(100vw - 32px); margin-left: 0; left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  padding: 36px 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(16,24,40,.08), 0 24px 60px -16px rgba(16,24,40,.28);
  mix-blend-mode: normal; isolation: auto;
}
#loginBox:after { display: none; }
#logo a { height: auto; margin-bottom: 8px; }
#logo a img { max-height: 54px; max-width: 260px; }
.valign-helper { display: none; }
h3#login-message { margin: 8px 0 12px; font-size: 13px; font-weight: 500; color: var(--danger); min-height: 1px; }
h3#login-message:empty { display: none; }
div.banner { color: var(--text-3); font-size: 13px; }
form#login, form { width: 100%; margin: 0; }
fieldset { margin: 0; display: block; text-align: left; }
#loginBox fieldset input {
  height: auto; line-height: 1.4; box-sizing: border-box; display: block;
  width: 100%; margin-bottom: 14px; padding: 12px 14px; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06); outline: none; transition: border-color .15s, box-shadow .15s;
}
#loginBox fieldset input:focus { border: 1px solid var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
::placeholder { color: var(--text-3); font-style: normal; opacity: 1; }
fieldset h3 { display: inline-block !important; margin: 10px 0 0 !important; font-size: 13px; text-align: left; }
fieldset h3 a { color: var(--brand); font-weight: 500; text-decoration: none; }
fieldset h3 a:hover { color: var(--brand-600); }
button.submit, button[type=submit] {
  float: none !important; display: block; width: 100%; height: auto; margin-top: 16px; padding: 13px;
  font-size: 15px; font-weight: 600; line-height: 1.2; color: #fff; background: var(--brand);
  border: 0; border-radius: 10px; box-shadow: 0 1px 2px rgba(16,24,40,.12); cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
button.submit:hover, button[type=submit]:hover {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--brand) 55%, transparent);
}
button[type=submit]:disabled { opacity: .6; }
fieldset h3 + button { margin-top: 18px; }
hr { margin: 20px 0; border-bottom: 1px solid var(--border); }
.external-auth-box { border-color: var(--border); border-radius: 8px; }
#company { position: static; width: auto; margin: 22px 0 0; bottom: auto; }
#company .content { background: transparent; box-shadow: none; text-shadow: none; color: var(--text-3); font-size: 12px; padding: 0; }
#poweredBy { position: static; display: none; }
#loading.dialog { background: var(--surface); border-radius: 16px; }
@media (max-width: 480px) { #loginBox { padding: 28px 22px 22px; } }
