.c-app {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: $font-family-sans-serif;
    font-size: $font-size-base;
    font-weight: 400;
    line-height: $line-height-base;
    color: #3c4b64;
    background-color: #ebedef;
}

.c-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
}

.c-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.c-header {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-shrink: 0;
    min-height: $template-header-height;
}

.c-header-fixed {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.c-header-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: $template-header-height;
}

.c-header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: $template-header-height;
    padding: 0;
    margin: 0;
    list-style: none;
}

.c-header-nav.text-right {
    margin-left: auto;
    justify-content: flex-end;
}

.c-header-nav-item {
    position: relative;
}

.c-header-nav-link,
.c-header-nav-btn {
    display: flex;
    align-items: center;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    text-decoration: none;
}

.c-header .c-header-nav-link {
    background-color: transparent !important;
    border: 0 !important;
}

.header-user-dropdown-menu {
    transform: translateX(8px);
}

.header-search-group:focus-within {
    border-radius: 0.375rem;
    box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

.header-search-group .form-control:focus {
    box-shadow: none;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.c-header-toggler {
    min-width: 50px;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.c-header-toggler-icon {
    display: block;
    height: 1.25rem;
    width: 1.25rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

.c-subheader {
    min-height: $template-subheader-height;
}

.c-header-nav-items {
    display: flex;
    align-items: center;
}

.c-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-sidebar {
    position: relative;
    display: flex;
    flex: 0 0 $template-sidebar-width;
    flex-direction: column;
    width: $template-sidebar-width;
    padding: 0;
    margin-left: -$template-sidebar-width;
    transition:
        margin-left 0.3s ease,
        width 0.3s ease;
}

@media (max-width: #{$template-breakpoint-lg - 0.02px}) {
    .c-sidebar {
        --is-mobile: true;
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 1031;
    }
}

.c-sidebar.c-sidebar-show,
.c-sidebar.c-sidebar-lg-show {
    margin-left: 0;
}

.c-sidebar.c-sidebar-fixed {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1030;
}

@media (min-width: #{$template-breakpoint-lg}) {
    .c-sidebar.c-sidebar-fixed.c-sidebar-show ~ .c-wrapper,
    .c-sidebar.c-sidebar-fixed.c-sidebar-lg-show ~ .c-wrapper {
        margin-left: $template-sidebar-width;
        transition: margin-left 0.3s ease;
    }
}

.c-sidebar.c-sidebar-minimized {
    flex: 0 0 $template-sidebar-minimized-width;
    width: $template-sidebar-minimized-width;
    margin-left: -$template-sidebar-minimized-width;
}

.c-sidebar.c-sidebar-minimized.c-sidebar-show,
.c-sidebar.c-sidebar-minimized.c-sidebar-lg-show {
    margin-left: 0;
}

@media (min-width: #{$template-breakpoint-lg}) {
    .c-sidebar.c-sidebar-minimized.c-sidebar-fixed.c-sidebar-show ~ .c-wrapper,
    .c-sidebar.c-sidebar-minimized.c-sidebar-fixed.c-sidebar-lg-show
        ~ .c-wrapper {
        margin-left: $template-sidebar-minimized-width;
    }
}

.c-sidebar-brand {
    display: flex;
    flex: 0 0 $template-header-height;
    align-items: center;
    justify-content: center;
}

.c-sidebar-brand-minimized {
    display: none;
}

.c-sidebar-minimized .c-sidebar-brand-full {
    display: none;
}

.c-sidebar-minimized .c-sidebar-brand-minimized {
    display: block;
}

.c-sidebar-nav {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0;
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    list-style: none;
}

.c-sidebar-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.c-sidebar-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.c-sidebar-nav-title {
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 80%;
    font-weight: 700;
    text-transform: uppercase;
}

.c-sidebar-nav-item {
    width: inherit;
}

.c-sidebar-nav-link {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 0.8445rem 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.c-sidebar-nav-icon {
    flex: 0 0 56px;
    height: 1.25rem;
    font-size: 1.25rem;
    text-align: center;
}

.c-sidebar-nav-icon:first-child {
    margin-left: -1rem;
}

.c-sidebar-minimized .c-sidebar-nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.c-sidebar-minimized .c-sidebar-nav-icon {
    margin-left: 0;
    font-size: 1.25rem;
}

.c-sidebar-minimized .c-sidebar-nav-text {
    display: none;
}

.c-sidebar-minimized .c-sidebar-nav {
    overflow: visible;
}

.c-sidebar-minimized .c-sidebar-nav-link {
    overflow: hidden;
    white-space: nowrap;
}

.c-sidebar-minimized .c-sidebar-nav-item:hover > .c-sidebar-nav-link {
    width: $template-sidebar-width + $template-sidebar-minimized-width;
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
}

.c-sidebar-minimized .c-sidebar-nav-item:hover .c-sidebar-nav-text {
    display: inline;
}

.c-sidebar-minimized .c-sidebar-nav-item:hover .c-sidebar-nav-icon {
    margin-left: -1rem;
}

.c-sidebar-minimizer {
    display: flex;
    flex: 0 0 $template-sidebar-minimizer-height;
    justify-content: flex-end;
    width: inherit;
    padding: 0;
    cursor: pointer;
    border: 0;
    background-color: #d2d2d2;
    transition:
        width 0.3s,
        background-color 0.3s;
}

.c-sidebar-minimizer::before {
    content: "";
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='white' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 16px 16px;
    background-color: #6c757d;
    display: block;
    width: $template-sidebar-minimizer-height;
    height: $template-sidebar-minimizer-height;
    transition: transform 0.3s ease;
}

.c-sidebar-minimized .c-sidebar-minimizer::before {
    transform: rotate(180deg);
}

.c-sidebar-minimizer:hover {
    background-color: #e6e6e6;
}

.c-sidebar-minimizer:hover::before {
    background-color: #ffffff;
}

.c-sidebar-minimized .c-sidebar-nav-title {
    height: 0;
    padding: 0;
    margin: 0;
    visibility: hidden;
    opacity: 0;
}

.c-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1029;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: #{$template-breakpoint-md - 0.02px}) {
    .c-d-md-down-none {
        display: none !important;
    }
}

// Base styles merged from _base.scss
html,
body {
    font-family: $font-family-sans-serif;
    // background-color: $primary-color;
    //background-color: #ebebeb;
    font-size: 0.8rem;
}

a {
    color: lighten($color: $primary-color, $amount: 5);

    &:hover {
        color: $primary-color;
    }
}

.font-md {
    font-size: 13px;
}

.c-app {
    background-color: $primary-color;
}

.c-sidebar .c-sidebar-brand {
    color: #fff;
    background: transparent;
}

.c-sidebar {
    color: #fff;
    background: $navbar-color;
}

ul {
    margin-top: -1px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #f8f9fa;
    // border-top: $primary-color 3px solid;
    color: #1e1e21;
    text-align: center;

    .center {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.navbar {
    border-bottom: $primary-color 3px solid;
}

ul.results {
    list-style-type: none;
    padding: 0;
}

.swal2-content {
    font-size: smaller !important;
}

.swal2-container {
    z-index: 2000 !important; /* Asegúrate de que sea mayor que el modal de Bootstrap */
}

.image-table-results {
    margin-bottom: 1rem;
    width: 100%;
}

.position-relative-top-15 {
    position: relative;
    top: 15px;
}

.text_uppercase {
    text-transform: uppercase;
}

.font-12 {
    font-size: 12px;
}

.font-10 {
    font-size: 10px;
}

.btn-app-primary {
    font-weight: 700 !important;
    font-size: medium;
    border-radius: 0.3rem !important;
}

body.swal2-toast-shown .swal2-container.swal2-bottom-end {
    bottom: 60px !important;
}

.swal2-styled.swal2-confirm {
    background: #134586 !important;
    background-color: #134586 !important;
}

@media (min-width: 1200px) {
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1400px !important;
    }

    .width-lg-80 {
        width: 80%;
    }
}

.link_download {
    font-size: 14px;
    text-decoration: underline;
}

.sign_document {
    content: " ";
    border-top: 1px solid #828487;
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 350px;
}

.activeNavLinkApp {
    background: #22418b;

    a,
    i {
        color: white !important;
    }
}

.c-sidebar .c-sidebar-minimizer {
    &:hover {
        background-color: rgb(210 210 210);
    }

    background-color: rgb(210 210 210);
    transition: width 0.3s;
}

.modal-open .modal {
    padding-left: 0 !important;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.card-elevate {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    padding: 1rem;
    margin: 2rem 1rem;
    border-radius: 0.8rem;
    // width: 40%;

    &:hover {
        box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0.2);
    }

    .card-elevate-title {
        font-weight: bold;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
}

.ant-transfer-list {
    width: 50% !important;
    height: 300px !important;
}

.link-groups-modal {
    color: #fff !important;
    font-size: 1rem;
    background-color: #3fbae4 !important;
    padding: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem !important;
    border: 0;
    margin-bottom: 3rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

.link-groups-modal:hover {
    box-shadow: 0 0.05rem 0.75rem rgba(0, 0, 0, 0.515);
}

.border-1-gray {
    border: 1px solid darkgray !important;
}

.text-green {
    color: #056e1f !important;
}

.text-orange {
    color: rgb(218, 149, 0) !important;
}

.text-yellow {
    color: #b58e03 !important;
}

.text-red {
    color: #e34724 !important;
}

.text-purple {
    color: #8a4cc4 !important;
}

.text-blue-2 {
    color: rgb(40, 94, 165) !important;
}

.bg-info-extra-subtle {
    background-color: #e6f3ff;
}

.circle-icon-light-blue {
    background: #3399ff;
    height: 2rem;
    width: 2rem;
    padding-top: 12px;
    padding-right: 6px;
    border-radius: 100%;
}

.avatar-card-groups {
    height: 200px;
    text-align: center;
    display: flex;
    justify-content: center;
    /* Centrado horizontal */
    align-items: center;

    span {
        font-size: 3rem;
        // font-weight: bolder;
        color: white;
    }
}

.disable-body {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
}

.z-index-1050 {
    z-index: 1050 !important;
    position: fixed;
}
.z-index-1060 {
    z-index: 1060 !important;
    position: fixed;
}

.badge-app {
    color: white;
    padding: 3px 10px;
    margin: 3px;
    border-radius: 10px;
    max-width: 170px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 3px 3px 3px rgb(182, 196, 201);
}

.badge-app-tutor {
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    box-shadow: 3px 3px 3px rgb(182, 196, 201);
}

.no-break {
    white-space: nowrap;
    word-break: keep-all;
}

.text-decoration-none {
    text-decoration: none;
}

.text-default {
    color: #405374 !important;
}
.text-blue-app {
    color: #224187 !important;
}

.css-olqui2-singleValue {
    color: black !important;
}

.report-button-containers {
    position: fixed;
    bottom: 70px; /* Ajusta la distancia desde la parte inferior según tu preferencia */
    right: 210px; /* Ajusta la distancia desde el lado derecho según tu preferencia */
    padding: 10px 20px; /* Espaciado interno del botón */
    border: none; /* Borde del botón */
    border-radius: 4px; /* Borde redondeado */
    cursor: pointer; /* Cambia el cursor al pasar por encima del botón */
    border-radius: 50%;
    z-index: 1050;
}

.report-button-two {
    right: 250px; /* Ajusta la distancia desde el lado derecho según tu preferencia */
}

// .print-button {
//     position: fixed;
//     bottom: 20px; /* Ajusta la distancia desde la parte inferior según tu preferencia */
//     right: 20px; /* Ajusta la distancia desde el lado derecho según tu preferencia */
//     padding: 10px 20px; /* Espaciado interno del botón */
//     border: none; /* Borde del botón */
//     border-radius: 4px; /* Borde redondeado */
//     cursor: pointer; /* Cambia el cursor al pasar por encima del botón */
//     border-radius: 50%;
// }

.back-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 50%;
}

.text-transparent {
    color: transparent;
}

.space-line-o {
    display: flex;
    align-items: center;
    margin: 2rem 0;

    .line {
        flex-grow: 1;
        height: 1px;
        background-color: rgb(182, 196, 201);

        /* Color de la línea */
    }

    .o {
        margin: 0 10px;
        font-size: 15px;
        font-style: italic;
        color: rgb(182, 196, 201);
    }
}

.card-grades-report {
    text-align: center;
    background-color: #f8f9fa;
}

.attendance-red-icon:hover {
    background-color: rgba(255, 0, 0, 0.05);
    border-radius: 700%;
}
.attendance-yellow-icon:hover {
    background-color: rgba(244, 255, 0, 0.07);
    border-radius: 50%;
}

.attendance-green-icon:hover {
    background-color: rgba(0, 255, 60, 0.07);
    border-radius: 50%;
}

.tree-app {
    border: 1px rgb(62, 66, 82) solid;
    border-radius: 10px;
    padding: 1rem;
    x .ant-tree-treenode-switcher-open {
        background-color: #73abf54b;
        border-radius: 5px;
        margin-top: 3px;
        .ant-tree-node-selected {
            background-color: #73abf54b;
        }
    }
}

.card-elevate-notes {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    padding: 0.5rem;
    margin: 2rem 1rem;
    border-radius: 0.8rem;
    &:hover {
        box-shadow: 8px 8px 16px 0 rgba(0, 0, 0, 0.2);
    }
    .card-elevate-title {
        font-weight: bold;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        background-color: red;
    }
}

.academic_record_tabs_panel {
    border: 0 !important;
    border-top: 1px solid #ddd !important;
    margin-top: 0 !important;
    padding: 1rem !important;
}
.academic_record_tabs_header {
    font-size: 12px;
    font-weight: 600;
    background-color: white;
}

.modal-zindex {
    z-index: 2000 !important;
}

.disabled {
    opacity: 0.5;
}

.sinapsis-sync-form {
    position: relative;
    padding-top: 1.5rem; // Espacio para el título

    .sinapsis-sync-form-title {
        font-size: 1.4rem;
        font-weight: 300;
        color: rgb(46, 73, 108);
        font-weight: bold;
        background: white;
        padding-left: 5px;
        padding-right: 5px;
        position: absolute;
        top: -1.25rem;
        left: 20px;
        // z-index: 2;
    }

    &.with-z-index {
        .sinapsis-sync-form-title {
            z-index: 2;
        }
    }
}

.sidebar-md {
    width: $sidebar-md-width;
}

.li-spaced li {
    margin-bottom: 0.6rem;
}

.btn-outline-orange {
    color: rgb(129, 75, 0);
    border-color: rgb(255, 166, 0);

    &:hover,
    &:focus {
        background-color: rgb(235, 156, 10);
        border-color: rgb(235, 156, 10);
        color: #fff;
        font-weight: bold;
    }

    &:active,
    &.active {
        background-color: darken(rgb(235, 156, 10), 8%);
        border-color: darken(rgb(235, 156, 10), 8%);
    }
}
