:root {
  --pf-black: #0a0a0a;
  --pf-black-card: #141414;
  --pf-magenta: #E6017E;
  --pf-magenta-dim: #a3015b;
  --pf-white: #ffffff;
  --pf-gray: #a9a8a6;
  --pf-error: #ff6b6b;
  --pf-radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--pf-black);
  color: var(--pf-white);
  font-family: "Montserrat", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 50% -10%, rgba(230, 1, 126, 0.25), transparent 55%),
    var(--pf-black);
}

.card {
  width: 100%;
  max-width: 480px;
  background: var(--pf-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--pf-radius);
  padding: 36px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  object-fit: contain;
}

h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  margin: 0 0 8px;
}

.subtitle {
  text-align: center;
  color: var(--pf-gray);
  font-size: 14px;
  margin: 0 0 28px;
}

.field {
  margin-bottom: 18px;
  border: none;
  padding: 0;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--pf-white);
}

legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 8px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1c1c1c;
  color: var(--pf-white);
  font-size: 15px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--pf-magenta);
  box-shadow: 0 0 0 3px rgba(230, 1, 126, 0.25);
}

.sede-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sede-pill {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #1c1c1c;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  transition: border-color 0.15s, background 0.15s;
}

.sede-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sede-pill:has(input:checked) {
  background: var(--pf-magenta);
  border-color: var(--pf-magenta);
}

.sede-pill:has(input:focus-visible) {
  outline: 2px solid var(--pf-white);
}

.checkbox-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  color: var(--pf-gray);
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--pf-magenta);
  flex-shrink: 0;
}

.checkbox-field a {
  color: var(--pf-magenta);
}

.field-error {
  color: var(--pf-error);
  font-size: 12px;
  margin: 6px 0 0;
  min-height: 14px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  min-height: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 16px;
}

.form-banner.success { color: #4ade80; }
.form-banner.error { color: var(--pf-error); }

button[type="submit"] {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: var(--pf-magenta);
  color: var(--pf-white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

button[type="submit"]:hover { background: var(--pf-magenta-dim); }
button[type="submit"]:active { transform: scale(0.98); }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 400px) {
  .card { padding: 28px 18px; }
}
