/* ==== RESET & BASE ==== */
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: #f9fafb;
  color: #111827;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem;
}

/* Ocultar footer y scripts de terceros */
footer,
.zp-open-popup-button,
#zp-11-1-2-licdn-root-apollo_everywhere {
  display: none !important;
}

/* ==== CONTENEDOR PRINCIPAL ==== */
.container.wrap {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
}

/* ==== LOGO ==== */
.header .logo img {
  width: 120px;
  display: block;
  margin-bottom: 2rem;
}

/* ==== TITULOS ==== */
h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

/* ==== TEXTOS ==== */
p,
label {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
}

/* ==== FORMULARIOS ==== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==== INPUTS (checkbox/radio nativos mejorados) ==== */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #111827;
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  vertical-align: middle;
  cursor: pointer;
}

/* ==== BOTONES ==== */
.button,
#btn-unsub,
input[type="submit"] {
  background-color: #111827;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}

.button:hover,
#btn-unsub:hover,
input[type="submit"]:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

/* ==== BOTÓN SECUNDARIO ==== */
.section a {
  display: inline-block;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.section a:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

/* ==== PRIVACIDAD Y DATOS ==== */
#data-form section {
  margin-top: 2rem;
}

#data-form .row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

#data-form label strong {
  font-weight: 600;
  color: #111827;
}

#data-form .row br {
  display: none;
}

/* ==== BOTÓN OUTLINE (continuar) ==== */
.button-outline,
input[type="submit"].button-outline {
  background-color: #fff;
  border: 1.5px solid #111827;
  color: #111827;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-outline:hover,
input[type="submit"].button-outline:hover {
  background-color: #111827;
  color: #fff;
}

/* ==== ESPACIADOS ==== */
.section {
  margin-bottom: 2rem;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 480px) {
  .container.wrap {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .button,
  #btn-unsub,
  .section a,
  input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}
