.bg-success-subtle{background:#d1e7dd}

.legend-text {
  font-size: 10px;
  color: #666;
}

.sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}

.min-w-40 {
  min-width: 40px;
}

.max-w-520 {
  max-width: 520px;
}

.max-w-420 {
  max-width: 420px;
}

@media (max-width: 768px) {
  body {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h1, h2, h3, h4, h5, h6 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

.user-name {
  display: inline-block;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .user-name {
    max-width: 8rem;
  }
}

.navbar .badge {
  color: var(--bs-navbar-color);
  background-color: var(--bs-navbar-bg, var(--bs-secondary)) !important;
  margin-left: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}

.navbar .fa {
  margin-right: 0.25rem;
  padding: 0.25rem;
}

/* Dashboard cards and icons */
.dashboard-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dashboard-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


.navbar-nav .dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-item i {
  margin-right: 0.5rem;
}
