/* Estilos responsive y limpios para el formulario */
.fw-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.fw-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  padding: 20px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.fw-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.fw-row label {
  font-weight: 600;
  margin-bottom: 6px;
}

.fw-row input[type="text"],
.fw-row input[type="email"],
.fw-row textarea {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  width: 100%;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}

.fw-row input[type="text"]:focus,
.fw-row input[type="email"]:focus,
.fw-row textarea:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244,63,94,.15);
}

.fw-fieldset {
  border: 0;
  margin: 10px 0 6px;
  padding: 0;
}

.fw-fieldset legend {
  font-weight: 700;
  margin-bottom: 8px;
}

.fw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 16px;
}

.fw-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.fw-check input[type="checkbox"] {
  transform: scale(1.1);
}

.fw-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.fw-submit {
  background: #ef4444;
  border: 0;
  border-radius: 9999px;
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform .05s ease-in-out, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(239,68,68,.35);
}

.fw-submit:active {
  transform: translateY(1px);
}

/* Responsive */
@media (max-width: 640px){
  .fw-form { padding: 16px; }
  .fw-grid { grid-template-columns: 1fr; }
}
