@charset "UTF-8";

/* ==========================================================================
   1. MODIFICACIONES DE LOGIN Y PERFIL
   ========================================================================== */
#admin-access.active {
  background-color: #007bff;
  color: white;
}

/* ==========================================================================
   2. TARJETAS DE CURSOS OPCIONALES (Simulación Canvas Nativo)
   ========================================================================== */
.ic-tarjetaTablero {
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  width: 262px;
  display: inline-block;
  vertical-align: top;
  margin: 36px 0 0 36px;
}
.ic-tarjetaTablero__header {
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}
.ic-tarjetaTablero__header_image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.ic-tarjetaTablero__header_hero {
  box-sizing: border-box;
  height: 146px;
  border: 1px solid rgba(0,0,0,.1);
}
.ic-tarjetaTablero__header_content {
  box-sizing: border-box;
  padding: 12px 18px 0;
  background: #fff;
}
.ic-tarjetaTablero__action-container {
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  padding: 0 0 12px;
  margin-top: 9px;
  height: 2.5rem;
}
.ic-tarjetaTablero__header-title {
  transition: all .2s ease-out;
  transform: translate3d(0, 0, 0);
  padding: 0;
  margin: 0;
  line-height: 1.3;
  font-size: 0.875rem;
  font-weight: bold;
}
.ic-tarjetaTablero__header-subtitle, 
.ic-tarjetaTablero__header-term {
  line-height: 1.3;
  color: var(--ic-brand-font-color-dark-lightened-28);
}
.ic-tarjetaTablero__header-term {
  font-size: 12px;
  height: 1rem;
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Alineación corregida de tarjetas de cursos
   ========================================================================== */

  #opcionales {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0;
  }

  .ic-tarjetaTablero {
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    width: 262px;
    display: flex;
    flex-direction: column;
    margin: 0 !important; 
  }
  
  #DashboardCard_Container {
    padding-top: 15px; 
  }

  #DashboardCard_Container .ic-DashboardCard {
    margin: 36px 18px !important; 
  }

  #DashboardCard_Container .ic-DashboardCard__box {
    margin: 36px 18px !important; 
  }

/* ==========================================================================
   3. PESTAÑA DE ACCESOS DIRECTOS
   ========================================================================== */
.dbp-accesos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px; /* Aumentamos ligeramente el espacio para que respiren mejor */
  padding: 20px 0;
  box-sizing: border-box;
}

.dbp-acceso-link {
  text-decoration: none !important;
  display: block;
  height: 100%;
  box-sizing: border-box; /* Previene el desbordamiento del enlace */
}

.dbp-acceso-card {
  box-sizing: border-box; /* SOLUCIÓN: Obliga al padding a calcularse hacia adentro */
  background-color: #2B7ABC; 
  color: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 160px; /* Garantiza uniformidad visual aunque el texto sea corto */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dbp-acceso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  background-color: #414E80; 
  color: #ffffff;
}

.dbp-acceso-icon {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dbp-acceso-icon svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

.dbp-acceso-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}


/* ==========================================================================
   4. CARRUSEL DINÁMICO (Prefijo DBP)
   ========================================================================== */
.dbp-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  background: #f0f0f0;
}
.dbp-carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.dbp-slide {
  flex: 0 0 100%; 
  box-sizing: border-box;
  padding: 5px;
}
@media only screen and (min-width: 768px) {
  .dbp-slide {
    flex: 0 0 50%; 
  }
}
.dbp-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}
.dbp-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.dbp-dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.dbp-dot.active {
  background-color: #202A44;
  border-color: #202A44;
}

/* ==========================================================================
   5. AJUSTES NATIVOS DE CANVAS (Notas)
   ========================================================================== */
.summary tbody tr:last-child {
  display: none;
}
.student_assignment:not(.hard_coded).final_grade {
  font-size: x-large;
  font-weight: bold;
}
.inline-display-notas {
  display: inline-block !important;
  margin-right: 100px;
  margin-bottom: 30px;
}