@import url('/mobile-forms.css?v=0.18.6');

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f8ff;
  color: #10233f;
}

* { box-sizing: border-box; }

html, body { min-width: 320px; min-height: 100%; margin: 0; }

body {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 18px;
  background: linear-gradient(145deg, #f7faff, #eaf3ff);
}

.login-card {
  position: relative;
  z-index: 10;
  width: min(100%, 460px);
  border: 1px solid #dce7f5;
  border-radius: 22px;
  padding: clamp(24px, 6vw, 40px);
  background: #fff;
  box-shadow: 0 26px 70px rgba(6, 26, 51, .13);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.brand img { width: 58px; height: 58px; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 2rem; font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.brand span { margin-top: 5px; color: #52708f; font-size: .78rem; font-weight: 750; }

.eyebrow { margin: 0 0 8px; color: #006bff; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0 0 10px; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.06em; line-height: 1; }
.copy { margin: 0; color: #60758a; line-height: 1.55; }

form { position: relative; z-index: 20; display: grid; gap: 15px; margin-top: 24px; }
label { position: relative; z-index: 21; display: grid; gap: 7px; color: #233e59; font-size: .82rem; font-weight: 800; cursor: text; }
input {
  position: relative;
  z-index: 22;
  width: 100%;
  min-height: 54px;
  border: 1px solid #cbd9e8;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfdff;
  color: #10233f;
  font: inherit;
  font-size: 16px;
  line-height: 1.35;
  caret-color: #006bff;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}
input:focus { border-color: #006bff; background: #fff; box-shadow: 0 0 0 4px rgba(0,107,255,.1); outline: none; }
button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  background: #006bff;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled { opacity: .65; cursor: wait; }
.error { min-height: 22px; margin: 0; color: #a83f45; font-size: .82rem; font-weight: 750; }
.links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 18px; }
a { color: #006bff; font-size: .8rem; font-weight: 800; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
.secure { margin: 18px 0 0; color: #8495a5; font-size: .72rem; }

@media (max-width: 430px) {
  body { padding: 10px; align-items: start; }
  .login-card { margin-top: 10px; border-radius: 18px; padding: 22px 18px; }
}
