/* Tenant theme: light button repair. */
html[data-bs-theme=light] .sidebar-brand,
body.theme-light .sidebar-brand {
  height: 74px;
}

html[data-bs-theme=light] .app-sidebar,
body.theme-light .app-sidebar,
html[data-bs-theme=light] .app-sidebar[data-bs-theme=light],
body.theme-light .app-sidebar[data-bs-theme=light],
[data-bs-theme=light].app-sidebar,
html[data-bs-theme=light] .sidebar,
body.theme-light .sidebar,
html[data-bs-theme=light] .sidebar-wrapper,
body.theme-light .sidebar-wrapper {
  background-color: #ffffff !important;
}

html[data-bs-theme=light] .sidebar-wrapper,
body.theme-light .sidebar-wrapper {
  padding-bottom: 96px !important;
}

html[data-bs-theme=light] .sidebar-wrapper .sidebar-menu,
body.theme-light .sidebar-wrapper .sidebar-menu {
  padding-bottom: 96px !important;
}

@media (max-width: 991.98px) {
  html[data-bs-theme=light] body.sidebar-open .app-sidebar,
  body.theme-light.sidebar-open .app-sidebar,
  html[data-bs-theme=light] .sidebar-expand-lg.sidebar-open .app-sidebar,
  body.theme-light.sidebar-expand-lg.sidebar-open .app-sidebar,
  html[data-bs-theme=light] .app-sidebar[data-bs-theme=light],
  body.theme-light .app-sidebar[data-bs-theme=light],
  [data-bs-theme=light].app-sidebar {
    background-color: #ffffff !important;
  }

  html[data-bs-theme=light] .sidebar-wrapper,
  body.theme-light .sidebar-wrapper,
  html[data-bs-theme=light] .sidebar-wrapper .sidebar-menu,
  body.theme-light .sidebar-wrapper .sidebar-menu {
    padding-bottom: 128px !important;
  }
}

html[data-bs-theme=light] .sidebar-wrapper .nav-link,
body.theme-light .sidebar-wrapper .nav-link {
  color: #343a40 !important;
}

html[data-bs-theme=light] .sidebar-wrapper .nav-link:hover,
body.theme-light .sidebar-wrapper .nav-link:hover,
html[data-bs-theme=light] .sidebar-wrapper .nav-link.active,
body.theme-light .sidebar-wrapper .nav-link.active {
  color: #212529 !important;
  background-color: rgba(0, 0, 0, 0.08) !important;
}

html[data-bs-theme=light] .btn-primary,
body.theme-light .btn-primary,
html[data-bs-theme=light] .btn-primary:focus,
body.theme-light .btn-primary:focus,
html[data-bs-theme=light] .btn-primary:active,
body.theme-light .btn-primary:active,
html[data-bs-theme=light] .swal2-styled.swal2-confirm,
body.theme-light .swal2-styled.swal2-confirm {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  color: #ffffff !important;
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

html[data-bs-theme=light] .btn-primary:hover,
body.theme-light .btn-primary:hover,
html[data-bs-theme=light] .swal2-styled.swal2-confirm:hover,
body.theme-light .swal2-styled.swal2-confirm:hover {
  color: #ffffff !important;
  background-color: #0b5ed7 !important;
  border-color: #0a58ca !important;
}
