/*--------------------------------------------------------------------------------
ESTILO INSTITUTO ORIENTE
JOSEANTONIO.RAVIZE@IORIENTE.EDU.MX
IMAGEN INSTITUCIONAL PARA PORTALES Y SERVICIOS WEB
CREACIÓN JULIO 2025
----------------------------------------------------------------------------------*/

/*----------------- 1: GENERALES --------------------*/
a img{border: none;}
#clear{clear:both;}

.responsive {width: 100%;height: auto;}
 body {
      background-color: #f0f4f8; /* gris claro */
      height: 100vh;      
      justify-content: center;
      align-items: baseline;
    }
/*----------------- 0: GENERALES -------------------*/
.link-none {
  color: inherit;
  text-decoration: none;
}

.link-none:hover {
  color: inherit;
  font-weight: bolder;
}

/*----------------- 1: COLORES IO --------------------*/
 .azul{
        color: #00A2DB;
      }
/*----------------- 0: COLORES IO -------------------*/

/*----------------- 1: ENCABEZADO--------------------*/
 header {
    background-color: #002147; /* azul institucional */
    color: #fff;
    height: 70px;
 }
 .header-logo img {
    height: 50px;
 }
 .header-title {
   font-size: 1.5rem;
   font-weight: 600;
   margin-left: 5vh;
 }
 .user-info {
   font-size: 0.95rem;
 }

/*----------------- 0: ENCABEZADO--------------------*/


/*-----------------INICIA PIE--------------------*/

/*-----------------FINALIZA PIE--------------------*/


/*-----------------INICIA LOGIN---------------------*/
.login-container {
      width: 90%;
      max-width: 800px;
      background-color: #ffffff;
      border-radius: 15px;
      margin-top: 10vh;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: row;
      overflow: hidden;
      font-size: 1.3rem;
    }

    .login-left, .login-right {
      flex: 1;
      padding: 2rem;
    }

    .login-left {
      background-color: #002855; /* azul institucional */
      color: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .login-left img {
      max-width: 100px;
      margin-bottom: 4rem;
    }

    .login-left h2 {
      font-size: 1.2rem;
      text-align: center;
    }

    .login-right {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .form-label {
      font-weight: bold;
    }

    .info-text {
      font-size: 0.85rem;
      color: #6c757d;
      margin-top: 0.5rem;
    }

    .estado {
      margin-top: 1.5rem;
      font-size: 0.9rem;
      background-color: #f8f9fa;
      padding: 0.75rem;
      border-left: 4px solid #0CAEEE; /* azul claro */
      border-radius: 5px;
    }

    .titulo {
      margin: 1.5rem 0rem 1.5rem;
      font-size: 1.3rem;
      background-color: #f8f9fa;
      padding: 0.75rem;
      border-left: 4px solid #0CAEEE; /* azul claro */
      border-radius: 5px;
    }

    .azulClaro{
      color: #42a4c1;;
    }

    .error {
      margin-top: 1.5rem;
      font-size: 0.9rem;
      background-color: #f8f9fa;
      padding: 0.75rem;
      border-left: 4px solid #EE0C0C; /* rojo */
      border-radius: 5px;
    }

    .aplicativo{
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
      padding: 0.75rem;
      color: #002855;
      border-left: 4px solid #FFC72C; /* dorado */
    }

    @media (max-width: 768px) {
      .login-container {
        flex-direction: column;
      }
    }

/*-----------------CIERRO LOGIN---------------------*/

/*---------------INICIA CONTENIDO-------------*/ 

.card-custom {
        background-color: #002147;
        color: #fff;
        border-radius: 10px;
        transition: transform 0.2s;
      }
      .card-custom:hover {
        transform: scale(1.05);
      }
      .card-custom i {
        font-size: 2.5rem;
        margin-bottom: 10px;
      }
      .search-bar {
        margin: 20px auto;
        max-width: 600px;
      }

.custom-card {
      background-color: #003366; /* Azul marino */
      width: 150px;
      height: 170px;
      color: white;
      border-radius: 1rem;
      padding: 2rem 1rem;
      text-align: center;
      transition: transform 0.2s ease-in-out;
      display: inline-grid;
    }
    .custom-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    .custom-card i {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .subtext {
      font-size: 0.9rem;
      color: #dcdcdc; /* gris claro para diferenciar del título */
    }

    .btn-section {
      width: 240px;
      height: 240px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      border-radius: 12px;
      transition: transform 0.2s ease;
    }

    .student-profile {
    background: #f8f9fa; /* Fondo institucional claro */
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .student-photo img {
      border: 3px solid #003366;
    }

    .student-info p {
      color: #555; /* Gris sobrio */
    }

    .student-card {
      border-radius: 12px;
      transition: transform 0.2s ease-in-out;
    }
    .student-card:hover {
      transform: scale(1.05);
    }

.text-blue-io{
  color: #003366;
}

    .cases-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

.table-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 0.8fr;
  font-weight: 600;
  background: #e9f0fa;
  padding: 10px 15px;
  border-radius: 8px;
  color: #003366;
}

.table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 0.8fr;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  transition: box-shadow 0.2s ease;
}

.table-row:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.motivo {
  font-weight: 500;
  color: #003366;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.motivo:hover {
  text-decoration: underline;
}

.fecha,
.responsable {
  color: #555;
}

.acciones button {
  margin-right: 5px;
}

@media (max-width: 768px) {
  .table-header {
    display: none;
  }
  .table-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "motivo motivo"
      "acompanamiento seguimiento"
      "responsable acciones";
  }
  .table-row div:nth-child(1) { grid-area: motivo; }
  .table-row div:nth-child(2) { grid-area: acompanamiento; }
  .table-row div:nth-child(3) { grid-area: seguimiento; }
  .table-row div:nth-child(4) { grid-area: responsable; }
  .table-row div:nth-child(5) { grid-area: intervenciones; }
  .table-row div:nth-child(6) { grid-area: acciones; text-align: right; }
}


/*---------------CIERRO CONTENIDO-------------*/ 

/*--------------------------------------------------------------------------------
FINALIZA ESTILO INSTITUTO ORIENTE
----------------------------------------------------------------------------------*/
