/* === NAVBAR === */
.side-navbar {
  width: 11.25rem; /* 180px */
  background-color: #182747;
  color: #fefefe;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-between;
  font-family: "Jaldi", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  z-index: 10;
  padding: 1rem 0;
}

.side-navbar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-navbar .logo {
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.menu-item {
  width: 8.75rem; /* 140px */
  padding: 0.4rem;
  border-radius: 10px;
  margin: 0.3rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #fefefe;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
}

.menu-item:hover {
  background-color: #2d3f73cc;
}

.active-item {
  background-color: #2d3f73;
}

.user-section {
  margin-top: auto;
  padding: 0.8rem 1rem 0;
  border-top: 1px solid #ffffff33;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  text-align: center;
}

.pageContent {
  background-color: #fefefe;
  margin-left: 200px;
  margin-top: 25px;
  width: auto;
}

body {
  line-height: normal !important;
}

.logo-section {
  display: flex;
  flex-direction: column;
  max-height: 454px;
  height: 100%;
}

.user-section::-webkit-scrollbar,
.logo-section::-webkit-scrollbar {
  width: 4px;
}

.user-section::-webkit-scrollbar-thumb,
.logo-section::-webkit-scrollbar-thumb {
  background-color: #8f8b88;
  border-radius: 10px;
}

.user-section::-webkit-scrollbar-thumb:hover,
.logo-section::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media (max-height: 640px) {
  .user-section {
    overflow-y: auto;
    overflow-x: hidden;
  }
}

@media (max-height: 460px) {
  .logo-section {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100%;
  }
}
