:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --accent: #2563eb;
  --muted: #6b7280;
  --danger: #ef4444;
  --radius: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg), #eef4ff);
  display: grid;
  place-items: center;
  padding: 24px;
  color: #111827;
}

.wrap {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  /* background: linear-gradient(135deg, var(--accent), #7c3aed); */
  color: white;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.title {
  font-size: 18px;
  line-height: 1;
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 13px;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6e9ef;
  font-size: 14px;
  outline: 0;
}

.input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
  border-color: var(--accent);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.btn:active {
  transform: translateY(1px);
}

.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.error {
  color: var(--danger);
  font-size: 13px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #e6e9ef;
  flex: 1;
  border-radius: 2px;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* small screens tweaks */
@media (max-width: 420px) {
  .wrap {
    padding: 20px;
    margin: 6px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }
}
