/* The login page (team login, 13 Nov 2026). The dashboard's own look: style.css's body, panel, input, button and
   .warning values, the sidebar's brand block. Colours: navy #0a1f3c, blue #0b66c3 and its tints, greys, white;
   amber (the .warning colours) only for the error line. No looping motion. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#f6f8fb;color:#0a1f3c;font-family:Geist,Arial,sans-serif;font-size:14px;line-height:1.5}
button,input{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0}
h1,p{margin:0}
[hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
button:focus-visible,input:focus-visible{outline:2px solid #5b9be6;outline-offset:2px}

.login-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,400px);place-content:center;justify-items:center;gap:18px;padding:40px 16px}
.login-card{width:100%;background:#fff;border:1px solid #dfe7f1;border-radius:16px;padding:30px 32px 26px;box-shadow:0 10px 36px #0a1f3c0f}

/* the sidebar's brand block */
.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:26px;color:#0a1f3c;font-size:20px;font-weight:650;letter-spacing:-.6px;line-height:1.2}
.login-brand img{width:29px;height:32px;object-fit:contain;flex-shrink:0}
.login-brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#8a99ac;font-weight:500;margin-top:2px}

.login-form{display:grid;gap:16px}
.login-form h1{font-size:22px;font-weight:600;letter-spacing:-.5px;line-height:1.25;outline:none}
.login-lead{font-size:12px;color:#77869b;margin-top:-10px;line-height:1.6}
.login-who{font-size:12px;color:#304c70;background:#eaf2fd;border-radius:8px;padding:9px 12px;overflow-wrap:anywhere}
.login-who b{font-weight:600;color:#0a1f3c}
.login-field{display:grid;gap:6px}
.login-field label{font-size:12px;font-weight:500;color:#304c70}
.login-field input{width:100%;min-height:44px;border:1px solid #d9e3ef;border-radius:8px;padding:10px 12px;background:#fff;color:#254568;font-size:14px;transition:border-color .15s}
.login-field input:hover{border-color:#8db7e3}
.login-field input[aria-invalid="true"]{border-color:#e0b25c}

/* password with a show / hide eye */
.pw-field{position:relative}
.pw-field input{padding-right:46px}
.pw-eye{position:absolute;top:4px;right:4px;width:36px;height:36px;display:grid;place-items:center;border-radius:6px;color:#6d88a7;transition:background .15s,color .15s}
.pw-eye:hover{background:#edf3fa;color:#0b66c3}
.pw-eye svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pw-eye .eye-shut,.pw-eye[aria-pressed="true"] .eye-open{display:none}
.pw-eye[aria-pressed="true"] .eye-shut{display:inline}

/* the rules under the new password: a grey ring, a blue tick once met */
.pw-rules{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11px;color:#8a9ab0;line-height:1.5}
.pw-rules li{display:flex;align-items:center;gap:6px}
.pw-rules li::before{content:'';width:12px;height:12px;flex-shrink:0;border-radius:50%;border:1.5px solid #c8d5e5;box-sizing:border-box}
.pw-rules li.met{color:#0b66c3}
.pw-rules li.met::before{border-color:#0b66c3;background:#0b66c3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6.2 2 2 4-4.4'/%3E%3C/svg%3E") center/10px no-repeat}

/* the dashboard's .button.primary, full width */
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d9e2ef;background:#fff;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s}
.button.primary{color:#fff;background:#0b66c3;border-color:#0b66c3;box-shadow:0 3px 7px #0b66c316}
.button.primary:hover:not(:disabled){background:#084e99;border-color:#084e99}
.login-submit{width:100%;min-height:44px;margin-top:4px;padding:10px 17px}
.login-submit:disabled{opacity:.55;cursor:not-allowed}
.login-submit[aria-busy="true"]{opacity:.8;cursor:progress}

/* the error line: style.css .warning */
.login-error{font-size:12px;line-height:1.55;background:#fff5e4;color:#94620b;padding:10px 12px;border-radius:8px;margin:-8px 0 18px}
.login-form .login-error{margin:0}
.login-help{font-size:11px;color:#8a9ab0;text-align:center}
.login-link{font-size:11px;color:#0b66c3;font-weight:500;padding:0 2px;border-radius:4px}
.login-link:hover{text-decoration:underline}
.login-foot{font-size:11px;color:#9aa8ba}

@media(max-width:480px){
  .login-shell{place-content:start center;padding:28px 16px 32px}
  .login-card{padding:24px 20px 22px;border-radius:14px}
  .login-brand{margin-bottom:22px}
  .login-form h1{font-size:20px}
  .login-field input{font-size:16px}   /* phones zoom into inputs under 16px */
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
