/* Para ailectus */

:root{
  --ailectus-primary: #0E1424;  /* azul oscuro elegante */
  --ailectus-accent:  #CC9933;  /* dorado */
  --ailectus-accent2: #F57C1F;  /* naranja acento */
  --ailectus-light:   #f6f7fb;
}

.bg-primary{ background-color: var(--ailectus-primary) !important; }
.text-primary{ color: var(--ailectus-primary) !important; }
.btn-primary{
  background-color: var(--ailectus-primary);
  border-color: var(--ailectus-primary);
}
.btn-outline-primary{
  color: var(--ailectus-primary);
  border-color: var(--ailectus-primary);
}
.btn-outline-primary:hover{
  background: var(--ailectus-primary);
  color: #fff;
}

/* Hero suave con degradado */
.bg-gradient-hero{
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, var(--ailectus-light) 100%);
}

/* Acento en texto */
.brand-accent{ color: var(--ailectus-accent2); }

/* Tarjetas de servicios */
.service-card{
  border: 1px solid #eee;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Portafolio (recortes bonitos) */
.portfolio-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  border: 1px solid #eaeaea;
}

.portfolio-card img {
  height: 200px;
  object-fit: cover;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.portfolio-card-text {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 14px;
}

.portfolio-card-text:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.portfolio-card-text .fa-chalkboard-user {
  color: #0E1424; /* color Ailectus */
}

.portfolio-card-text .btn-outline-primary {
  color: #0E1424;
  border-color: #0E1424;
}

.portfolio-card-text .btn-outline-primary:hover {
  background-color: #0E1424;
  color: #fff;
}

.btn-outline-primary {
  color: #0E1424;
  border-color: #0E1424;
}

.btn-outline-primary:hover {
  background-color: #0E1424;
  color: #fff;
}


.ova-frame {
    background: #0E1424;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.ova-header {
    background: linear-gradient(90deg, #0E1424, #1b2a4a);
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ova-body {
    background: #ffffff;
}

.ova-body iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

.genially-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.genially-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.resource-card{
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12) !important;
}

.recursos-section {
  background-color: #d3e0ef; 
}

.recursos-section .card {
  background-color: #ffffff;
}

.recursos-section h2,
.recursos-section h3 {
  color: #0E1424;
}

.section-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 90px;
}


.section-divider1{
  border: none;
  height: 5px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.5),
    transparent
  );
  margin: 3rem 0;
}

.client-logo{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

.client-logo img{
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
  transition: all .2s ease;
}

.client-logo:hover img{
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-sm{
  width: 75px;
  height: 75px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.client-logo-sm img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-card{
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.client-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,.12) !important;
}



/*/////////////////////////////////////////////////////////////////////// Para gestion posgrado ///////////////////////////////////////////////////////////////////*/


.backlogin {
    background-image: url("https://wh1043073.ispot.cc/static/login1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle !important;

}

.backgeneral {
    gap: 0px !important;
    background-image: url('https://online.unach.edu.ec/pluginfile.php/1/local_edwiserpagebuilder/media/849567915/fghhdfghj.png') !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-size: cover !important;


}

.fontsistema {
    font-family: 'Poppins', sans-serif;
}


.navbar-dark {
    background-color: #0e1424 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #cc9933 !important;
}

.inputbuscar[type="text"] {
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.menuprogposgrado {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
}

.nav-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    height: 24px;
    margin: auto 10px;
}

.temporizador-flotante {
    position: fixed !important;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    width: 200px;
    text-align: center;
}

.programa-header {
    background: linear-gradient(135deg, #0e1424 0%, #1b2742 100%);
    color: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    margin-bottom: 1.5rem;
}

.programa-header h1 {
    margin-bottom: .4rem;
    font-weight: 700;
}

.programa-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    font-size: .97rem;
    opacity: .95;
}

.programa-meta span {
    background: rgba(255,255,255,.08);
    padding: .4rem .8rem;
    border-radius: 999px;
}

.programa-metaam {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    font-size: .97rem;
    opacity: .95;
    
}

.programa-metaam span {
    background: #cc9933;
    padding: .4rem .8rem;
    border-radius: 999px;
    color: #0e1424;
    border: solid 2px #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.menu-programa-wrap {
    background: #fff;
    border-radius: 16px;
    padding: .9rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    margin-bottom: 1.8rem;
}

.menu-programa {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.menu-item {
    text-decoration: none;
    color: #0e1424;
    padding: .85rem 1.15rem;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid #e9ecef;
    transition: all .2s ease-in-out;
    background: #fff;
}

.menu-item:hover {
    background: #f8f9fa;
    color: #cc9933;
    border-color: #cc9933;
    transform: translateY(-1px);
}

.menu-item.active {
    background: #0e1424;
    color: #fff;
    border-color: #0e1424;
}

.section-title {
    color: #0e1424;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dashboard-kpi {
    background: #fff;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-left: 5px solid #cc9933;
    height: 100%;
}

.dashboard-kpi .kpi-label {
    display: block;
    font-size: .9rem;
    color: #6c757d;
    margin-bottom: .35rem;
}

.dashboard-kpi .kpi-value {
    color: #0e1424;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 0;
}

.dashboard-kpi .kpi-text {
    color: #0e1424;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

.dashboard-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    height: 100%;
}

.panel-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0e1424;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: .75rem;
    margin-bottom: 1rem;
}

.info-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: .95rem 1rem;
    height: 100%;
}

.info-box small {
    display: block;
    color: #6c757d;
    margin-bottom: .3rem;
}

.info-box strong {
    color: #0e1424;
    font-size: .98rem;
}

.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.dashboard-list li:last-child {
    border-bottom: none;
}

.dashboard-list .label {
    color: #495057;
}

.dashboard-list .value {
    font-weight: 700;
    color: #0e1424;
    white-space: nowrap;
}

.badge-soft-warning {
    background: #fff3cd;
    color: #856404;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .82rem;
    font-weight: 600;
}

.badge-soft-success {
    background: #d1e7dd;
    color: #0f5132;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .82rem;
    font-weight: 600;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.quick-actions a {
    border-radius: 12px;
    padding: .85rem 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .programa-header {
        padding: 1.4rem;
    }

    .menu-item {
        width: 100%;
        text-align: center;
    }
}
.card-hover { transition: transform .15s ease, box-shadow .15s ease; }
.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08)!important;
}

.resumen-kpi {
    border-left: 5px solid #cc9933;
}

.table td, .table th {
    vertical-align: middle;
}
