:root {
  --seid-blue: #1367d6;
  --seid-blue-dark: #0b3d86;
  --bg-main: #f5f7fb;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --danger: #b91c1c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--seid-blue-dark);
  text-decoration: none;
  font-size: 0.85rem;
}

a:hover { text-decoration: underline; }

.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  padding: 2rem 2.2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

@media (max-width: 480px) {
  .login-card { padding: 1.6rem 1.4rem; }
}

.logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  text-align: center;
}

.logo-circle {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.login-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-align: center;
}

.login-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.4rem;
}

.error-banner {
  margin-bottom: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.82rem;
  background: #fee2e2;
  color: var(--danger);
  border: 1px solid #fecaca;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
}

.input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  outline: none;
  background: #f9fafb;
}

.input:focus {
  border-color: var(--seid-blue);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(19, 103, 214, 0.18);
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--seid-blue);
  cursor: pointer;
}

.btn-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--seid-blue);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(19, 103, 214, 0.35);
}

.btn-primary:hover { filter: brightness(1.03); }

.btn-secondary {
  background: #ffffff;
  color: var(--seid-blue-dark);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover { background: #f9fafb; }

.extra {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}