* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100dvw;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #7bf3df;
  font-family: 'Inter', Arial, sans-serif;
  padding: 0px 24px;
}
.container {
  width: min(620px, 100%);
  text-align: center;
  /* padding: 32px 24px 40px; */
  display: flex;
  flex-direction: column;
  position: relative;
}
#datos {
  padding: 0px 28px 0px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#datos img {
  width: 100%;
  height: auto;
  margin-bottom: 0px;
}
#datos p {
  max-width: 100%;
  margin: 0;
  color: #1c0e38;
  font-size: clamp(14px, 3vw, 18px);
  text-align: center;
  line-height: 1.25;
}
#datos div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#datos label {
  font-size: clamp(13px, 2.5vw, 14px);
  font-weight: 700;
  color: #1c0e38;
  text-transform: none;
  letter-spacing: 0.02em;
}
#datos input,
#datos select {
  width: 100%;
  min-height: 40px;
  border-radius: 7px;
  border: none;
  padding: 0 16px;
  background: #ffffff;
  color: #1c0e38;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#datos input:focus,
#datos select:focus {
  border-color: #ff98ea;
  box-shadow: 0 0 0 4px rgba(255, 152, 234, 0.18);
}
#datos .edad-familiar {
  width: 90% !important;
  margin-left: 10%;
  margin-top: 4px;  
}
#datos .actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
#datos .btn {
  width: 100%;
  max-width: 100%;
}
#receta {
  padding: 0px 28px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#receta img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}
#receta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#receta label {
  font-size: clamp(13px, 2.2vw, 14px);
  font-weight: 700;
  color: #1c0e38;
  text-transform: none;
  letter-spacing: 0.02em;
}
#receta input,
#receta textarea {
  width: 100%;
  min-height: 40px;
  border-radius: 5px;
  border: none;
  padding: 5px 10px;
  background: #ffffff;
  color: #1c0e38;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#receta textarea {
  min-height: 100px;
  resize: vertical;
}
#receta input:focus,
#receta textarea:focus {
  border-color: #ff98ea;
  box-shadow: 0 0 0 4px rgba(255, 152, 234, 0.18);
}
#receta > .actions {
  margin-top: 0;
  gap: 10px;
}
#receta a.btn {
  width: 100%;
  max-width: 100%;
}
#receta a.btn:not(.btn-primary):not(.btn-secondary) {
  background: linear-gradient(135deg, #ff6c25, #ff8e4b);
  color: #ffffff;
}
#receta p {
  max-width: 100%;
  margin: 0;
  color: #111;
  font-size: clamp(16px, 2.3vw, 18px);
  line-height: 1.4;
}
#exito {
  padding: 0px 28px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#exito img {
  width: min(340px, 100%);
  height: auto;
  margin-bottom: 0;
}
#exito p {
  max-width: 480px;
  margin: 0;
  color: #111 !important;
  font-size: clamp(16px, 2.3vw, 20px) !important;
  line-height: 1.4;
}
#btn-salir-exito {
  width: 80% !important;
}
#exito .actions {
  width: 100%;
  margin-top: 28px;
  margin-bottom: 24px;
}
#error {
  padding: 0px 28px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#error img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}
#error p {
  max-width: 480px;
  margin: 0;
  color: #111 !important;
  font-size: clamp(16px, 2.3vw, 26px) !important;
  line-height: 1.4;
}
#btn-salir-error {
  width: 80% !important;
}
#error .actions {
  width: 100%;
  margin-top: 100px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  #datos .actions {
    flex-direction: column;
  }
}
p {
  max-width: 200px;
  margin: 0 auto 27px;
  color: #111;
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.3;
}
p strong {
  font-weight: 700;
}
img {
  width: 100%;
  height: auto;
  margin-bottom: 28px;
}
.actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.btn {
  width: 80%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  opacity: .95;
}
.btn-primary {
  background: linear-gradient(135deg, #ff98ea, #f8a4ff);
  color: #1c0e38;
}
.btn-secondary {
  background: linear-gradient(135deg, #5519ff, #7a1eff);
  color: #fff;
}

@media (max-width: 600px) {

}