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

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(111, 139, 235, .18), transparent 34rem),
    linear-gradient(135deg, #f7f9fd 0%, #edf2f9 100%);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.login-panel {
  width: min(100%, 440px);
  padding: 38px;
  border: 1px solid #dbe3ef;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 70px rgba(29, 55, 93, .13);
}

.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand img { width: 48px; height: 48px; object-fit: contain; }
.login-brand strong { display: block; font-size: 19px; letter-spacing: .08em; }
.login-brand span { display: block; color: #718198; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.login-copy { margin: 34px 0 26px; }
.eyebrow { color: #6a78d8; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
h1 { margin: 8px 0 10px; font-size: 34px; letter-spacing: -.04em; }
.login-copy p { margin: 0; color: #66758b; line-height: 1.55; }
label { display: block; margin: 18px 0 7px; font-size: 13px; font-weight: 700; }
input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cbd6e6;
  border-radius: 10px;
  color: #102746;
  background: #fff;
  font: inherit;
  outline: none;
}
input:focus { border-color: #7f94ee; box-shadow: 0 0 0 4px rgba(111, 133, 231, .14); }
.password-field { position: relative; }
.password-field input { padding-right: 72px; }
.password-field button {
  position: absolute;
  top: 6px;
  right: 6px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: #52647e;
  background: transparent;
  cursor: pointer;
}
.login-button {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #6f83e8, #8ba4f4);
  box-shadow: 0 9px 22px rgba(92, 116, 215, .25);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.login-button:disabled { opacity: .65; cursor: wait; }
.login-error { min-height: 20px; margin: 12px 0 0; color: #b42318; font-size: 13px; }
.switch-mode { width: 100%; margin-top: 14px; padding: 11px; border: 0; color: #536bd3; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.switch-mode:hover { text-decoration: underline; }
.trial-info { margin-bottom: 22px; padding: 13px 14px; border: 1px solid #d9e2f1; border-radius: 10px; background: #f6f8fc; }
.trial-info b,.trial-info span { display: block; }
.trial-info b { font-size: 13px; }
.trial-info span { margin-top: 4px; color: #66758b; font-size: 12px; line-height: 1.45; }
.login-security { display: block; margin-top: 24px; color: #8996a8; text-align: center; }

@media (max-width: 520px) {
  .login-panel { padding: 28px 22px; border-radius: 16px; }
  h1 { font-size: 30px; }
}
