.card-body {
  border-radius: 15px;
}

.card-body table td {
  color: #000 !important;
  opacity: 1 !important;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.dark-dropdown-menu {
  min-width: 100px;
  max-width: 200px;
  padding: 0;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
  overflow: visible;
  animation: fadeInDown 0.3s ease;
  transform-origin: top center;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#languageModalLabel {
  font-weight: 500;
}

.dark-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  transition: background-color 0.2s ease;
}

.dark-dropdown-menu .form-check.form-switch {
  flex-shrink: 0;
  margin-left: auto;
}

.toast {
  width: 420px;
}

.loader,
.loader-overlay,
#loader {
  display: none !important;
}

.topbar.topbar--revamp {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 20px;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  height: 75px;
  box-sizing: border-box;
}

.topbar__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 500;
}

.topbar__avatar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 16px;
}

.topbar__avatar img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.topbar__avatar-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  line-height: 1.1;
}

.topbar__avatar-name {
  font-weight: 600;
}

.topbar__avatar-role {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 992px) {
  .topbar {
    margin-left: 275px !important;
    width: calc(100% - 275px) !important;
  }

  .content-start {
    position: relative !important;
    left: 275px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
    width: calc(100% - 275px) !important;
    box-sizing: border-box;
  }

  footer .footer {
    margin-left: 275px !important;
  }
}
