@import url('https://googleapis.com');


@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}


/* --- Botones Modernizados --- */
.btn-default.width_100 {
    background: #ffffff;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 10px 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-default.width_100:hover {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Ajuste específico para Notificación Alerta */
.alerta-roja {
    animation: pulse-red 2s infinite;
}


.flexbox {
  align-items: center;
   justify-content: center;
     display: flex;          /* Activa el modo flexible */
  flex-wrap: wrap;        /* Si no entran, bajan a la siguiente línea */
  justify-content: center; /* Las centra en la pantalla */
  gap: 25px;              /* ESTO es lo que crea el espacio entre ellas */
  padding: 20px;          /* Espacio para que no toquen los bordes de la pantalla */
}

.flexbox {
  transition: transform 0.3s ease; /* Hace que el movimiento sea fluido */
  cursor: pointer;
}

/* Efecto al pasar el mouse */
.flexbox:hover {
  transform: scale(1.1); /* Se amplía un 20% */
}

.contenedor {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    /* Esto asegura que tus iconos CSS mantengan su forma */

}
/* Para centrar el contenido*/

.card_icono {
    background: #117dea;
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 240px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}






/* Contenedor del icono */
.icon-box {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.icon-box img {
  width: 80px; /* Ajusta según tus iconos */
  height: auto;
}

/* El rectángulo blanco inferior */
.label {
  background-color: white;
  width: 90%; /* Un poco más chico que la card para que respire */
  margin-bottom: 15px;
  padding: 10px 0;
  text-align: center;
  border-radius: 8px;
  font-family: sans-serif;
  font-weight: bold;
  color: #333;
}

/* ==========================================
   ESTÁNDAR: CONTENEDOR UNIVERSAL (100x100)
   ========================================== */

   
.contenedor {

  width: 90px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: transparent;
  cursor: pointer;
  overflow: visible;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}




/* Efecto interactivo para TODOS los iconos */
.contenedor:hover {
  transform: scale(1.2);
}

/* ==========================================
   1. ICONO: TRABAJO PRÁCTICO
   ========================================== */
.libros-bg {
  position: absolute;
  top: 15px; left: 15px;
  width: 45px; height: 55px;
  background: #3498db;
  border: 3px solid #1a252f;
  border-radius: 4px;
  box-shadow: -6px 6px 0 #27ae60, -12px 12px 0 #e67e22;
  z-index: 1;
}
.cuaderno-main {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 55px; height: 65px;
  background: #ffffff;
  border: 3px solid #1a252f;
  border-radius: 5px;
  z-index: 3;
  overflow: hidden;
}
.espiral {
  position: absolute;
  left: 6px; top: 0;
  width: 4px; height: 100%;
  background-image: radial-gradient(circle, #1a252f 35%, transparent 40%);
  background-size: 4px 10px;
}
.lineas-texto {
  margin-left: 18px; margin-top: 15px;
  width: 30px; height: 3px;
  background: #eee;
  box-shadow: 0 10px 0 #eee, 0 20px 0 #eee, 0 30px 0 #eee;
}

/* ==========================================
   2. ICONO: ASISTENCIA
   ========================================== */
/* --- Estilos Comunes para Iconos de Estado --- */

  .asistencia-icon {
    position: relative;
    width: 100px;
    height: 100px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Cuerpo del Calendario */
  .calendario {
    position: relative;
    width: 70px;
    height: 75px;
    background: #ffffff;
    border: 4px solid #2c3e50;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  /* Barra Superior del Calendario (Roja/Moderna) */
  .cal-header {
    width: 100%;
    height: 18px;
    background: #e74c3c;
    border-bottom: 4px solid #2c3e50;
  }

  /* Anillas del Calendario */
  .anillas {
    position: absolute;
    top: -8px;
    left: 15px;
    width: 6px;
    height: 12px;
    background: #bdc3c7;
    border: 2px solid #2c3e50;
    border-radius: 10px;
    box-shadow: 30px 0 0 #bdc3c7, 30px 0 0 0 #2c3e50 inset; /* Segunda anilla */
    z-index: 10;
  }

  /* Tilde Verde (Presente) */
  .check {
    position: absolute;
    top: 28px;
    left: 12px;
    width: 18px;
    height: 10px;
    border-left: 5px solid #27ae60;
    border-bottom: 5px solid #27ae60;
    transform: rotate(-45deg);
  }

  /* X Roja (Ausente) */
  .cross {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
  }

  .cross::before, .cross::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 5px;
    height: 20px;
    background: #e74c3c;
    border-radius: 2px;
  }

  .cross::before { transform: rotate(45deg); }
  .cross::after { transform: rotate(-45deg); }

  /* Puntitos de fondo simulando días */
  .dias-bg {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 4px;
    height: 4px;
    background: #ecf0f1;
    border-radius: 50%;
    box-shadow: 10px 0 #ecf0f1, 20px 0 #ecf0f1,
                0 10px #ecf0f1, 10px }

/* ==========================================
   3. ICONO: EVALUACIÓN
   ========================================== */
.hoja-eval {
  position: relative;
  width: 60px; height: 75px;
  background: #fdfdfd;
  border: 3px solid #2c3e50;
  border-radius: 4px;
  display: flex; flex-direction: column; padding-top: 15px; align-items: center;
}
.sello-aprobado {
  position: absolute; top: -12px; right: -12px;
  width: 32px; height: 32px;
  background: #ffffff; border: 3px solid #27ae60; border-radius: 50%;
  display: flex; justify-content: center; align-items: center; z-index: 5;
}

/* ==========================================
   4. ICONO: NOTIFICACIÓN
   ========================================== */
.campana {
  position: relative;
  width: 50px; height: 45px;
  background: #f1c40f;
  border: 4px solid #2c3e50;
  border-radius: 25px 25px 0 0;
}
.alerta-roja {
  position: absolute; top: 15px; right: 15px;
  width: 20px; height: 20px;
  background: #e74c3c; border: 3px solid #ffffff; border-radius: 50%;
  z-index: 10;
  animation: pulso 2s infinite;
}

/* ==========================================
   5. ICONO: LLAMADO DE ATENCIÓN
   ========================================== */
.triangulo-alerta {
  width: 0; height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid #e74c3c;
  position: relative;
}
.exclamacion-atencion {
  position: absolute; top: 15px; left: -3px;
  width: 6px; height: 25px;
  background-color: white; border-radius: 3px;
}
.exclamacion-atencion::after {
  content: ''; position: absolute; bottom: -12px; left: 0;
  width: 6px; height: 6px; background-color: white; border-radius: 50%;
}

/* Animaciones */
@keyframes pulso {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
  100% { transform: scale(1); }
}


 /* ==========================================
   6. ICONO: REPORTE PEDAGÓGICO
   ========================================== */
.hoja-reporte {
  width: 50px;
  height: 65px;
  background: white;
  border: 2px solid #2c3e50;
  border-radius: 4px;
  position: relative;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1;
}

.linea-rep {
  height: 3px;
  background: #bdc3c7;
  border-radius: 2px;
}
.linea-rep.larga { width: 35px; }
.linea-rep.media { width: 25px; align-self: flex-start; margin-left: 6px; }

.birrete-rep {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 24px;
  height: 12px;
  background: #3498db; /* Color azul pedagógico */
  border-radius: 2px;
  transform: rotate(-10deg);
  z-index: 2;
}

.birrete-rep::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 4px;
  width: 16px;
  height: 8px;
  background: #2980b9;
  border-radius: 0 0 5px 5px;
}


