/* Variables  */
:root {
  --color_Blue: #3f93f1;
  --color_Dark1: #1e1e1e;
  --color_Dark2: #252527;
  --color_Light1: #dfdfdf;
  --color_Light2: #c4c4c4;
}

/* =============== Sidebar =============== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background: linear-gradient(
    90deg,
    #1d3261 0%,
    #1d3261 6.25%,
    #1d3362 12.5%,
    #1e3464 18.75%,
    #203869 25%,
    #243d71 31.25%,
    #28467c 37.5%,
    #2f528d 43.75%,
    #3664a3 50%,
    #3d75ba 56.25%,
    #4283cb 62.5%,
    #458dd8 68.75%,
    #4794e0 75%,
    #4898e5 81.25%,
    #499ae8 87.5%,
    #499be9 93.75%,
    #499be9 100%
  );
  transition: all 0.5s ease;
  z-index: 100;
}

.sidebar.close {
  width: 78px;
}

/* --------- Logo ------------ */
.logo-box {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--color_Light1);
  transition: all 0.5s ease;
}

.logo-box:hover {
  color: var(--color_Blue);
}

.logo-box i {
  font-size: 30px;
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  transition: all 0.5s ease;
}

.sidebar.close .logo-box i {
  transform: rotate(360deg);
}

.logo-name {
  font-size: 22px;
  font-weight: 600;
}

/* ---------- Sidebar List ---------- */
.sidebar-list {
  height: 100%;
  padding: 30px 0 150px 0;
  overflow: auto;
}

.sidebar-list::-webkit-scrollbar {
  display: none;
}

.sidebar-list li {
  transition: all 0.5s ease;
}

.sidebar-list li:hover {
  background-color: var(--color_Blue);
}

.sidebar-list li .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
  cursor: pointer;
}

.sidebar-list li.active .title {
  background-color: var(--color_Blue);
}

.sidebar-list li.active .bxs-chevron-down {
  transition: all 0.5s ease;
  transform: rotate(180deg);
}

.sidebar-list li .title .link {
  display: flex;
  align-items: center;
}

.sidebar-list li .title i {
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  color: var(--color_Light1);
  font-size: 20px;
}

.sidebar-list li .title .name {
  /* font-size: 18px; */
  font-size: 15px;
  font-weight: 400;
  color: var(--color_Light1);
}

/* ---------------- Submenu ------------- */
.sidebar-list li .submenu {
  width: 0;
  height: 0;
  opacity: 0;
  transition: all 0.5s ease;
}

.sidebar-list li.dropdown.active .submenu {
  width: unset;
  height: unset;
  opacity: 1;
  display: flex;
  flex-direction: column;
  padding: 6px 6px 14px 80px;
  background-color: var(--color_Blue);
}

.submenu .link {
  color: var(--color_Light2);
  font-size: 15px;
  padding: 5px 0;
  transition: all 0.5s ease;
}

.submenu .link:hover {
  color: #fff;
}

.submenu-title {
  display: none;
}

/* ---------------- Submenu Close ------------- */
.sidebar.close .logo-name,
.sidebar.close .title .name,
.sidebar.close .title .bxs-chevron-down {
  display: none;
}

.sidebar.close .sidebar-list {
  overflow: visible;
}

.sidebar.close .sidebar-list li {
  position: relative;
}

.sidebar.close .sidebar-list li .submenu {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  height: max-content;
  width: max-content;
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

.sidebar.close .sidebar-list li:hover .submenu,
.active-link {
  opacity: 1;
  top: 0;
  pointer-events: initial;
  background-color: var(--color_Blue);
}

.sidebar.close .submenu-title {
  display: block;
  font-style: 18px;
  color: var(--color_Light1);
}

/* =============== Home Section =============== */
.home {
  position: relative;
  background: #f2f2f2;

  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
}

.home.close {
  left: 78px;
  width: calc(100% - 78px);
}

.home .topbar {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  background: linear-gradient(
    90deg,
    #1d3261 0%,
    #1d3261 6.25%,
    #1d3362 12.5%,
    #1e3464 18.75%,
    #203869 25%,
    #243d71 31.25%,
    #28467c 37.5%,
    #2f528d 43.75%,
    #3664a3 50%,
    #3d75ba 56.25%,
    #4283cb 62.5%,
    #458dd8 68.75%,
    #4794e0 75%,
    #4898e5 81.25%,
    #499ae8 87.5%,
    #499be9 93.75%,
    #499be9 100%
  );
}

.home .toggle-sidebar {
  /*      height: 60px;
display: flex;
align-items: center;
width: fit-content;
cursor: pointer;
background-color: green; */

  /*     width: 100%;
height: 60px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 10px;

background-color: green; */
}

.home .toggle-sidebar i {
  font-size: 35px;
  color: #fff;
  margin-left: 15px;
}

.home .toggle-sidebar .text {
  font-size: 25px;
  color: linear-gradient(
    90deg,
    #1d3261 0%,
    #1d3261 6.25%,
    #1d3362 12.5%,
    #1e3464 18.75%,
    #203869 25%,
    #243d71 31.25%,
    #28467c 37.5%,
    #2f528d 43.75%,
    #3664a3 50%,
    #3d75ba 56.25%,
    #4283cb 62.5%,
    #458dd8 68.75%,
    #4794e0 75%,
    #4898e5 81.25%,
    #499ae8 87.5%,
    #499be9 93.75%,
    #499be9 100%
  );
  font-weight: 600;
}

/* ============ Responsive / Breakpoints ========== */
@media (max-width: 1080px) {
}

/* For Medium Devices */
@media (max-width: 774px) {
  .row {
    display: inline-block;
  }
}

/* @media (max-width: 560px) {
    .actions-btns {
        flex-direction: column;
    }

    .actions-btns button {
        width: 100% !important;
    }
} */

/* For Small Devices */
/* @media (max-width: 360px) {
    .actions-btns {
        flex-direction: column;
    }

    .actions-btns button {
        width: 100% !important;
    }
} */

/* ====================== Responsive Design ========================== */

/* @media (max-width: 991px) { */
@media (max-width: 1280px) {
  .sidebar {
    left: -300px;
  }

  .sidebar.close {
    width: 78px;
    left: 0;
  }

  .home {
    width: 100%;
    left: 0;
  }

  .home.close {
    left: 78px;
  }
}

@media (max-width: 768px) {
}

@media (max-width: 480px) {
  .user {
    min-width: 40px;
  }

  .navigation {
    width: 100%;
    left: -100%;
    z-index: 1000;
  }

  .navigation.active {
    width: 50%;
    left: 0;
  }

  .toggle {
    z-index: 10001;
  }

  .main.active .toggle {
    color: #fff;
    position: fixed;
    right: 0;
    left: initial;
  }
}
