
html {
    box-sizing: border-box;
    background-color: var(--colorfondo);
}

:root {
    --colorfondo: #f5a9dc;
    --colorprincipal: #5a0247;
    --colorsecundario: #801677;
    --colorfondo2: #f7f7ff;
    --negro: rgb(8, 1, 51);
    --blanco: white;
}

* {
    box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--colorprincipal);
  margin: 0;
  padding: 0;
}
legend{
  font-size: 3em;
  color: #ccc;
}
.diagnostico-box {
  max-width: 1000px;
  margin: 40px auto;
  padding: 10px;
  border: 2px solid var(--colorfondo2);
  background-color: var(--colorsecundario);
  border-radius: 8px;
}

.diagnostico-box h1,
.diagnostico-box h2 {
  text-align: center;
  color: var(--negro);
}

.container {
  display: flex;
  flex-wrap: nowrap; /* Importante: evita que salte abajo */
  justify-content: center;
  align-items: stretch; /* Hace que ambos hijos tengan la misma altura */
  gap: 100px;
}

aside {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.imagen {
  width: 100%;
  object-fit: cover;
  height: 100%; /* Esto ocupa todo el alto del contenedor */
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.formulario {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  width: 100%;
  background-color: #007BFF;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

