@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/Saira-VariableFont_wdth,wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}

:root{
    --color1: #272360;
    --color1shadow: #27236011;
    --color2: #00D7C2;
    --color3: #05C5DC;
    --color5: #e7eafd;
    --color6: #8D06FB;
    --white: #FFFFFF;
    --grey: #98A2B3;
    --lightgrey: #F9F9F9;
    --text: #101828;
    --textprimary: #ffffff;
    --textsecondary: #ffffff;
    --gray200: #F9FAFB;
}
/* SCROLLBAR */

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #05C5DC;
}
::-webkit-scrollbar-thumb {
    background: var(--color1);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color5);
}
.palette{
    padding: 8px;
    margin: 5px;
    cursor: pointer;
    width: fit-content;
}
.selected-palette{
    border: 2px solid var(--color1);
}
.unselected-palette{
    border: 1px solid gray;
 }
.color{
    border: 1px solid #eee;
    width: 25px;
    height: 25px;
    margin: 3px;
    display: inline-block;
}

body, #menu-superior{
    background-color: var(--color5);
    color: var(--text);
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}
h1,h2,h3,h4,h5,h6{
    font-family: 'Saira', sans-serif;
    font-weight: bold;
}
h1{
    font-size: 2rem;
}
h2{
    font-size: 1.8rem;
}
h3{
    font-size: 1.6rem;
}
h4{
    font-size: 1.4rem;
}
h5{
    font-size: 1.2rem;
}
h6{
    font-size: 1rem;
}
.text-color2 {
    color: var(--color2);
}
.bg-lightgrey {
    background-color: var(--lightgrey);
}

.bg-gray200 {
    background-color: var(--gray200);
}

.time{
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}
.font-general{
    font-family: 'Roboto', sans-serif;
}
a{
    color:var(--color3);
}
a:hover{
    color:var(--color5);
}
a.dashboard{
    color:var(--color1);
    text-decoration: none;
}

.cursor{
    cursor: pointer;
}
/* ------------------ CONTAINERS ----------------*/
.sidebar{
    background-color: var(--color1);
    height: 100vh;
    overflow-y: auto;
    padding:0px 15px;
    position:sticky;
    top:0px;
    width: 280px;

}
.sidebar #logo{
    background-color: #fff;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    width: 135px;
    height: 135px;
    margin:auto;
    margin-top:5px;
    margin-bottom:10px;
}
.submenu-toggle{
    color: var(--white);
}
.submenu{
    padding-left: 10px;
}
.contenido{
    padding:50px;
}
.contenido.superpuesto{
    margin-top: initial;
}
.contenedor-full{
    background-image: url('/images/fondo-general.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}
.sidebar .nav-item{
    padding: 8px 0px;
}
.sidebar a{
    color:var(--white);
    text-decoration: none;
}
.sidebar img{
    margin-right: 5px;
}
.separador{
    height: 1px !important;
    border: 1px solid var(--white);
    margin: 5px;
}
#menu-superior .dropdown-menu{
    left:initial;
    right: 0 !important;
}
/* ------------------ BUTTONS ------------------ */
/* BUTTONS BOOSTRAP */
.btn {
    border-radius: 100px;
    padding: 12px 20px;
    transition: box-shadow 0.3s;
}
.btn-drop{
    border-radius: 0px;
    color: var(--color1) !important;
    padding: 10px;
}
.btn-drop:hover,
.btn-drop:active,
.btn-drop:focus{
    color: var(--color1) !important;
    box-shadow: none !important;
}
.btn-drop::after{
    display: none;
}

.btn-primary {
    color: var(--textprimary) !important;
    background-color: var(--color6) !important;
    border: 1px solid var(--color6) !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus{
    color: var(--color6) !important;
    background-color: var(--textprimary) !important;
    box-shadow: none !important;
}

.btn-outline-primary {
    border: 1px solid var(--color6) !important;
    color: var(--color6) !important;
    background-color: var(--textprimary) !important;
    box-shadow: none !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus{
    color: var(--textprimary) !important;
    background-color: var(--color6) !important;
}

.btn-outline-primary a {
    color: var(--color6) !important;
}

.btn-outline-primary:hover a,
.btn-outline-primary:active a,
.btn-outline-primary:focus a {
    color: var(--textprimary) !important;
}

.btn-secondary {
    color: var(--textsecondary) !important;
    background-color: var(--color3) !important;
    border: 1px solid var(--color3) !important;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus{
    color: var(--color3) !important;
    background-color: var(--textsecondary) !important;
    border: 1px solid var(--color3) !important;
    box-shadow: none !important;
}

.botones .nav-link{
    border-radius: 100px;
    padding: 12px 20px;
    transition: box-shadow 0.3s;
    border: 1px solid var(--color6) !important;
    color: var(--color6) !important;
    background-color: var(--textprimary) !important;
    box-shadow: none !important;
    margin-left:5px;
}

.botones .nav-link.active{
    color: var(--textprimary) !important;
    background-color: var(--color6) !important;
}

.btn-small {
    font-size: 14px;
    border-radius: 100px;
    padding: 4px 10px;
    transition: box-shadow 0.3s;
    color: var(--textprimary) !important;
    background-color: var(--color6) !important;
    border: 1px solid var(--color6) !important;
}

.btn-small:hover,
.btn-small:active,
.btn-small:focus{
    color: var(--color6) !important;
    background-color: var(--textprimary) !important;
    box-shadow: none !important;
}


/* SWAL VENTANTAS DE ALERTA */
.swal2-confirm{
    background-color: var(--color6) !important;
    border:1px solid var(--color6) !important;
    border-radius: 100px !important;
    color: var(--white) !important;
    min-width: 180px !important;
    padding: 12px 20px;
}
.swal2-cancel{
    background-color: var(--white) !important;
    border:1px solid var(--white) !important;
    border-radius: 100px !important;
    color: var(--color2) !important;
    min-width: 180px !important;
    padding: 12px 20px;
}
.swal2-deny{
    background-color: var(--color3) !important;
    border:1px solid var(--color3) !important;
    border-radius: 100px !important;
    color: var(--white) !important;
    min-width: 180px !important;
    padding: 12px 20px;
    margin: 0px 5px;
}
.swal2-confirm:focus,
.swal2-cancel:focus,
.swal2-deny:focus{
    outline: none !important;
    box-shadow: none !important;
}
/* ACORDEONES */
.accordion-button,
.accordion-button:not(.collapsed) {
    color: var(--white) !important;
    background-color: var(--color3) !important;
    box-shadow: none !important;
}
.accordion-button::after {
    background: transparent !important;
    color:var(--white) !important;
    content: "\f078" !important;
    font-family: "Font Awesome 6 Free";
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.accordion-item{
    border-radius: 5px !important;
}


/* ------------------------- */
.form-control{
    border-radius: 8px;
    padding: 10px !important;
}

.form-control:focus,
.form-check-input:focus {
    border-color: var(--color6);
}
.form-check-input:focus {
    border: 1px solid var(--color6);
}
.form-control.select{
    padding:3px !important;
}
.form-control.select-standard{
    padding:10px;
    border:1px solid var(--general) !important;
    border-radius: 10px !important;
}

.form-control.select > div{
    border: none !important;
}
.form-control.select > div:hover,
.form-control.select > div:focus,
.form-control.select > div:active,
.form-control.select > div:focus-within,
.form-control.select > div:target,
.form-control.select > div:visited,
.form-control.select > div:focus-visible{
    border: none !important;
    box-shadow: none !important;
}


.sd-passwordview{
    position:relative;
}
.sd-imageneye{
    width: 45px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding-top: 10px;
    padding-right: 20px;
    z-index: 10;
}
.password-list{
    display: grid;
    padding-left:10px;
    line-height: 14px;
}

.sd-switch input{
    width: 40px !important;
    height: 24px !important;
}

.tooltip-inner {
    width: 60%;
    max-width: 550px;
    background-color: var(--color1) !important;
    color: var(--white) !important;
}
.tooltip-arrow::before {
    display: none !important; /* Oculta la flecha predeterminada */
}
.tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px; /* Tamaño de la flecha */
    border-color: transparent transparent var(--color1) transparent; /* Color de la flecha */
    position: absolute;
    content: '';
}

.tooltip[data-popper-placement^="top"] .tooltip-arrow {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px; /* Ajusta para la orientación superior */
    border-color: transparent transparent var(--color1) transparent;
}

.tooltip[data-popper-placement^="bottom"] .tooltip-arrow {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px; /* Ajusta para la orientación inferior */
    border-color: var(--color1) transparent transparent transparent;
}

.tooltip[data-popper-placement^="left"] .tooltip-arrow {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px; /* Ajusta para la orientación izquierda */
    border-color: transparent transparent transparent var(--color1);
}

.tooltip[data-popper-placement^="right"] .tooltip-arrow {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0; /* Ajusta para la orientación derecha */
    border-color: transparent var(--color1) transparent transparent;
}

.card {
    border-radius: 8px !important;
}

.radius-0 {
    border-radius: 0px !important;
}

.card .rounded-bottom {
    border-bottom-right-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    margin-left: -1px !important;
    margin-right: -1px !important;
    margin-bottom: -1px !important;
}
.draganddrop{
    border-radius: 8px !important;
    border: 1px dotted var(--color1) !important;
    padding:80px 20px;
}
.draganddrop-documents{
    border-radius: 8px !important;
    border: 1px dotted var(--color1) !important;
    padding: 26px 20px;
    background: #f5f5f5
}
.textarea-documents{
    overflow: 'auto';
    resize: 'none';
}

/* ----------------- */
/* --- LOGIN ------ */
/* --------------- */
.login{
    max-width: 450px;
    padding: 0px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: block;
}

/* Contenedor deslizante */
.sliding-form {
    position: fixed;
    bottom: -100%; /* Oculto por defecto */
    width: 100%;
    left:50%;
    margin-left: -200px;
    width: 400px;
    background: #fff;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1100;
    transition: bottom 0.8s ease-in-out;
    padding: 0px;
}

/* Mostrar el contenedor */
.sliding-form.show {
    bottom: 0; /* Se desliza hacia arriba */
}

/* ------------------------------------- */
/* ------------ CALENDARIO ------------ */
/* ----------------------------------- */
.react-calendar{
    border: 1px solid var(--color3) !important;
    border-radius: 10px !important;
    font-family: 'Roboto', sans-serif !important;
    width: 100% !important;
}
.colores{
    font-size: 0.9em;
}
.colores .color{
    width: 10px;
    height: 10px;
}

.react-calendar__month-view__days__day {
    color: var(--color1 ) !important;
}

.react-calendar__month-view__days__day--weekend {
    color: #FF5C5C !important;
}

.reserved{
    background-color: #FFB84D !important;
    color: white !important;
}

.vacation{
    background-color: #8C06FB !important;
    color: white !important;
}

.excusedabsence{
    background-color: #4ACF8C !important;
    color: white !important;
}

.unexcusedabsence{
    background-color: #b4bac5 !important;
    color: white !important;
}

.blocked{
    background-color: #FF5C5C !important;
    color: white !important;
}

.denied{
    background-color: #E30425 !important;
    color: white !important;
}

/* START TABS */
.nav-tabs button {
    color: var(--text) !important
}
/* END TABS */

.botones {
    display: flex;
    justify-content: end;
}

input, input::-webkit-date-and-time-value {
    text-align: left !important;
}


.nav-link:not(.tabs).active,
.nav-link:not(.tabs):hover,
.nav-item:not(.tabs):not(.submenu).active,
.nav-item:not(.tabs):not(.submenu):hover,
.submenu-toggle.active,
.submenu-toggle:hover {
    color: var(--color3);
    filter: brightness(0) saturate(100%) invert(81%) sepia(23%) saturate(6968%) hue-rotate(135deg) brightness(88%) contrast(97%) !important;
}

.mw-58 {
    min-width: 58px !important;
}

.text-primary {
    color: var(--color1) !important;
}

.colums-2 {
    grid-template-columns: auto auto;
}

/* EYE PASSWORD BUTTON */
.sd-eye {
    position: relative;
    top: -33px;
    left: 92%;
}

.notification-container {
    color: var(--text) !important;
    text-decoration: none !important;
}

.react-calendar__tile--active:not(.reserved):not(.vacation):not(.excusedabsence):not(.unexcusedabsence):not(.blocked) {
    background-color: #FEFEFE !important;
    color: var(--color1) !important;
}

.check-notifications{
    min-width: 14px;
}

.witharrow.form-select {
    background-position: right 1rem center !important;
    padding-right: 2.5rem !important;
    width: auto !important;
    min-width: 300px;
}

.width-300{
    width: 300px;
}

.modal-content {
    padding: 24px;
}