:root {
  --sidebar: #091A30;
  --surface: #FFFFFF;
  --canvas: #F4F7FA;
  --ink: #142033;
  --muted: #65758B;
  --line: #DCE3EA;
  --teal: #2563EB;
  --teal-dark: #163A68;
  --danger: #B4232C;
  --shadow: 0 16px 42px rgba(7, 22, 43, 0.16);
  /* font-family: "Segoe UI", Arial, sans-serif; */
  font-family: Manrope, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(7, 154, 145, 0.08), rgba(31, 158, 212, 0.08)),
    var(--canvas);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

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

.login-panel {
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
  border: transparent;
  /* border-radius: 8px; */
  /* background: var(--teal); */
  background: transparent;
  color: white;
  font-weight: 800;
}

.login-brand div:last-child,
.login-heading,
.login-form,
.login-form label {
  display: grid;
  gap: 6px;
}

.login-brand span,
.login-heading p,
.login-form label span {
  color: var(--muted);
  font-size: 12px;
}

.login-heading {
  margin-top: 30px;
  gap: 8px;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-heading h1 {
  margin: 0;
  font-size: 28px;
}

.login-heading p {
  margin: 0;
  line-height: 1.5;
}

.login-form {
  margin-top: 24px;
  gap: 16px;
}

.login-form input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  outline: none;
}

.login-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(7, 154, 145, 0.14);
}

.password-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.password-field input {
  border: 0;
  box-shadow: none;
}

.password-field button {
  height: 30px;
  margin-right: 6px;
  border: 0;
  border-radius: 5px;
  background: #e6f5f3;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.login-button {
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.login-button:hover {
  background: var(--teal-dark);
}

.form-error {
  padding: 10px 12px;
  border-radius: 6px;
  background: #fdeaea;
  color: var(--danger);
  font-size: 12px;
}

.field-error {
  color: var(--danger);
  font-size: 11px;
  line-height: 1.35;
}
