:root {
  --ct-bg: #f7f4ef;
  --ct-surface: #fffdf9;
  --ct-text: #1e3a5f;
  --ct-muted: #5c6b7a;
  --ct-accent: #e05a4a;
  --ct-border: #d9e2ec;
  --ct-font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --ct-display: "Playfair Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.cursotest-access {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  font-family: var(--ct-font);
  color: var(--ct-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 182, 193, 0.2) 0, transparent 42%),
    radial-gradient(circle at 90% 12%, rgba(255, 210, 180, 0.16) 0, transparent 40%),
    var(--ct-bg);
}

.cursotest-access__card {
  width: min(100%, 26rem);
  padding: 2rem 1.75rem;
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.08);
}

.cursotest-access__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ct-accent);
}

.cursotest-access__card h1 {
  margin: 0 0 0.75rem;
  font-family: var(--ct-display);
  font-size: 1.85rem;
  line-height: 1.2;
}

.cursotest-access__lead {
  margin: 0 0 1.5rem;
  color: var(--ct-muted);
  line-height: 1.45;
}

.cursotest-access__form {
  display: grid;
  gap: 0.45rem;
}

.cursotest-access__form label {
  font-size: 0.9rem;
  font-weight: 700;
}

.cursotest-access__form input {
  margin-bottom: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--ct-border);
  border-radius: 10px;
  font: inherit;
  color: inherit;
  background: #fff;
}

.cursotest-access__form input:focus {
  outline: 2px solid rgba(224, 90, 74, 0.35);
  border-color: var(--ct-accent);
}

.cursotest-access__form button {
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--ct-accent);
  cursor: pointer;
}

.cursotest-access__form button:hover {
  filter: brightness(0.96);
}

.cursotest-access__error {
  margin: 0 0 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fdecea;
  color: #b42318;
  font-size: 0.92rem;
}
