.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-card);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-between-cards);
}

.login-logo .mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.login-logo .names {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.login-logo .brand {
  font-weight: 600;
}

.login-logo .sub {
  font-size: 11px;
  color: var(--text-muted);
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border-field);
  border-radius: var(--radius-control);
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.btn {
  width: 100%;
  border-radius: var(--radius-control);
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  margin-top: 4px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-field);
  margin-top: 10px;
}

.btn-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.error-banner {
  background: var(--attention-bg);
  border: 1px solid var(--attention-border);
  color: var(--attention-title);
  border-radius: var(--radius-control);
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
