body {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  /* background-color: #f0f2f5;  Removed in favor of gradient */
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 50px auto; /* Added margin for centering */
}

h2 {
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #666;
  font-weight: 500;
}

select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  margin-top: 2rem;
  width: 100%;
  padding: 0.75rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background-color: #0056b3;
}

p#resultado {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  min-height: 1.5rem;
}

/* Tooltip container */
.label-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: #007bff; /* Color azul para indicar interactividad */
}

.tooltip .info-icon {
  font-size: 1.2em;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above */
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.9rem;
  font-weight: normal;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.disclaimer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  text-align: justify;
}

.disclaimer p {
  margin-bottom: 0.5rem;
}

/* Loading Spinner */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Additional specific styles from original styles.css if any were unique */
input {
  width: 98%;
  margin: 8px 0;
  padding: 10px;
}
