
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f8fb;
    color: #333;
}

header {
  background-color: #37AFDB;
  color: white;
  padding: 10px 8px; /* reducido */
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.encabezado-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.escudo {
  width: 60px; /* antes 100px */
  height: auto;
  margin-bottom: 5px;
}

.info-colegio {
  text-align: center;
  font-size: 13px; /* reducido */
  line-height: 1.2;
}

.nombre-colegio {
  margin: 0;
  font-size: 18px; /* antes 24px */
}

nav {
    background-color: #2a97c0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 5px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

nav a:hover {
    background-color: #1e7da1;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

ul.lista-areas {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.lista-areas li {
    margin-bottom: 10px;
}

ul.lista-areas li a {
    display: block;
    padding: 10px 15px;
    background-color: #fff;
    border-left: 5px solid #37AFDB;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.3s ease;
}

ul.lista-areas li a:hover {
    background-color: #e6f5fb;
    color: #1e7da1;
}

footer {
    background-color: #37AFDB;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    border-top: 3px solid #2a97c0;
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        width: 90%;
        text-align: center;
    }

    .encabezado-flex {
        flex-direction: column;
    }

    .container {
        padding: 15px;
    }

    .escudo {
        width: 80px;
    }

    .nombre-colegio {
        font-size: 20px;
    }

    ul.lista-areas li a {
        font-size: 14px;
    }
}
/* CONTENEDOR DE LAS FRASES */
.frases-row {
    display: flex;
    flex-wrap: nowrap; /* Fuerza que estén en fila */
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

/* CAJA INDIVIDUAL DE CADA FRASE */
.frase-box {
    flex: 1 1 32%; /* Reparte el ancho en 3 columnas con espacio */
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #fff;
    font-weight: 500;
    text-align: center;
    min-width: 0; /* Permite que se achiquen si es necesario */
}

/* COLORES */
.frase-box.azul {
    background-color: #3498db;
}

.frase-box.gris {
    background-color: #95a5a6;
}

.frase-box.verde {
    background-color: #27ae60;
}

/* 🎯 RESPONSIVE PARA CELULAR */
@media (max-width: 768px) {
    .frases-row {
        flex-wrap: wrap; /* Permite que se acomoden uno debajo del otro */
    }

    .frase-box {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }
}

.modulos-alertas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    font-size: 13px;
}

.modulo-box {
    flex: 1 1 180px;
    padding: 10px 15px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    min-width: 150px;
    text-align: center;
}

.modulo-box.azul { background-color: #3498db; }
.modulo-box.gris { background-color: #7f8c8d; }
.modulo-box.verde { background-color: #27ae60; }

@media (max-width: 768px) {
    .modulo-box {
        flex: 1 1 100%;
    }
}
.tabla-opciones {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  text-align: center;
}

.tabla-opciones td {
  padding: 20px;
  border: 1px solid #dfe6e9;
  vertical-align: top;
}

.tabla-opciones strong {
  font-size: 16px;
  color: #333;
}

.tabla-opciones form {
  margin-top: 10px;
}

.tabla-opciones select,
.tabla-opciones input[type="text"] {
  width: 90%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin: 5px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.tabla-opciones input[type="image"] {
  margin-top: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tabla-opciones input[type="image"]:hover {
  transform: scale(1.1);
}

#contador_sesion {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ffffff, #e7f3ff);
  border: 1px solid #007bff;
  padding: 12px 18px;
  border-radius: 12px;
  font-family: Tahoma;
  font-size: 14px;
  color: #333;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.1);
  z-index: 9999;
}


.btn-edusac-submit {
  background-color: #007BFF;
  color: white;
  font-family: 'Tahoma', sans-serif;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-edusac-submit:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

form {
  margin-bottom: 10px;
}

.textarea-edusac {
  width: 100%;
  max-width: 600px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: 'Tahoma', sans-serif;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  background-color: #fdfdfd;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.textarea-edusac:focus {
  border-color: #37AFDB;
  outline: none;
  box-shadow: 0 0 5px rgba(55, 175, 219, 0.5);
}

.div-destacado {
  background-color: #e3f2fd; /* azul clarito */
  border: 2px solid #42a5f5;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  max-width: 650px;
  font-family: Tahoma, sans-serif;
  text-align: center;
}
.div-destacado textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.select-grado {
    font-size: 16px;
    padding: 6px 10px;
    height: 38px;
    min-width: 90px;
}