:root {
  --red: #e30613;
  --red-dark: #b8000d;
  --bg: #f3f5f8;
  --panel: #ffffff;
  --line: #dfe5ee;
  --text: #1f2328;
  --muted: #667085;
  --shadow: 0 16px 38px rgba(31, 41, 55, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

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

.login-card {
  width: min(360px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.login-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--red);
  margin-bottom: 18px;
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.login-card h1 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.login-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #4b5563;
  margin: 12px 0 6px;
}

.login-card input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  color: var(--text);
}

.login-card button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  margin-top: 18px;
  cursor: pointer;
}

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

.login-card button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.login-error {
  min-height: 18px;
  margin-top: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}
