
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html{
    font-family: "Poppins", sans-serif !important;
    width: 100% !important;
    overflow-x: hidden;
    font-weight: normal !important;
}

body{
    font-family: "Poppins", sans-serif !important;
    font-weight: normal !important; 
    width: 100% !important;
    overflow-x: hidden;
    background-color: #F2F6FF;
    
}

.calendar {
    table-layout: fixed;
}

.calendar th,
.calendar td {
    width: 14.28%;
    height: 100px;
    text-align: center;
    vertical-align: top;
    position: relative;
}

.today {
    background-color: #007bff;
    color: white;
}

.event {
    padding: 2px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: block;
    color: white;
}

.event-point {
    width: 12px;
    /* Ajustar el tamaño del punto */
    height: 12px;
    border-radius: 50%;
    margin: 5px 2px;
    /* Centrar el punto en la celda */
    cursor: pointer;
    /* Cambiar el cursor al pasar sobre el punto */
    display: inline-block;
    /* Asegurarse de que se muestre en línea */
}

.selected {
    background-color: #e9ecef;
    /* Gris con 50% de transparencia */
    color: white;
    border-color: #808080CC;
    /* Gris con 80% de transparencia */
}

#fondo_login{
    background-image: url('../img/fondo_login.png') !important;
    background-size: cover;
    background-position: center center;
}

.card-blue{
    background: linear-gradient(135deg, #154b73 0%, #206EA7 55%, #0C77F8 100%) !important;
}

.form-control:focus {
    border-color: #F8F9FA !important;
    outline: none;
    box-shadow: none !important;
}

.logo_unach_white{
    width: 20%;
}

.logo_50_white{
    width: 25%;
}

.btn-buscar{
    background-color: #206EA7 !important;
    color: white !important;
}

.logo_menu1P{
    width: 150px !important;
    margin: 0 1rem;
}

.logo_menu2P{
    width: 150px !important;
    margin: 0 1rem;
}

.select2-container .select2-selection__choice {
    color: #606163 !important;
}

.nav-link.active.w-100.HiAc{
    background-color: #D7E3FE !important;
    color: black !important;
}

.nav-link.w-100.HiAc{
    color: black !important;
}

.nav-link.w-100.HiAc:hover {
    background-color: #EEEEEE !important;
    color: black !important;
}

@media (max-width: 3060px) {
}

@media (max-width: 1280px) {
    .logo_menu1P{
        width: 100px !important;
    }
    
    .logo_menu2P{
        width: 100px !important;
    }
}

/* LG */
@media (max-width: 1199px) {
}

/* MD */
@media (max-width: 991px) {
    
}

@media (min-width: 1400px) {
    
}

/* SM */
@media (max-width: 767px) {
    .col-md-4.col-sm-12.position-relative{
        height: 200px !important;
    }
    .logo_unach_white{
        width: 40%;
    }
    
    .logo_50_white{
        width: 45%;
    }

    .title-login{
        font-size: 1.2rem;
    }

    .title-login br{
        display: none !important;
    }

    .hiddenPhone{
        display: none !important;
    }

    .logo_menu1P{
        width: 55px;
        margin: 0 0.5rem;
    }

    .logo_menu2P{
        width: 50px;
        margin: 0 0.5rem;
    }

    .colP-50{
        width: 50% !important;
    }

    .logo_menu3P{
        width: 30px;
        margin-left: 0px !important;
    }

    .showPhone{
        visibility: visible !important;
        /* En móvil el footer no debe flotar sobre la app: queda al final del contenido y a ancho completo */
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.10);
        z-index: 100;
    }
    .showPhone p{
        font-size: 12px !important;
        padding-top: 0 !important;
        margin: 0 !important;
        line-height: 1.3;
    }
    /* La página ya no necesita espacio extra para un footer fijo */
    #main-content [id^="opt-"] {
        padding-bottom: 20px !important;
    }
    /* Encabezado más compacto en móvil */
    .app-header{
        height: 72px !important;
    }
    /* En móvil el bloque de usuario del menú no debe ocupar espacio (sidebar 60px) */
    #user-info {
        display: none !important;
    }
    .centerPhone{
        text-align: center;
    }
}

/* XS */
@media (max-width: 575px) {}

/* XS */
@media (max-width: 330px) {}

/* Estilos personalizados para pestañas de encuestas */
.encuestas-tabs .nav-tabs {
    border-bottom: 0;
}
.encuestas-tabs .nav-link {
    border: 1px solid transparent;
    margin-right: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    color: #1f2937; /* gris oscuro */
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 1px 0 rgba(16,24,40,0.03);
    transition: all 0.15s ease-in-out;
}
.encuestas-tabs .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}
.encuestas-tabs .nav-link.active {
    background: #0C77F8;
    color: #fff !important;
    border-color: rgba(12,119,248,0.15);
}
.encuestas-tabs .nav-link .small {
    display: block;
    font-size: 11px;
    color: rgba(0,0,0,0.65);
}
@media (max-width: 767px) {
    .encuestas-tabs .nav-link {
        padding: 0.45rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* =========================================================
   Diseño compartido de las vistas del sistema (SITAA)
   Se aplica sobre las clases del diseño (sin depender de #app)
   ========================================================= */
.page-tabs {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(13, 27, 42, 0.06);
    padding: 6px !important;
    gap: 4px;
}

.page-tabs .nav-link {
    border-radius: 10px;
    font-weight: 500;
    color: #5b6b7c;
    padding: .65rem 1rem;
    transition: all .25s ease;
}

.page-tabs .nav-link:hover {
    color: #206EA7;
    background: #f2f7ff;
}

.page-tabs .nav-link.active {
    background: linear-gradient(90deg, #206EA7, #0C77F8);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(12, 119, 248, 0.35);
}

.page-heading-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #206EA7, #0C77F8);
    color: #ffffff;
    font-size: 1.4rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(12, 119, 248, 0.30);
}

.filter-card {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(13, 27, 42, 0.05);
}

.filter-label {
    font-weight: 600;
    color: #34495e;
    font-size: .85rem;
    margin-bottom: .35rem;
}

.filter-card .form-select,
.filter-card .form-control {
    border-radius: 10px;
    border-color: #e3e8ef;
    padding: .6rem .9rem;
}

.filter-card .form-select:focus,
.filter-card .form-control:focus {
    border-color: #206EA7;
    box-shadow: 0 0 0 .2rem rgba(32, 110, 167, .12);
}

.table-modern {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 27, 42, 0.06);
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern thead th {
    vertical-align: middle;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .2px;
    border-bottom: 1px solid #eef0f4;
}

.table-modern .thead-primary {
    background: linear-gradient(90deg, #206EA7, #0C77F8) !important;
    color: #ffffff !important;
    border: none;
}

.table-modern thead tr:nth-child(2) th {
    background: #f7f9fc;
    color: #34495e;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid #e3e8ef;
}

.table-modern tbody tr:hover {
    background: #f2f7ff;
}

.table-modern tbody td {
    vertical-align: middle;
    padding: .7rem .75rem;
}

.table-modern .badge {
    font-weight: 500;
    padding: .4em .65em;
    border-radius: 20px;
}

/* Cabecera degradada para tablas de planeación (PTySESIONES*) */
.table-plan thead th {
    background: linear-gradient(90deg, #206EA7, #0C77F8) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-bottom: none !important;
}

/* Panel de filtros en filas tipo row (PTySESIONES*) */
.row.filter-row {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(13, 27, 42, 0.05);
    padding: 1.25rem 1.25rem 0.5rem;
    margin-left: 0;
    margin-right: 0;
}

.table-modern tbody tr.row-pending td {
    background: #fef2f2;
}

.table-modern tbody tr.row-pending:hover td {
    background: #fde8e8;
}

.badge-pending {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    font-weight: 500;
    border-radius: 20px;
    padding: .35em .6em;
    font-size: .72rem;
    white-space: nowrap;
}

.btn-view {
    background: linear-gradient(90deg, #206EA7, #0C77F8);
    color: #ffffff;
    border-radius: 8px;
    padding: .35rem .85rem;
    font-weight: 500;
    border: none;
    white-space: nowrap;
}

.btn-view:hover {
    color: #ffffff;
    filter: brightness(1.08);
}

.empty-state i {
    color: #b6c2d2;
}

#modalTutorados .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.modal-header.modal-primary {
    background: linear-gradient(90deg, #206EA7, #0C77F8);
    color: #ffffff;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

.modal-header.modal-primary .btn-close {
    filter: invert(1);
}

/* Controles de DataTables */
.dataTables_wrapper .dataTables_filter {
    margin-bottom: .75rem;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #e3e8ef;
    padding: .4rem .75rem;
    margin-left: .4rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #206EA7;
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(32, 110, 167, .12);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px;
    padding: .3rem .7rem !important;
    border: 1px solid #e3e8ef !important;
    background: #fff !important;
    color: #34495e !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(90deg, #206EA7, #0C77F8) !important;
    color: #fff !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_info {
    font-size: .85rem;
    color: #5b6b7c;
    padding-top: .6rem;
}
