:root {
  --primary-blue: #267ef0;
  --active-bg: #d4e4f9;
  --sidebar-bg: #eff5ff;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

.app-container {
  background-color: var(--sidebar-bg);
}

.app-sidebar {
  background-color: var(--sidebar-bg);
  width: 210px;
  min-width: 210px;
}

.app-main {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 6px #ddf1ff80;
  min-height: calc(100% - 80px);
  min-width: 1080px;
  overflow: hidden;
}

.logo-container {
  font-size: 0;
  line-height: 0;
  margin-left: 12px;
  margin-right: 12px;
  padding: 1.5rem 1rem 0.5rem;
}

.logo {
  width: 148px;
  height: 24px;
}

.sidebar-nav {
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
  margin-top: 24px;
}

.sidebar-footer {
  padding: 1rem 0.75rem;
  text-align: center;
}

.nav-menu {
  margin-bottom: 0.75rem;
}

.menu-btn {
  color: #2a3541;
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  border-radius: 10000px;
  font-size: 0.875rem;
  display: block;
  transition: all 0.2s linear;
  cursor: pointer;
  min-height: 2.0625rem;
  line-height: 1.3125rem;
  margin: 0.5rem 0;
  border: none;
  background-color: transparent;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.menu-selected {
  background-color: var(--active-bg);
  color: var(--primary-blue);
}

.menu-btn i.bi {
  color: #666666;
  margin-right: 0.5rem;
}

.menu-selected i.bi {
  color: var(--primary-blue);
}

.menu-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.menu-text i.bi {
  flex-shrink: 0;
}

.menu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-icon {
  transition: transform 0.2s linear;
  color: #546e8a;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.toggle-collapsed .toggle-icon {
  transform: rotate(0deg);
}

.menu-toggle:not(.toggle-collapsed) .toggle-icon {
  transform: rotate(-180deg);
  color: var(--primary-blue);
}

.submenu {
  overflow-y: auto;
  max-height: 0;
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}

.submenu-expanded {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

.submenu .menu-btn {
  padding-left: 2.25rem;
}

.footer-links .menu-btn {
  font-size: 0.875rem;
  min-height: 2.25rem;
  line-height: 1.25rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin: 0.25rem 0;
}

.app-footer {
  font-size: 0.875rem;
}

.app-footer a {
  color: #6c757d;
  text-decoration: none;
}

.app-footer a:hover {
  color: #495057;
}

#avatar {
  border: 2px solid var(--primary-blue);
  padding: 2px;
  background-color: white;
  object-fit: cover;
}

#username {
  max-width: 100%;
  overflow: hidden;
  font-weight: 500;
  color: #2a3541;
  font-size: 0.95rem;
  margin-top: 5px;
  cursor: pointer;
  word-wrap: break-word;
  word-break: break-word;
}

#role {
  display: inline-block;
  background-color: var(--active-bg);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 10000px;
  margin-top: 5px;
}

.tooltip .tooltip-arrow {
  display: block;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  content: "";
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-width: 0.4rem 0.4rem 0;
  border-style: solid;
  border-color: #ffffff transparent transparent;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-width: 0 0.4rem 0.4rem;
  border-style: solid;
  border-color: transparent transparent #ffffff;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.06);
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  content: "";
  position: absolute;
  right: -0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-width: 0.4rem 0 0.4rem 0.4rem;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
  box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.06);
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-width: 0.4rem 0.4rem 0.4rem 0;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.06);
}

.tooltip {
  --bs-tooltip-bg: #ffffff;
  --bs-tooltip-color: #2a3541;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-border-radius: 6px;
  --bs-tooltip-padding-x: 0.6rem;
  --bs-tooltip-padding-y: 0.3rem;
  --bs-tooltip-font-size: 0.875rem;
  --bs-tooltip-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  --bs-tooltip-border: 1px solid #e0e6ed;
}

.tooltip-inner {
  background-color: #ffffff;
  color: #2a3541;
  padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);
  font-size: var(--bs-tooltip-font-size);
  border-radius: var(--bs-tooltip-border-radius);
  box-shadow: var(--bs-tooltip-box-shadow);
  border: var(--bs-tooltip-border);
  white-space: nowrap;
  max-width: none;
}

.short-divider {
  width: 70%;
  height: 1px;
  background-color: #dee2e6;
}

.small-section {
  margin: 0 15rem 0;
}

.middle-section {
  margin: 0 10rem 0;
}

.big-section {
  margin: 0 2rem 0;
}

#more-menu {
  justify-content: center;
  padding-top: 0.25rem;
  cursor: pointer;
}

.lighter {
  opacity: 0.7;
}

.grid-header {
  background-color: #d4e4f9;
}

.grid-row {
  transition: background-color 0.15s;
  border-bottom: 1px solid #eee;
}

.grid-row:hover {
  background-color: #f8f9fa;
}

.grid-row:nth-child(odd) {
  background-color: #f8f9fa;
}

.grid-row:nth-child(even) {
  background-color: #ffffff;
}

.column {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.column-text {
  color: #555555;
}

input::placeholder {
  color: #aaaaaa !important;
}