body{
  width: 100vw;
}
/* Selector de raza con círculos */
.raza-opciones-circulo {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem 0;
}
.raza-opciones-circulo input[type="checkbox"] {
  display: none;
}
.raza-circulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 1rem;
  padding: 0.3rem 0.5rem;
  transition: box-shadow 0.2s, border 0.2s;
  border: 2px solid transparent;
  font-size: 1rem;
}
.circulo-raza {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  margin-bottom: 0.3rem;
}
.raza-opciones-circulo input[type="checkbox"]:checked + label {
  border: 2px solid #6366f1;
  box-shadow: 0 0 0 2px #6366f133;
  background: #eef2ff;
}
/* Selector de raza con colores */
.raza-opciones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem 0;
}
.raza-opciones input[type="radio"] {
  display: none;
}
.raza-opciones label {
  cursor: pointer;
  border-radius: 0.7rem;
  padding: 0.4rem 0.7rem;
  transition: box-shadow 0.2s, border 0.2s;
  border: 2px solid transparent;
}
.raza-opciones input[type="radio"]:checked + label {
  border: 2px solid #6366f1;
  box-shadow: 0 0 0 2px #6366f133;
  background: #eef2ff;
}
/* Selector de sexo con imágenes */
.sexo-opciones {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.sexo-opciones input[type="checkbox"] {
  display: none;
}
.sexo-opciones label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 1rem;
  padding: 0.3rem 0.5rem;
  transition: box-shadow 0.2s, border 0.2s;
  border: 2px solid transparent;
}
.sexo-opciones img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.2rem;
  background: #f1f5f9;
  border-radius: 0.7rem;
  border: 1px solid #cbd5e1;
}
.sexo-opciones input[type="checkbox"]:checked + label {
  border: 2px solid #6366f1;
  box-shadow: 0 0 0 2px #6366f133;
  background: #eef2ff;
}
/* Imagen y descripción de inicio */
.home-img {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 180px;
  width: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px #6366f122;
}
.descripcion-app {
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
/* Peso opciones */
.peso-opciones {
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.peso-opciones input[type="radio"] {
  display: none;
}
.peso-opciones label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 1rem;
  padding: 0.3rem 0.5rem;
  transition: box-shadow 0.2s, border 0.2s;
  border: 2px solid transparent;
}
.peso-opciones img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.2rem;
  background: #f1f5f9;
  border-radius: 0.7rem;
  border: 1px solid #cbd5e1;
}
.peso-opciones input[type="radio"]:checked + label {
  border: 2px solid #6366f1;
  box-shadow: 0 0 0 2px #6366f133;
  background: #eef2ff;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
  min-height: 100vh;
}

.container {
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

h1 {
  text-align: center;
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.2rem;
}

input, select {
  padding: 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.7rem;
  font-size: 1rem;
  background: #f1f5f9;
  outline: none;
  transition: border 0.2s;
}

input[type="range"] {
  accent-color: #6366f1;
  margin: 0.5rem 0;
  background: transparent;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

output {
  font-weight: bold;
  color: #6366f1;
  margin-left: 0.5rem;
}


input:focus, select:focus {
  border-color: #6366f1;
}

button {
  padding: 0.9rem;
  background: linear-gradient(90deg, #6366f1 0%, #60a5fa 100%);
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: linear-gradient(90deg, #4f46e5 0%, #2563eb 100%);
}

#resultado {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: #2563eb;
  min-height: 2rem;
}


@media (max-width: 450px) {
  .container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 0.5rem 0.2rem;
  }
  h1 {
    font-size: 1.1rem;
  }
  .peso-opciones img,
  .sexo-opciones img {
    width: 60px !important;
    height: 60px !important;
  }
}
