
:root {
    --primary-color: #6366f1;
    --primary-bg-color: #262626;
    --text: white;
    --background: #F4F5FC;
    --sidebar-gray-background: #565656;
    --red: #F55E5E;
    --item-hover: #F0F0F0;
}

body {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  background-color: var(--background);
  /* padding: 1rem; */
  height: 99%;
}

html {
  height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

nav#sidebar_nav {
    position: sticky;
    top: 0;
    left: 5px;
    min-height: 53.75rem;
    margin-top: .5%;
    height: 99.5%;
    border-radius: 1rem;
    background-color: var(--primary-bg-color);
    width: 18rem;
    padding: .5rem 0.625rem;
    display: flex;
    color: white;
    flex-direction: column;
    /* background-color: #FCFCFD; */
    transition: all 0.1s ease-in-out;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.collapsed nav#sidebar_nav {
  width: 4.75rem;
}

body.collapsed .hide {
  position: absolute;
  display: none;
}

/*? sidebar top */
.sidebar-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* height: 4rem; */
  /* height: 125px; */
  /* padding-bottom: 1rem; */
}

body.collapsed .sidebar-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo__wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.logo {
  /* height: 2.6125rem; */
  height: 125px;
  overflow: hidden;
  max-width: 100%;
  object-fit: contain;
  margin-top:0px;
}
.logo img {
    width: 150px;
}

.logo-small {
  height: 2.6125rem;
  overflow: hidden;
  max-width: 100%;
  display: none;
  object-fit: contain;
  /* margin-top: 10px; */
}

.collapsed .logo {
  display: none;
}

.collapsed .logo-small {
  display: block;
}

/*? menu links */
.sidebar-links {
  padding: 0.5rem 0px;
  border-top: 1px solid var(
    --sidebar-gray-background
  );
}

.sidebar-links ul {
  list-style-type: none;
  position: relative;
}

.sidebar-links li {
  color: var(--primary-color);
}

.collapsed .sidebar-links li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-links li svg {
  stroke: var(--primary-color);
  transition: none;
  width: 1.75rem;
  height: 1.75rem;
}

.sidebar-links li a {
  padding: 0.25rem 0.50rem;
  margin: 0.25rem 0;
  color: var(--sidebar-gray-light);
  font-size: 1rem;
  display: flex;
  justify-content: start;
  align-items: center;
  height: 2.25rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.sidebar-links li a img {
  height: 2.125rem;
  width: 2.125rem;
}

.sidebar-links .link {
  margin-left: 1.875rem;
}

.sidebar-links .active:hover {
  background-color: var(--primary-color);
  color: var(--background);
}

.sidebar-links .active:hover svg {
  stroke: var(--background);
}

.sidebar-links .active {
  text-decoration: none;
  background-color: var(
    --primary-color
  );
  color: var(--background);
}

.sidebar-links .active svg {
  stroke: var(--background);
}

.sidebar-links li a:hover {
  background-color: var(--item-hover);
  color: var(--primary-color);
}

.sidebar-links li a:hover svg {
  stroke: var(--primary-color);
}

/*? bottom sidebar */
.sidebar-bottom {
  /* padding: 0.25rem; */
  /* padding: 10px; */
  justify-content: flex-start;
  /* position: relative; */
  flex-direction: row;
  align-items: center;
  margin-top: auto;
  /* border: 1px solid #F0F0F0; */
  background-color: #F4F5FD;
  display: flex;
  /* text-align: center; */
  border-radius: 1rem;
  height: 60px;
  position: relative;
  /* padding-top: 4rem; */
  /* margin-bottom: 1.5rem; */
}
.sidebar-settings {
  display: flex;
  margin-left: auto;
}
.sidebar-settings a {
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  border: 2px solid #eaeaea;
}
.sidebar-settings a,.sidebar-profile-info a {
  color: #000;
}
.sidebar-settings a:hover, .sidebar-profile-info a:hover {
  color: var(--primary-color);
}
.sidebar-profile-img {
  margin-left: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.imgimg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #000;
}
.sidebar-profile-info {
  justify-content: center;
  margin-left: 5px;
  display: flex;
  flex-direction: column;
  font-size: 9pt;
  color: #000;
}

.sidebar-bottom img {
  max-width: 10.25rem;
  margin: 0 auto;
  width: 100%;
  margin-top: -5.25rem;
}

/* .sidebar-bottom p {
  margin-top: -2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
} */

.sidebar-bottom button {
  border-radius: 1rem;
  outline: none;
  margin: 0 auto;
  margin-bottom: -1.75rem;
  cursor: pointer;
  min-height: 2.612rem;
  font-weight: 800;
  border: 1.5px solid var(--sidebar-gray-background);
  padding: 0.5rem 0.75rem;
  background-color: var(--background);
  transition: all 0.2s ease-in-out;
}
.nav-line {
  margin-top: 1rem;
  padding: .25rem 0;
  border-top: 1px solid var(
    --sidebar-gray-background
  );
}
.sidebar-bottom button:hover {
  background-color: var(--primary-color);
  color: var(--item-hover);
}

.notification {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--red);
  top: -0.1875rem;
  border: 0.1875rem solid var(--background);
  right: -0.1875rem;
}

/*? Expand button */
/* 
body.collapsed .expand-btn {
  justify-content: center;
  margin-top: auto;
}

.expand-btn:hover {
  background-color: var(--item-hover);
} */

/* .expand-btn {
  display: flex;
  position: absolute;
  bottom: 15px;
  justify-content: start;
  align-items: center;
  cursor: pointer;
  gap: 0.5rem;
  color: var(--primary-color);
  border-radius: 0.5rem;
  padding: 0.5rem;
  /* transform: rotate(180deg); */
  align-self: end;
} */

.expand-btn img {
  /* transform: rotate(180deg); */
  stroke: var(--primary-color);
  width: 2.375rem;
  height: 2.375rem;
}

body.collapsed .expand-btn img {
  transform: rotate(180deg);
}

/* ?Tooltip */

.tooltip {
  position: relative;
  display: inline-block;
  z-index: 999;
}

.tooltip .tooltip__content {
  visibility: hidden;
  background-color: var(
    --primary-color
  );
  color: var(--text);
  text-align: center;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  position: absolute;
  z-index: 100;
  left: 4.6875rem;
}

.collapsed .tooltip:hover .tooltip__content {
  visibility: visible;
  /* z-index: 999 !important; */
}
.collapsed #sidebar_nav > div.sidebar-bottom {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 0;
  height: 90px;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.sidebar-profile-info {
  display: none;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.sidebar-profile-img {
  display: block;
  margin-left: 0;
  margin-bottom: 5px;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.sidebar-settings {
  margin: 0;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.sidebar-settings a {
  margin: 0;
}
#sidebar_nav > div.sidebar-bottom > div.expand-arrow {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #000;
  border-radius: 50%;
  margin-top: -120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 90px;
  font-size: 12pt;
  z-index: 99;
  cursor: pointer;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.expand-arrow {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #000;
  border-radius: 50%;
  margin-top: -120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 90px;
  font-size: 12pt;
  z-index: 99;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.expand-arrow div.chevron-expand {
  display: flex !important;
}
.collapsed #sidebar_nav > div.sidebar-bottom > div.expand-arrow div.chevron-collapse {
  display: none !important;
}
#sidebar_nav > div.sidebar-bottom > div.expand-arrow div.chevron-collapse {
  display: flex !important;
}
#sidebar_nav > div.sidebar-bottom > div.expand-arrow div.chevron-expand {
  display: none !important;
}
#sidebar_nav > div.sidebar-bottom > div.expand-arrow {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #000;
  border-radius: 50%;
  margin-top: -120px;
  display: flex;
  justify-content: center;
  align-items: center;
  left: auto;
  right:0;
  margin-right: -20px;
  font-size: 12pt;
  z-index: 99;
}
/* Mobile */
@media only screen and (max-width: 768px) {
}