/* ===========================
   🎨 ESTILOS GENERALES
   =========================== */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0d47a1, #1976d2);
  color: #fff;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  margin: 10px 0;
  font-weight: bold;
}

/* ===========================
   📦 CONTENEDORES
   =========================== */
.container {
  background: #fff;
  color: #333;
  border-radius: 20px;
  padding: 30px;
  max-width: 800px;
  width: 95%;
  margin: 30px auto;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===========================
   🔘 BOTONES
   =========================== */
button, .btn {
  background: #1976d2;
  color: #fff;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  margin: 10px 0;
  transition: 0.3s;
  display: inline-block;
}

button:hover, .btn:hover {
  background: #0d47a1;
}

/* ===========================
   ✍️ FORMULARIOS
   =========================== */
input[type="text"],
input[type="password"],
input[type="number"],
select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

input[type="radio"] {
  transform: scale(1.2);
  margin-right: 8px;
}

/* ===========================
   📝 PREGUNTAS Y OPCIONES
   =========================== */
.option {
  margin: 12px 0;
  text-align: left;
}

.option label {
  display: block;
  background: #f1f8ff;
  padding: 12px 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 18px;
}

.option label:hover {
  background: #bbdefb;
}

/* ===========================
   📊 TABLAS
   =========================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

table th {
  background: #1976d2;
  color: white;
}

table tr:nth-child(even) {
  background: #f9f9f9;
}

/* ===========================
   📱 RESPONSIVE: CELULAR
   =========================== */
@media (max-width: 768px) {
  body {
    font-size: 22px; /* 🔹 Todo más grande */
  }
  .container {
    padding: 20px;
    font-size: 22px;
  }
  h1, h2, h3 {
    font-size: 28px;
  }
  button, .btn {
    font-size: 22px;
    padding: 18px;
    width: 100%; /* 🔹 Botones ocupan todo el ancho */
  }
  input[type="text"],
  input[type="password"],
  input[type="number"],
  select {
    font-size: 20px;
    padding: 16px;
  }
  input[type="radio"] {
    transform: scale(1.5); /* 🔹 Radios más grandes */
  }
  .option label {
    font-size: 22px;
    padding: 18px;
  }
}
