@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url("https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css");
/*========== VARIABLES CSS ==========*/
:root {
    --header-height: 3.5rem;
    --nav-width: 219px;
    --first-color: #2563eb;
    --first-color-light: #F4F0FA;
    --title-color: #19181B;
    --text-color: #58555E;
    --text-color-light: #A5A1AA;
    --body-color: #F9F6FD;
    --container-color: #FFFFFF;
    --body-font: 'Poppins', sans-serif;
    --normal-font-size: .938rem;
    --small-font-size: .75rem;
    --smaller-font-size: .75rem;
    --font-medium: 500;
    --font-semi-bold: 600;
    --z-fixed: 98;
}
body {
    min-height:100vh;
    box-sizing: border-box;
    margin:0!important;
    padding:0!important;
    font-family: 'Poppins', sans-serif;
    font-size: .938rem;
    /*background-color: var(--body-color);*/
    color: #58555E;
    top:0;
    left:0;
    display:inline-block;
    position:relative;
    width:100%;
}
h2 {
    font-size: 1.2rem;
}
h3 {
    font-size: 1.1rem;
}
h4 {
    font-size: 1rem;
}
/*========== HEADER ==========*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    /*box-shadow: 0 1px 0 rgba(22, 8, 43, 0.1);*/
    padding: 0 1rem;
    z-index: var(--z-fixed);
}

.header__container {
    display: flex;
    align-items: center;
    height: var(--header-height);
    justify-content: space-between;
}

.header__img {
    width: 35px;
    height: 35px;
    /*border-radius: 50%;*/
}

.header__logo {
    color: var(--title-color);
    font-weight: var(--font-medium);
    display: none;
}

.header__search {
    display: flex;
    padding: .40rem .75rem;
    background-color: var(--first-color-light);
    border-radius: .25rem;
}

.header__input {
    width: 100%;
    border: none;
    outline: none;
    background-color: var(--first-color-light);
}

.header__input::placeholder {
    font-family: var(--body-font);
    color: var(--text-color);
}

.header__icon,
.header__toggle {
    font-size: 1.2rem;
}

.header__toggle {
    color: var(--title-color);
    cursor: pointer;
}

/*========== NAV ==========*/
.nav {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    padding: 1rem 1rem 0;
    background-color: var(--container-color);
    /*box-shadow: 1px 0 0 rgba(22, 8, 43, 0.1);*/
    z-index: var(--z-fixed);
    transition: .4s;
}

.nav__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 3rem;
    overflow: auto;
    scrollbar-width: none; /* For mozilla */
}

/* For Google Chrome and others */
.nav__container::-webkit-scrollbar {
    display: none;
}

.nav__logo {
    font-weight: var(--font-semi-bold);
    margin-bottom: 2.5rem;
}

.nav__list,
.nav__items {
    display: grid;
}

.nav__list {
    row-gap: 2.5rem;
}

.nav__items {
    row-gap: 1.5rem;
}

.nav__subtitle {
    font-size: var(--normal-font-size);
    text-transform: uppercase;
    letter-spacing: .1rem;
    color: var(--text-color-light);
}

.nav__link {
    display: flex;
    align-items: center;

}

.nav__link:hover {
    color: var(--first-color);
}

.nav__icon {
    font-size: 1.2rem;
    margin-right: .5rem;
}

.nav__name {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    white-space: nowrap;
}

.nav__logout {
    margin-top: 5rem;
}

/* Dropdown */
.nav__dropdown {
    overflow: hidden;
    max-height: 21px;
    transition: .4s ease-in-out;
}

.nav__dropdown-collapse {
    background-color: var(--first-color-light);
    border-radius: .25rem;
    margin-top: 1rem;
}

.nav__dropdown-content {
    display: grid;
    row-gap: .5rem;
    padding: .75rem 2.5rem .75rem 1.8rem;
}

.nav__dropdown-item {
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);

}

.nav__dropdown-item:hover {
    color: var(--first-color);
}

.nav__dropdown-icon {
    margin-left: auto;
    transition: .4s;
}

/* Show dropdown collapse */
.nav__dropdown:hover {
    max-height: 100rem;
}

/* Rotate icon arrow */
.nav__dropdown:hover .nav__dropdown-icon {
    transform: rotate(180deg);
}

/*===== Show menu =====*/
.show-menu {
    left: 0;
}

/*===== Active link =====*/
.active {
    color: var(--first-color);
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.rotating {
    -webkit-animation: rotating 1s linear infinite;
    -moz-animation: rotating 1s linear infinite;
    -ms-animation: rotating 1s linear infinite;
    -o-animation: rotating 1s linear infinite;
    animation: rotating 1s linear infinite;
}
.mainContainer{
    min-height:100vh;
}

.mainContainer::after{
    content:attr(footer);
    display:block;
    position:absolute;
    background-color: #fff;
    bottom:0;
    left:0;
    width:100%;
    height:40px;
    z-index:99;
    line-height:40px;
    text-align: center;
    -webkit-box-shadow:inset 0px 2px 0px -1px #e1e2e6;
    -moz-box-shadow:inset 0px 2px 0px -1px #e1e2e6;
    box-shadow:inset 0px 2px 0px -1px #e1e2e6;
}
html.dark .mainContainer::after{
    background-color: rgb(17,24,39);
    color:#eee;
}
.avatar > svg {
    height: 2.25rem;
    order: 1;
    border-radius: 9999px;
    margin-top: 0.125rem;
    margin-right: 0.125rem;
}
.avatar-container:hover .avatar-menu{
    display: block;
    visibility: visible;
}
.profile-avatar{
    left:50%;
    position:absolute;
    margin-left: -45px;
    top: 70px;
}
.profile-avatar > svg {
    width:90px;
    border-radius: 9999px;
    border-width: 4px;
    border-color: #fff;
    height: auto;
}
html.dark .profile-avatar > svg {
    border-color: rgb(31 41 55);
}
.optionsPP > svg {
    width:80px;
    z-index: 10;
    border-radius: 9999px;
}
html.dark .optionsPP > svg {
    filter: brightness(.5);
}
.optionsPP i {
    display:none !important;
}
.optionsPP:hover i {
    display:inline-block !important;
}
html.dark .clock{
    box-shadow: 0 -15px 15px rgba(255,255,255,0.05),
    inset 0 -15px 15px rgba(255,255,255,0.05),
    0 15px 15px rgba(0,0,0,0.3),
    inset 0 15px 15px rgba(0,0,0,0.3);
}
.clock {
    background-image: url("/img/clock.png");
    background-size: cover;
    margin:0 auto;
    box-shadow: 0 -15px 15px rgba(255,255,255,0.5),
    inset 0 -15px 15px rgba(255,255,255,0.5),
    0 15px 15px rgba(0,0,0,0.1),
    inset 0 15px 15px rgba(0,0,0,0.1);
}
html.dark .clock:before {
    background:#fff;
}
.clock:before {
    content: '';
    position:absolute;
    width:5px;
    height:5px;
    background:#091921;
    border-radius:50%;
    z-index:10000;
}
.clock .hour, .hr {
    width:53px;
    height:53px;
}
.clock .min, .mn {
    width:63px;
    height:63px;
}
.clock .sec, .sc {
    width:77px;
    height:77px;
}
.hr, .mn, .sc {
    display:flex;
    justify-content:center;
    /*align-items:center;*/
    position:absolute;
    border-radius:50%;
}
.hr:before {
    content: '';
    position:absolute;
    width:3px;
    height:27px;
    background: #ff105e;
    z-index:10;
    border-radius: 6px 6px 0 0;
}
html.dark .mn:before {
    background: #fff;
}
.mn:before {
    content: '';
    position:absolute;
    width:2px;
    height:30px;
    background: #091921;
    z-index:11;
    border-radius: 6px 6px 0 0;
}
html.dark .sc:before {
    background: #fff;
}
.sc:before {
    content: '';
    position:absolute;
    width:1px;
    height:50px;
    background: #091921;
    z-index:12;
    border-radius: 6px 6px 0 0;
}
.animtext::before {
    content: attr(data-text);
    position:absolute;
    color:#698ffc;
    width:100px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #698ffc;
    animation: animtexta 8s linear infinite;
}
@keyframes animtexta {
    0%,10%,100%{
        width:0;
    }
    70%,90%{
        width:100%;
    }
}
code {
    display:block;
    position:relative;
    border:solid #808080;
    border-width:.1em .1em .1em .8em;
    cursor:pointer;
    color:#00093f;
    padding:.2em .6em;
    min-height:3em;
}
html.dark code{
    display:block;
    border:solid #111827;
    border-width:.1em .1em .1em .8em;
    padding:.2em .6em;
    color:#d1d5d9;
}
.code::before{
    content:attr(file);
    display:block;
    width:100%;
    border:solid #808080;
    border-width:.1em .1em 0 .8em;
    background-color: #808080;
    color:#fff;
    text-align: center;
    font-family: monospace;
    font-weight: bold;
}
html.dark .code::before{
    border:solid #111827;
    border-width:.1em .1em 0 .8em;
    background-color: #111827;
    color:#eee;
}
code::before {
    font-family: boxicons !important;
    font-size:36px;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    content: "\ea85";
    position:absolute;
    display:block;
    height:40px;
    width:40px;
    top: 0;
    right: 0;
    left: inherit;
    margin-top:4px;
    color:#808080;
}

html.dark code::before{
    color:#111827;
}
.glitch {
    font-size:6vw;
    font-weight:700;
    text-transform:uppercase;
    text-shadow:
        0.05em 0 0 rgba(255,0,0,0.75),
        -0.025em -0.05em 0 rgba(0,255,0,0.75),
        0.025em 0.05em 0 rgba(0,0,255,0.75);
    animation: glitch 500ms infinite;
    position:relative;
}
.glitch span {
    position:absolute;
    top:0;
    left:0;
}
.glitch span:first-child {
    animation:glitch 650ms infinite;
    clip-path: polygon(0 0,100% 0,100% 45%,0 45%);
    transform: translate(-0.025em,-0.0125em);
    opacity:0.8;
}
.glitch span:last-child {
    animation: glitch 375ms infinite;
    clip-path: polygon(0 80%,100% 20%,100% 100%,0 100%);
    transform: translate(0.0125em,0.025em);
    opacity:0.8;
}
.haptics{
    font-size: 1rem;
    line-height: 1.5rem;
}
@keyframes glitch {
    0% {
        text-shadow:
            0.05em 0 0 rgba(255,0,0,0.75),
            -0.05em -0.025em 0 rgba(0,255,0,0.75),
            -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    14% {
        text-shadow:
            0.05em 0 0 rgba(255,0,0,0.75),
            -0.05em -0.025em 0 rgba(0,255,0,0.75),
            -0.025em 0.05em 0 rgba(0,0,255,0.75);
    }
    15% {
        text-shadow:
            -0.05em -0.025em 0 rgba(255,0,0,0.75),
            0.025em 0.025em 0 rgba(0,255,0,0.75),
            -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    49% {
        text-shadow:
            -0.05em -0.025em 0 rgba(255,0,0,0.75),
            0.025em 0.025em 0 rgba(0,255,0,0.75),
            -0.05em -0.05em 0 rgba(0,0,255,0.75);
    }
    50% {
        text-shadow:
            0.025em 0.05em 0 rgba(255,0,0,0.75),
            0.05em 0 0 rgba(0,255,0,0.75),
            0 -0.05em 0 rgba(0,0,255,0.75);
    }
    99% {
        text-shadow:
            0.025em 0.05em 0 rgba(255,0,0,0.75),
            0.05em 0 0 rgba(0,255,0,0.75),
            0 -0.05em 0 rgba(0,0,255,0.75);
    }
    100% {
        text-shadow:
            -0.025em 0 0 rgba(255,0,0,0.75),
            -0.025em -0.025em 0 rgba(0,255,0,0.75),
            -0.025em -0.05em 0 rgba(0,0,255,0.75);
    }
}
/* ========== MEDIA QUERIES ==========*/
/* For small devices reduce search*/
@media screen and (max-width: 320px) {
    .header__search {
        width: 70%;
    }
}

@media screen and (min-width: 768px) {
    .widget0 {
        font-size:20px;
    }
    /*body {
      padding: 4rem 0 0 4rem;
    }*/
    .header {
        padding: 0 3rem 0 6rem;
    }
    .header__container {
        height: calc(var(--header-height) + .5rem);
    }
    .header__search {
        width: 300px;
        padding: .55rem .75rem;
    }
    .header__toggle {
        display: none;
    }
    .header__logo {
        display: block;
    }
    .header__img {
        width: 40px;
        height: 40px;
        order: 1;
    }
    .nav {
        left: 0;
        padding: 1.2rem 1.5rem 0;
        width: 68px; /* Reduced navbar */
    }
    .nav__items {
        row-gap: 1.7rem;
    }
    .nav__icon {
        font-size: 1.3rem;
    }

    /* Element opacity */
    .nav__logo-name,
    .nav__name,
    .nav__subtitle,
    .nav__dropdown-icon {
        opacity: 0;
        transition: .3s;
    }


    /* Navbar expanded */
    .nav:hover {
        width: var(--nav-width);
    }

    /* Visible elements */
    .nav:hover .nav__logo-name {
        opacity: 1;
    }
    .nav:hover .nav__subtitle {
        opacity: 1;
    }
    .nav:hover .nav__name {
        opacity: 1;
    }
    .nav:hover .nav__dropdown-icon {
        opacity: 1;
    }
    .haptics{
    font-size: 0.75rem;
    line-height: 1rem;
    }
}
.datepicker{width:-moz-min-content;width:min-content}
.datepicker:not(.active){display:none}
.datepicker-dropdown{padding-top:4px;position:absolute;z-index:20}
.datepicker-dropdown.datepicker-orient-top{padding-bottom:4px;padding-top:0}
.datepicker-picker{background-color:#fff;border-radius:4px;display:flex;flex-direction:column}
.datepicker-dropdown .datepicker-picker{box-shadow:0 2px 3px hsla(0,0%,4%,.1),0 0 0 1px hsla(0,0%,4%,.1)}
.datepicker-main{flex:auto;padding:2px;color:#111;}
.datepicker-footer{background-color:#f5f5f5;box-shadow:inset 0 1px 1px hsla(0,0%,4%,.1)}
.datepicker-title{background-color:#f5f5f5;box-shadow:inset 0 -1px 1px hsla(0,0%,4%,.1);font-weight:700;padding:.375rem .75rem;text-align:center}
.datepicker-controls{display:flex}
.datepicker-header .datepicker-controls{padding:2px 2px 0}
.datepicker-controls .button{align-items:center;background-color:#fff;border:1px solid #dcdcdc;border-radius:4px;box-shadow:none;color:#363636;cursor:pointer;display:inline-flex;font-size:1rem;height:2.25em;justify-content:center;line-height:1.5;margin:0;padding:calc(.375em - 1px) .75em;position:relative;text-align:center;vertical-align:top;white-space:nowrap}
.datepicker-controls .button:active,.datepicker-controls .button:focus{outline:none}
.datepicker-controls .button:hover{border-color:#b8b8b8;color:#363636}
.datepicker-controls .button:focus{border-color:#3273dc;color:#363636}
.datepicker-controls .button:focus:not(:active){box-shadow:0 0 0 .125em rgba(50,115,220,.25)}
.datepicker-controls .button:active{border-color:#474747;color:#363636}
.datepicker-controls .button[disabled]{cursor:not-allowed}
.datepicker-header .datepicker-controls .button{border-color:transparent;font-weight:700}
.datepicker-header .datepicker-controls .button:hover{background-color:#f9f9f9}
.datepicker-header .datepicker-controls .button:active{background-color:#f2f2f2}
.datepicker-footer .datepicker-controls .button{border-radius:2px;flex:auto;font-size:.75rem;margin:calc(.375rem - 1px) .375rem}
.datepicker-controls .view-switch{flex:auto}
.datepicker-controls .next-button,.datepicker-controls .prev-button{flex:0 0 14.2857142857%;padding-left:.375rem;padding-right:.375rem}
.datepicker-controls .next-button.disabled,.datepicker-controls .prev-button.disabled{visibility:hidden}
.datepicker-grid,.datepicker-view{display:flex}
.datepicker-view{align-items:stretch;width:15.75rem}
.datepicker-grid{flex:auto;flex-wrap:wrap}
.datepicker .days{display:flex;flex:auto;flex-direction:column}
.datepicker .days-of-week{display:flex}
.datepicker .week-numbers{display:flex;flex:0 0 9.6774193548%;flex-direction:column}
.datepicker .weeks{align-items:stretch;display:flex;flex:auto;flex-direction:column}
.datepicker span{-webkit-touch-callout:none;align-items:center;border-radius:4px;cursor:default;display:flex;justify-content:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}
.datepicker .dow{font-size:.875rem;font-weight:700;height:1.5rem}
.datepicker .week{color:#b8b8b8;flex:auto;font-size:.75rem}
.datepicker .days .dow,.datepicker-cell{flex-basis:14.2857142857%}
.datepicker-cell{height:2.25rem}
.datepicker-cell:not(.day){flex-basis:25%;height:4.5rem}
.datepicker-cell:not(.disabled):hover{background-color:#f9f9f9;cursor:pointer}
.datepicker-cell.focused:not(.selected){background-color:#e9e9e9}
.datepicker-cell.selected,.datepicker-cell.selected:hover{background-color:#3273dc;color:#fff;font-weight:600}
.datepicker-cell.disabled{color:#dcdcdc}
.datepicker-cell.next:not(.disabled),.datepicker-cell.prev:not(.disabled){color:#7a7a7a}
.datepicker-cell.next.selected,.datepicker-cell.prev.selected{color:#e6e6e6}
.datepicker-cell.highlighted:not(.selected):not(.range):not(.today){background-color:#f5f5f5;border-radius:0}
.datepicker-cell.highlighted:not(.selected):not(.range):not(.today):not(.disabled):hover{background-color:#efefef}
.datepicker-cell.highlighted:not(.selected):not(.range):not(.today).focused{background-color:#e9e9e9}
.datepicker-cell.today:not(.selected){background-color:#00d1b2}
.datepicker-cell.today:not(.selected):not(.disabled){color:#fff}
.datepicker-cell.today.focused:not(.selected){background-color:#00ccad}
.datepicker-cell.range-end:not(.selected),.datepicker-cell.range-start:not(.selected){background-color:#b8b8b8;color:#fff}
.datepicker-cell.range-end.focused:not(.selected),.datepicker-cell.range-start.focused:not(.selected){background-color:#b3b3b3}
.datepicker-cell.range-start:not(.range-end){border-radius:4px 0 0 4px}
.datepicker-cell.range-end:not(.range-start){border-radius:0 4px 4px 0}
.datepicker-cell.range{background-color:#dcdcdc;border-radius:0}
.datepicker-cell.range:not(.disabled):not(.focused):not(.today):hover{background-color:#d7d7d7}
.datepicker-cell.range.disabled{color:#c6c6c6}
.datepicker-cell.range.focused{background-color:#d1d1d1}
.datepicker-input.in-edit{border-color:#276bda}
.datepicker-input.in-edit:active,.datepicker-input.in-edit:focus{box-shadow:0 0 .25em .25em rgba(39,107,218,.2)}
