:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: #17202b;
  background: #f4f6f7;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

.login-layout {
  width: min(420px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  margin-bottom: 10px;
}

.brand-mark span {
  width: 5px;
  border-radius: 3px;
  background: #0f8b8d;
}

.brand-mark span:nth-child(1), .brand-mark span:nth-child(5) { height: 10px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(4) { height: 18px; }
.brand-mark span:nth-child(3) { height: 27px; background: #d97706; }

.brand-name {
  color: #597077;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-panel {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid #dfe5e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 34, 42, .08);
}

h1 { margin: 0; font-size: 26px; line-height: 1.25; }
.subtitle { margin: 9px 0 30px; color: #667085; font-size: 14px; }
form { display: flex; flex-direction: column; }
label { margin-bottom: 8px; font-size: 13px; font-weight: 700; }
label:not(:first-child) { margin-top: 18px; }

input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5dc;
  border-radius: 6px;
  outline: none;
  font: inherit;
  font-size: 15px;
}

input:focus { border-color: #0f8b8d; box-shadow: 0 0 0 3px rgba(15, 139, 141, .13); }

button {
  height: 44px;
  margin-top: 20px;
  border: 0;
  border-radius: 6px;
  background: #0f7779;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

button:hover { background: #0b6062; }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: .7; }
.error { margin: 10px 0 0; color: #be3455; font-size: 13px; }

@media (max-width: 480px) {
  .login-panel { padding: 26px 22px; }
}
