.elementor .e-2ada9f1-1c9740b{.humboldt-consulta-notas-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  font-family: "Raleway", sans-serif;
  font-size: 17px;
  color: #000000;
}

/* Formulario en 3 columnas en desktop */
.humboldt-consulta-notas-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .humboldt-consulta-notas-form {
      grid-template-columns: 1fr;
  }
}

.humboldt-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.humboldt-form-group input[type="text"],
.humboldt-form-group input[type="date"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
}

/* Botón alineado a la izquierda */
.humboldt-form-actions {
  text-align: left;
}

/* Estilo tipo botón "Matriculación" */
.humboldt-form-actions button {
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid #8cc919;
  background: #8cc919;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  text-transform: none;
}

.humboldt-form-actions button:hover {
  background: #ffffff;
  color: #8cc919;
  border-color: #8cc919;
}

/* Tarjetas generales */
.humboldt-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.humboldt-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 18px;
  font-weight: 700;
}

/* Cabecera del alumno */
.humboldt-card-header {
  display: flex;
  flex-direction: column;
  border-left: 5px solid #8cc919;
}

.humboldt-alumno-nombre {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0.25rem;
}

.humboldt-alumno-curso {
  font-size: 16px;
}

/* Tabla de notas estilo sistema interno */
.humboldt-table-notas {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 15px;
}

.humboldt-table-notas th,
.humboldt-table-notas td {
  border: 1px solid #dddddd;
  padding: 0.4rem 0.6rem;
  text-align: center;
}

.humboldt-table-notas thead th {
  background: #f0f0f0;
  font-weight: 600;
}

.humboldt-table-notas tbody td {
  background: #ffffff;
}

/* Resalte opcional para Durchschnitt / End Note si quieres
.humboldt-table-notas tbody td:nth-last-child(2),
.humboldt-table-notas tbody td:last-child {
  font-weight: 700;
}
*/

/* Klassenbuch */
.humboldt-klassenbuch h3 {
  border-bottom: 2px solid #8cc919;
  padding-bottom: 0.4rem;
  margin-bottom: 0.7rem;
}

.humboldt-klassenbuch-item {
  margin-bottom: 0.6rem;
}

.humboldt-kb-label {
  display: inline-block;
  min-width: 130px;
  font-weight: 700;
}

.humboldt-kb-value {
  font-weight: 500;
}

.humboldt-kb-text {
  margin-top: 0.2rem;
  padding: 0.4rem 0.6rem;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  white-space: pre-line;
}

/* Mensajes de error / aviso */
.humboldt-error {
  color: #b30000;
  font-weight: 600;
}

.humboldt-warning {
  color: #cc7a00;
}
/* --- Mejoras móviles para la tabla de notas --- */

/* Contenedor que permite desplazamiento horizontal */
.humboldt-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Scroll suave para iOS */
  margin-top: 0.5rem;
  border-radius: 10px;
}

/* Evita que la tabla se rompa al reducir pantalla */
.humboldt-table-notas {
  min-width: 750px; /* Ajusta según tus columnas */
}

/* Fija los tamaños de las celdas para mejorar la legibilidad */
.humboldt-table-notas th,
.humboldt-table-notas td {
  white-space: nowrap;
}

/* Mejorar visual cuando la tabla hace scroll */
.humboldt-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.humboldt-table-wrapper::-webkit-scrollbar-thumb {
  background: #8cc919;
  border-radius: 5px;
}

.humboldt-table-wrapper::-webkit-scrollbar-track {
  background: #e5e5e5;
}

/* --- Ajustes de alineación móvil --- */
@media (max-width: 600px) {
  .humboldt-alumno-nombre {
      font-size: 16px;
  }

  .humboldt-alumno-curso {
      font-size: 14px;
  }

  .humboldt-card {
      padding: 0.9rem 1rem;
  }

  .humboldt-consulta-notas-form {
      grid-template-columns: 1fr;
  }
}
/* reCAPTCHA ocupa el ancho completo en el grid */
.humboldt-recaptcha {
  grid-column: 1 / -1;
}

/* Un poco de aire arriba en mobile */
@media (max-width: 768px) {
  .humboldt-recaptcha {
      margin-top: 0.5rem;
  }
}\n}