@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

body {
  margin: 0 auto;
  background: #f3f6fd;
  font-family: "DM Sans", sans-serif;
  transition: all 0.2s;
}

.topNavBar {
  display: flex;
  width: 100%;
}

.leftSidebar {
  padding: 80px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.leftSidebar a {
  text-decoration: none;
  display: flex;
}

.leftSidebar a span {
    position: absolute;
    left: 100%;
    transform: translate(-3rem);
    margin-left: 1rem;
    opacity: 0;
    pointer-events: none;
    color: #222222;
    background: #fff;
    padding: 0.75rem;
    transition: all 250ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    border-radius: 17.5px;
    width: 10vw;
    text-align: center;
    z-index: 999;
    box-shadow: 1px 1px 15px rgb(175 175 175 / 20%);
    margin-top: 12px;
}

.leftSidebar a:hover span {
    opacity: 1;
    transform: translate(0);
    margin-top: 12px;
}

.leftSidebar a i {
    font-size: 1.4rem;
    border-radius: 50%;
    height: 25px;
    padding: 8px;
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    color: #1f1c2e;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.leftSidebar a:hover i {
    background: #c3cff4;
    color: #fff !important;
}

.activePage i {
  background: #1f1c2e;
  color: #fff !important;
}

.contentApp {
  display: flex;
  height: 100%;
  overflow: hidden;
  padding: 6px 24px 24px 0;
}

.contentCenter {
    flex: 2;
    background-color: #fff;
    border-radius: 32px;
    padding: 32px 32px 0 32px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 1px 15px rgb(175 175 175 / 20%);
}

.contentCenter .titlePage {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    opacity: 0.9;
    margin: 0;
}

.containerApp {

}

.logoTitle {
    width: 131px;
    padding: 15px 0 0 15px;
}

.userProfile {
    padding: 15px;
    border: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    padding-left: 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    margin-left: 8px;
}

.userProfile:hover {
    cursor: pointer;
    background: #fff;
    box-shadow: 1px 1px 15px rgb(175 175 175 / 20%);
}

.userProfile span {
    color: #000;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.userProfile i {
  padding-right: 10px;
  font-size: 1.4rem;
}

.userProfile:hover {
  cursor: pointer;
}

.topNavBar_right .icons {
    padding: 0 8px;
}

.topNavBar_right .icons i {
    font-size: 1.4rem;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.topNavBar_right .icons i:hover {
    cursor: pointer;
    background: #fff;
    box-shadow: 1px 1px 15px rgb(175 175 175 / 20%);
}

.topNavBar_right {
    display: flex;
    align-items: center;
    padding: 0 24px 0 0;
}

.topNavBar_left {
    flex-grow: 1;
    align-items: center;
    display: flex;
}

.footer p {
    text-align: center;
    margin: 0 0 16px;
}

.userProfile .dropdown-content {
    height: 0px;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    position: absolute;
    border-radius: 10px;
    right: 15px;
    top: 68px;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 1px 1px 15px rgb(175 175 175 / 20%);
    z-index: 99999;
    text-align: left;
}

.userProfile .dropdown-content a {
  color: black !important;
  padding: 12px 16px;
  text-decoration: none;
  display: none;
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.userProfile .dropdown-content a i {
  margin-right: 6px;
}

.userProfile .dropdown-content a:hover {
  background-color: #c3cff4;
}

.userProfile:hover .dropdown-content {
  height: auto;
  padding: 6px;
}

.userProfile:hover .userProfile {
  background-color: #fff;
}

.userProfile:hover .dropdown-content a {
  display: block;
}

.userProfile .dropdown-content a i {
  font-size: 1rem;
}

.topNavBar_right .clockDate {
    display: flex;
    align-items: center;
    padding: 15px;
    border-right: 1px solid #ddd;
    height: 1px;
}

.topNavBar_right .clockDate i {
  font-size: 0.4rem;
  margin: 0 10px;
}

.topNavBar_right .clockDate p {
  margin: 0;
}

.borderRighticons {
    border-right: 1px solid #ddd;
    padding: 15px 0;
}

/************

LOADER APP

************/
.loader {
    z-index: 10;
}

.disppear {
    animation: vanish 1s forwards;
    display: none;
}

.isLoader {
  display: none;
}

.noLoader {
  display: block;
}

@keyframes vanish {
    100% {
        opacity: 0;
        display: none;
    }
}

.loader .leftSidebar a i {
    color: #e9e9e9 !important;
    background: #e9e9e9;
}

.loader .contentCenter {
  background: #e9e9e9;
}

.loader .contentCenter::after {
        display: block;
        content: "";
        position: absolute;
        margin-top: -30px;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        background: -webkit-gradient(linear, left top,
                    right top, from(transparent),
                    color-stop(rgba(255, 255, 255, 0.2)),
                    to(transparent));
        background: linear-gradient(90deg, rgb(0 0 0 / 4%),
                rgba(255, 255, 255, 0.2), transparent);

        /* Adding animation */
        animation: loading 0.8s infinite;
    }

    /* Loading Animation */
    @keyframes loading {
        100% {
            transform: translateX(100%);
        }
    }

.loader .logoTitle {
  visibility: hidden;
}

.loader .topNavBar_right .clockDate {
    color: #e9e9e9;
    background: #e9e9e9;
    border-radius: 12px;
}

.loader .topNavBar_right .icons i {
    background: #e9e9e9;
    color: #e9e9e9;
}

.loader .userProfile {
    background-color: #e9e9e9;
    color: #e9e9e9;
}

.loader .userProfile span {
  color: #e9e9e9
}

.loader .borderRighticons {
    visibility: hidden;
}

/************

CUSTOM SCROLL BAR

************/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ddd;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #c3cff4;
}



/************

DARK MODE

************/
body[data-light-mode="dark"] {
    background-color: #111827;
}

body[data-light-mode="dark"] .contentCenter {
    background-color: #1f2937;
    box-shadow: 1px 1px 15px rgb(31 41 55 / 17%);
}

body[data-light-mode="dark"] .contentCenter .titlePage {
  color: #fff;
}

body[data-light-mode="dark"] .leftSidebar a i {
  color: #fff;
}

body[data-light-mode="dark"] .activePage i {
  background-color: rgb(195 207 244 / 20%);
}

body[data-light-mode="dark"] .leftSidebar a:hover i {
    background: rgb(195 207 244 / 10%);
}

body[data-light-mode="dark"] .leftSidebar a span {
    color: #ffffff;
    background: #111827;
    box-shadow: 1px 1px 15px rgb(31 41 55 / 17%);
}

body[data-light-mode="dark"] .topNavBar_right {
  color: #fff;
}

body[data-light-mode="dark"] .userProfile span {
  color: #fff;
}

body[data-light-mode="dark"] .footer p {
  color: #fff;
}

body[data-light-mode="dark"] .userProfile:hover {
    background: #1f2937;
    box-shadow: 1px 1px 15px rgb(17 24 39);
}

body[data-light-mode="dark"] .userProfile .dropdown-content {
    background-color: #1f2937;
    box-shadow: 1px 1px 15px rgb(17 24 39);
}

body[data-light-mode="dark"] .userProfile .dropdown-content a {
    color: white !important;
}

body[data-light-mode="dark"] .topNavBar_right .icons i:hover {
    background: #1f2937;
    box-shadow: 1px 1px 15px rgb(17 24 39);
}


body[data-light-mode="dark"] i.far.fa-moon {
    background: #1f2937;
    box-shadow: 1px 1px 15px rgb(17 24 39);
}

body[data-light-mode="dark"] .logoTitle {
    -webkit-filter: grayscale(1) invert(1);
    filter: grayscale(1) invert(1);
}
