/* --- Fondo general --- */
body {
  background: linear-gradient(135deg, #ffe6f0, #fff0f7, #ffe4ec);
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #4b2c3f;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* --- Encabezado --- */
.titulo {
  text-align: center;
  margin-top: 40px;
}

.titulo h1 {
  color: #d36ba1;
  font-size: 2.6rem;
  text-shadow: 2px 2px 5px rgba(255, 192, 203, 0.6);
  font-weight: 700;
  letter-spacing: 1px;
}

.titulo img {
  display: block;
  margin: 0 auto 10px auto;
  width: 85px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(211, 107, 161, 0.3));
}

/* --- Caja del formulario --- */
.formulario {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 35px;
  max-width: 650px;
  margin: 50px auto;
  box-shadow: 0 4px 25px rgba(211, 107, 161, 0.25);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formulario:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 35px rgba(211, 107, 161, 0.35);
}

/* --- Etiquetas e inputs --- */
label {
  color: #b65d8d;
  font-weight: 600;
  margin-bottom: 5px;
  display: inline-block;
}

input[type="number"], select {
  border: 2px solid #f8cce7;
  border-radius: 10px;
  background-color: #fff7fa;
  color: #4b2c3f;
  padding: 10px;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

input[type="number"]:focus, select:focus {
  outline: none;
  border-color: #f48fb1;
  box-shadow: 0 0 8px rgba(244, 143, 177, 0.4);
  background-color: #fff0f7;
}

/* --- Botones --- */
.btn-success {
  background: linear-gradient(135deg, #f48fb1, #ec407a);
  border: none;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  padding: 10px 25px;
  box-shadow: 0 3px 8px rgba(244, 143, 177, 0.4);
  transition: all 0.3s ease;
}

.btn-success:hover {
  background: linear-gradient(135deg, #ec407a, #d81b60);
  box-shadow: 0 4px 12px rgba(236, 64, 122, 0.5);
  transform: translateY(-2px);
}

.btn-warning {
  background: linear-gradient(135deg, #f8bbd0, #f48fb1);
  border: none;
  color: #4b2c3f;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 25px;
  box-shadow: 0 3px 8px rgba(244, 143, 177, 0.3);
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f48fb1, #f06292);
  transform: translateY(-2px);
}

/* --- Check y Radio Buttons --- */
.form-check-input {
  accent-color: #f48fb1;
  transform: scale(1.2);
  cursor: pointer;
}

.form-check-label {
  color: #a64b7a;
}

/* --- Resultados --- */
#resultado {
  text-align: left;
  font-size: 1.1rem;
  color: #c2185b;
  margin-top: 25px;
  background: #fff7fa;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: inset 0 0 10px rgba(244, 143, 177, 0.1);
}

#resultado p {
  margin: 8px 0;
  padding: 4px 0;
  border-bottom: 1px dashed #f8bbd0;
}

#resultado p:last-child {
  border-bottom: none;
}

#resultado::before {
  content: "🌸 Resultados 🌸";
  display: block;
  text-align: center;
  color: #d36ba1;
  font-weight: bold;
  margin-bottom: 10px;
}

/* --- Animaciones suaves --- */
button:active {
  transform: scale(0.97);
}

input, select, button {
  transition: all 0.3s ease;
}
