html, :root {
    --primary_blue: #0061DF;
    --primary_sky_blue: #52C3DD;
    --primary_green: #90C96B;
    --primary_yellow: #F8DB50;
    --primary_orange: #FFA852;

    --secondary_light_blue: #66A0EB;
    --secondary_light_sky_blue: #8ECBDB;
    --secondary_light_green: #C6E0B9;
    --secondary_light_yellow: #FAE995;
    --secondary_light_orange: #F6C692;

    --basic_black: #131523;
    --basic_dark_gray: #333752;
    --basic_gray: #5A607F;
    --basic_ligth_gray: #A1A7C4;
    --basic_white: #EDEFF5;
    --basic_white_contrast: #F5F6FA;
    --basic_white_contrast_opacity: rgba(245, 246, 250, 0.60);

    --alert_validation: #FFB82E;
    --alert_error: #F93232;
    --alert_success: #439F6E;

    --linear_gradient: linear-gradient(162.59deg, #0061DF -0.94%, #A2CC8B 46.91%, #F1A24A 100%);
    --female: #CF3074;
    --male: #66A0EB;
    --light_sky: #E3EFF9;
    --white_fallback: #ffffff;
    --sidebar-width: 18rem !important;
    --navbar-height: 7rem !important;
}

html[scheme=light-mode] {
    --primary_blue: #0061DF;
    --primary_sky_blue: #52C3DD;
    --primary_green: #90C96B;
    --primary_orange: #FFA852;
    --primary_yellow: #F8DB50;

    --secondary_light_blue: #66A0EB;
    --secondary_light_sky_blue: #8ECBDB;
    --secondary_light_green: #C6E0B9;
    --secondary_light_yellow: #FAE995;
    --secondary_light_orange: #F6C692;

    --basic_black: #131523;
    --basic_dark_gray: #333752;
    --basic_gray: #5A607F;
    --basic_light_gray: #A1A7C4;
    --basic_white: #EDEFF5;
    --basic_white_contrast: #F5F6FA;
    --light_sky: #E3EFF9;
}

html[scheme=dark-mode] {
    /* Colores primarios */
    --primary_blue: #52b8e1;
    --primary_sky_blue: #2a7b90;
    --primary_green: #2a7b90;
    --primary_yellow: #d9a455;
    --primary_orange: #d9824d;

    /* Colores secundarios */
    --secondary_light_blue: #446e84;
    --secondary_light_sky_blue: #62a8bd;
    --secondary_light_green: #50816d;
    --secondary_light_yellow: #c0a07c;
    --secondary_light_orange: #d59a7d;

    /* Colores básicos */
    --basic_black: #d2d5d7;
    --basic_dark_gray: #a5a8ab;
    --basic_gray: #c7c7c7;
    --basic_light_gray: #5b5d5f;
    --basic_white: #333639;
    --basic_white_contrast: #232527;

    --primary: var(--primary_blue);
    --accent: var(--primary_sky_blue);
    --warn: var(--primary_green);

    --light_sky: #7d7d7d;


}



html, body{
    font-family: "Poppins", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;

    color: var(--basic_black)  !important;
}
input {
    font-family: "Poppins", sans-serif !important;
}
input::placeholder {
    font-family: "Poppins", sans-serif !important;
}
img.avatar-image {
    width: 48px;
}

.navbar {
    height: var(--navbar-height) !important;
    max-height: var(--navbar-height) !important;
    background-color: var(--basic_white_contrast) !important;
    margin-block-end: 1.5rem;
}
.navbar-content {
    flex: 100% !important;
}
.institution-logo {
    width: 38px;
    height: 38px;
    border-radius: 0.395625rem;
    margin-inline-end: 0.75rem;
}

.institution-period {
    font-size: 14px;
    color: var(--basic_black);
    line-height: 21px;
}

.institution-header {
    margin-inline-start: 1.50rem;
}

.institution-term {
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    color: var(--alert_success);
}
.institution-term.text-danger {
    color: var(--alert_error)  !important;

}

.institution-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: var(--basic_black)  !important;
}


@media screen and (max-width: 968px) {
    .institution-name {
        font-size: 16px;
        line-height: 21px;
    }
    .institution-period-title {
        display: none;
    }
}

.navbar-brand {
    padding: 0;
    margin: 0;
}
.navbar-intro {
    background-color: var(--basic_white) !important;
}

.navbar-input {
    min-width: 23.75rem;
    min-height: 1.875rem;
    border-radius: 1.5rem;
    padding: 6px 8px 6px 36px;
    background-color: transparent;
    border: solid 0.5px var(--basic_gray) !important;
}

@media screen and (max-width: 968px) {
    .navbar-input {
        min-width: 100%;
        border-radius: 0;
        border: 0;
    }
}
.navbar-input-search {
    position: relative;
    left: 7px;
    color: var(--basic_gray) !important;
}
.nav-user-name {
    font-weight: bold;
    color: var(--basic_black) !important;
    max-width: fit-content;
}

.sidebar-inner, .submenu-inner {
    border: 0 !important;
    background-color: var(--basic_white_contrast) !important;
}

.sidebar-section.header{
    background-color: var(--basic_white) !important;
}

.sidebar-white3 .nav > .nav-item.active > .nav-link {
    color: var(--primary_blue);
    background-color: var(--light_sky);
}

.sidebar-white3 .nav.has-active-border .nav-item.active {
    background-color: var(--basic_white);
}

.nav-link {
    color: var(--basic_gray) !important;
}

.nav-icon {
    color: var(--basic_gray) !important;
}

.logo-mikareno {
    height: 5.93rem;
}
.logo-mikareno img {
    width: 100%;
}
.page-content, .main-container {
    background-color: var(--basic_white) !important;
}

.btn-burger {
    padding: 5px !important;
}
.sidebar.collapsed .mikareno {
 display: none;
}
.sidebar-inner:hover .mikareno{
    display: flex !important;
}

.mika-footer {
    background-color: var(--basic_white_contrast);
    margin-top: 24px !important;
    padding: 24px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.75rem;
}

.mika-footer .rrss {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.mika-footer .copyright {
    font-size: 14px;
    line-height: 21px;
    font-weight: normal;
}

.mika-footer .copyright .by {
    color: var(--primary_blue);
}

.mika-footer .copyright a {
    color: var(--basic_black);
}

.mika-footer .copyright a:hover {
    color: var(--primary_blue);
}

/*custom*/
html[scheme=light-mode] {
    .container-fallback {
        padding: 24px;
        border-radius: 4px;
        background-color: var(--white_fallback);
    }
}
.card {
    background-color: var(--basic_white_contrast);
}
.btn-blue {
    border-color: var(--primary_blue) !important;
}
.btn-icon {
    display: flex;
    padding: 4px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    color: var(--white);


}
.btn-icon:hover {
    color: inherit !important;
}
.w-5 {
    width: 2.5rem !important;
}
.h-5 {
    height: 2.5rem !important;
}
.btn-blue:hover {
    background-color: var(--primary_blue) !important;
    color: var(--white);
}
input.ace-switch {
    background-color: #9faeb8 !important;
}

html[scheme=dark-mode] {
    .fc-content .fc-title {
        color: var(--basic_white_contrast);
    }
    .alert {
        color: black !important;

        span {
            color: black !important;
        }
    }


    .thead-light th {
        background-color: var(--basic_white_contrast) !important;
    }
    .page-item.active .page-link {
        background-color: var(--basic_white_contrast) !important;
    }
    .fc-content-skeleton .fc-day {
        border-color: transparent;
    }

    .fc-day {
        border: 1px solid #dee2e6;
    }

    .fc-day-top {
        border-top: 1px solid #dee2e6 !important;
        border-right: 1px solid #dee2e6 !important;
    }

    th {
        color: var(--basic_black) !important;
    }

    .fc-day-number {
        color: var(--basic_black) !important;
        opacity: 0.8 !important;
    }

    table:not(.form-inline) tr:hover {
        background-color: var(--basic_light_gray) !important;
    }


    h1, h2, h3, h4, h5, h6 {
        color: var(--basic_black) !important;
    }

    table:not(.form-inline)  td {
        color: var(--basic_black);
    }
    input {
        background-color: transparent !important;
        color: var(--basic_black) !important;

    }
    input::placeholder {
        color: var(--basic_black) !important;
    }
    legend {
        color: var(--basic_black) !important;
    }
    .card-body-theme {
        background-color: var(--basic_white);
    }
    .bgc-h-orange-l4:hover, .bgc-orange-l4 {
        background-color: var(--basic_white_contrast) !important;
        color: var(--basic_dark_gray);
    }

    .nav-tabs .nav-link {
        background-color: var(--basic_white_contrast) !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        border-bottom: 2px solid transparent !important;
    }

    .nav-tabs .nav-link.active {
        border-bottom-color: var(--primary_blue) !important;
    }
    .bgc-h-secondary-l4:hover, .bgc-secondary-l4 {
        background-color: var(--basic_white_contrast) !important;
    }

    .text-dark-m3 {
        color: var(--basic_dark_gray) !important;
    }
    .text-dark-l2 {
        color: var(--basic_dark_gray) !important;
    }
    .table thead {
        color: var(--basic_dark_gray) !important;
    }
    .table-child {
        background-color: var(--basic_white_contrast);
        border-color: var(--basic_gray) !important;
        border-left-width: 4px !important;
        border-left-style: solid !important;
    }
    table:not(.form-inline) tbody tr:nth-of-type(even) {
        background-color: var(--basic_white) !important;
    }
    table:not(.form-inline) tbody tr:nth-of-type(odd) {
        background-color: var(--basic_white_contrast) !important;
    }
    .text-secondary-d3 {
        color: var(--basic_ligth_gray) !important;
    }
    .text-primary, .text-primary {
        color: var(--primary_blue) !important;
    }
    .bgc-white {
        background-color: var(--basic_white) !important;
    }
    .modal-footer {
        background-color: var(--basic_white_contrast) !important;
    }
    .subtitle {
        color: var(--basic_dark_gray) !important;

    }
    .btn-warning {
        background-color: var(--primary_yellow);
        color: var(--basic_black) !important;
    }

    .fc-daygrid-day-number {
        color: var(--basic_black) !important;
    }
    .fc .fc-day-other .fc-daygrid-day-top {
        opacity: 0.7;
    }
    .fc-col-header-cell-cushion {
        color: var(--basic_black) !important;
    }
    .btn {
        color: var(--basic_dark_gray);
    }

    .mat-input-element {
        caret-color:var(--primary_blue) !important;
    }

    button[disabled] {
        color: var(--basic_light_gray);

    }
    .note-toolbar {
        background-color: var(--basic_white);
    }
    .note-editor.note-frame .note-btn-group {
        background-color: transparent !important;
    }
    .inbox-aside .modal-body {
        background-color: var(--basic_white_contrast);
    }
    .brc-dark-l4 {
        border-color: var(--basic_white) !important;
    }
    .bgc-h-primary-l4:hover, .bgc-primary-l4 {
        background-color: var(--basic_white_contrast) !important;
    }
    .bg-white {
        background-color: var(--basic_white) !important;
    }


    .table-hover:hover {
        background-color: var(--basic_white_contrast);
    }



    .profile-info-row {
        min-height: 32.5px !important;
    }

    .dataTables_wrapper, .dataTables_wrapper > .row:first-of-type, .dataTables_wrapper > .row:last-of-type {
        background: var(--basic_white) !important;
    }
    .dataTables_wrapper > .row:last-of-type {
        border-bottom: 1px solid var(--basic_white) !important;
    }
    .table.dataTable thead tr th.sorting_asc, table.dataTable thead tr td.sorting_asc {
        background-color: var(--basic_white) !important;
        color: var(--primary_blue) !important;
    }
    .table.dataTable thead tr th.sorting_desc, table.dataTable thead tr td.sorting_desc {
        background-color: var(--basic_white) !important;
        color: var(--primary_blue) !important;

    }

    table.dataTable thead tr th:hover {
        background-color: var(--basic_white_contrast) !important;
    }
    .page-link {
        background-color: var(--basic_white) !important;
        border-color: var(--basic_white_contrast) !important;
        color: var(--basic_black) !important;
    }
    .page-item.disabled .page-link {
        opacity: 0.8;
    }

    .profile-user-info-striped .profile-info-name {
        color: var(--basic_black) !important;
        background-color: var(--basic_white_contrast) !important;
        border-top: 1px solid var(--basic_black) !important;
    }

    .profile-info-value {
        background-color: var(--basic_white) !important;
    }

    .text-grey-d2 {
        color: var(--basic_gray) !important;
    }

    .bgc-yellow-tp2 {
        background-color: var(--primary_yellow) !important;
    }

    .text-dark-tp4 {
        color: var(--basic_white) !important;
    }

    .bgc-yellow-l1, .bgc-h-yellow-l1:hover {
        background-color: rgba(251, 241, 183, 0.5) !important;
    }

    select.form-control {
        background-color: var(--basic_white) !important;
    }
    a {
        color: var(--primary_blue);
    }

    .ui-widget-content {
        background: var(--basic_white) !important;
    }

    .ui-select-choices-row:hover {
        background: var(--basic_white_contrast) !important;
    }

    .select2-drop, .select2-container-multi, .select2-choices, .select2-search-field input, .select2-search input {
        background: var(--basic_white) !important;
        color: var(--basic_black) !important;
    }

    .select2-drop, .select2-container-multi .select2-choices .select2-search-field input, .select2-search input {
        background: var(--basic_white) !important;
        color: var(--basic_black) !important;
    }

    .btn-primary {
        color: var(--basic_black) !important;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: var(--basic_black) !important;
    }

    .select2-container .select2-choice {
        background: var(--basic_white);
        color: var(--basic_black);
    }

    .table-primary,
    .table-secondary,
    .table-success,
    .table-info,
    .table-warning,
    .table-danger,
    .table-light,
    .table-dark {
        color: var(--basic_white) !important;
        td {
            color: var(--basic_white) !important;
        }
    }

    .jumbotron{
        background-color: var(--basic_white_contrast);
    }

    .bgc-info-l3, .bgc-h-info-l3:hover {
        background-color: var(--secondary_light_blue) !important;
    }
    .btn-lighter-default {
        background-color: var(--secondary_light_blue) !important;
    }

    .dropdown-item:not(.btn) {
        color: var(--basic_black) !important;
    }

    .text-dark-m2 {
        color: var(--basic_black) !important;
    }
    .bgc-grey-l4, .bgc-h-grey-l4:hover {
        background-color: var(--secondary_light_green);
    }
    .btn-secondary,
    .btn-primary,
    .btn-success,
    .btn-pink {
        color: var(--basic_black) !important;
    }
}
.sidebar-white3 .ace-scroll {
    scrollbar-color: #aaa var(--basic_white) !important;
}
.dropdown-menu {
    background: var(--basic_white_contrast) !important;
}
.dropdown-item:hover {
    background: var(--basic_white) !important;
}
.modal-content {
    background: var(--basic_white) !important;
}
.form-control {
    background-color: transparent !important;
    color: var(--basic_black) !important;
}
.scroll-sidebar {
    max-height: calc(100vh - var(--navbar-height) - 5rem);
    overflow: auto;
}
.mika-footer path {
    fill: var(--basic_black);
}

.navbar-content {
    flex: 1 0 0 !important;
    justify-content: space-between;
}

.nav-user-box {
    display: flex;
    padding: 0 4px;
    align-items: center;
    gap: 8px;
}
.nav-user-box--role {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: var(--basic_black);
    text-overflow: ellipsis;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.nav-user-box--username {
    color: var(--basic_black);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
