/* WAENN — waenn-simple: formulario de suscripción limpio */
.wsf-root {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.wsf-form-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#s-access[data-access-provider="waenn-simple"] #access-experience,
#s-access[data-access-provider="waenn-simple"] .access-brevo-host {
  display: none !important;
}

.wsf-field {
  display: flex;
  flex-direction: column;
}

.wsf-input,
.wsf-select {
  width: 100%;
  background-color: rgba(250, 249, 247, 0.9);
  border: 1.5px solid rgba(26, 26, 26, 0.14);
  border-radius: 999px;
  padding: 18px 28px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.wsf-input::placeholder {
  color: rgba(26, 26, 26, 0.38);
  font-weight: 400;
}

.wsf-input:focus,
.wsf-select:focus {
  border-color: rgba(26, 26, 26, 0.45);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Custom select wrapper for arrow */
.wsf-select-wrap {
  position: relative;
}

.wsf-select {
  padding-right: 48px;
  cursor: pointer;
}

.wsf-select-wrap::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(26, 26, 26, 0.35);
  pointer-events: none;
  transition: border-top-color 0.2s ease;
}

.wsf-select-wrap:focus-within::after {
  border-top-color: rgba(26, 26, 26, 0.6);
}

.wsf-select-wrap:focus-within .wsf-select {
  border-color: var(--red);
}

.wsf-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(26, 26, 26, 0.72);
  letter-spacing: 0.01em;
}

.wsf-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(26, 26, 26, 0.3);
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  margin-top: 1px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wsf-consent input[type="checkbox"]:checked {
  background: var(--red);
  border-color: var(--red);
}

.wsf-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.wsf-consent__link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wsf-btn {
  background-color: var(--red);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 18px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.3s ease;
  width: 100%;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.18);
  position: relative;
  overflow: hidden;
}

.wsf-btn:hover {
  background-color: #a80e26;
  box-shadow: 0 6px 22px rgba(200, 16, 46, 0.28);
  transform: translateY(-1px);
}

.wsf-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.14);
}

.wsf-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Estado de éxito */
.wsf-done {
  display: none;
}

.wsf-root--submitted .wsf-form-content {
  display: none;
}

.wsf-root--submitted .wsf-done {
  display: block;
}
