.form.d-flex .select:after {
  top: 50%;
  transform: translateY(-50%);
}

main {
  overflow: hidden;
}

.sidebar-wrapper {
  overflow-x: hidden;
}

.btn-sm {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  height: 30px;
}

.table td:not(.wrap),
.table th:not(.wrap) {
  white-space: nowrap;
}
.table td.wrap-all {
  white-space: wrap;
  word-break: break-all;
}
.table .avatars .avatar {
  width: 2rem;
  height: 2rem;
}

.badge.badge-success {
  background-color: var(--bs-success);
}

.badge.badge-warning {
  background-color: var(--bs-warning);
  color: white;
}

.category-badge {
  color: white;
}

.category-ball {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  display: block;
}

.sp-replacer {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: calc(0.375rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: 2rem;
}
.sp-replacer .sp-preview {
  margin: 0;
  overflow: hidden;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  border: var(--focus-ring);
}
.sp-replacer .sp-dd {
  display: none;
}

.chart {
  height: 400px;
}

.dropdown .avatars {
  cursor: pointer;
}

.g-recaptcha {
  width: -moz-max-content;
  width: max-content;
  display: block;
  margin: auto;
  margin-bottom: 20px;
}

.code code {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}

.qr-code {
  position: relative;
}
.qr-code .spinner {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 50px;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.qr-code img {
  height: 200px;
  margin: 20px 0;
}
.qr-code.loading .spinner {
  display: flex;
}

.category-selector,
.user-selector {
  margin-bottom: 1rem;
  display: inline-block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.category-selector .dropdown:has(.dropdown-menu.show) .chip,
.user-selector .dropdown:has(.dropdown-menu.show) .chip {
  border: var(--focus-ring);
}
.category-selector .ball,
.user-selector .ball {
  background-color: #d3d3d3;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 13px;
  background-size: cover;
  background-position: center;
}
.category-selector .chip,
.user-selector .chip {
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.3s all;
  margin-top: 5px;
  border-radius: 100px;
  background-color: hsl(var(--accent));
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.category-selector.compact,
.user-selector.compact {
  margin-bottom: 0;
}
.category-selector.compact .chip,
.user-selector.compact .chip {
  padding: 0;
  margin-top: 0;
}
.category-selector.compact .chip .ball,
.user-selector.compact .chip .ball {
  width: 30px;
  height: 30px;
}
.category-selector.compact .chip span,
.user-selector.compact .chip span {
  display: none;
}

.table .user-selector .chip,
.table .category-selector .chip {
  display: inline-flex;
  transform: translateY(3px);
}

.sidebar-header {
  z-index: 2;
}

input[name=status]:checked {
  background-color: var(--bs-success) !important;
}

.avatars.big .avatar {
  width: 5rem;
  height: 5rem;
}

.change-avatar {
  display: inline-block;
  cursor: pointer;
}

.login-icon {
  height: 50px;
  display: block;
  margin: auto;
  margin-bottom: 20px;
}

.alert-success {
  background-color: var(--bs-success);
  color: hsl(var(--background));
}

.alert-warning {
  background-color: var(--bs-warning);
  color: black;
}

.alert-danger {
  background-color: var(--bs-danger);
  color: white !important;
}

.alert-black {
  background-color: #3f3f46;
  color: white;
}

.success-icon {
  font-size: 50px;
  padding-top: 20px;
  color: var(--bs-success);
}

.error-icon {
  font-size: 50px;
  padding-top: 20px;
  color: var(--bs-danger);
}

.menu-header .logo-image {
  width: 30px;
}

.dialog {
  z-index: 52;
}

.alert-content {
  flex: 1;
}

.pricing small {
  font-size: 0.7em;
  font-weight: 400;
}
.pricing .pricing-card {
  transition: 0.5s all;
}
.pricing .pricing-card:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
  transform: translate(-2px, -2px);
}

.btn-outline-destructive {
  background-color: transparent;
  border-width: 1px;
  border-color: var(--bs-danger) !important;
  color: var(--bs-danger) !important;
}
.btn-outline-destructive:hover {
  background-color: var(--bs-danger);
  color: white !important;
}

.screen-centered {
  height: auto;
  min-height: 100vh;
}

.dropdown-menu {
  max-height: 202px;
  overflow: auto;
}

.table .form .checkbox {
  padding: 0;
  margin: 0;
  justify-content: center;
}

section.calendar .table {
  table-layout: fixed;
  min-width: 800px;
}
section.calendar .table td.active {
  background-color: hsl(var(--accent));
}
section.calendar .table td.active .day .number {
  font-weight: 700;
}
section.calendar .table .day {
  height: 140px;
  width: 100%;
}
section.calendar .table .day .badge {
  text-decoration: none;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  display: block;
}
section.calendar .table .day .number {
  font-size: 1.25rem;
  line-height: 2rem;
}
section.calendar .table .day .events {
  margin-top: 10px;
  display: flex;
  flex-flow: column;
  max-height: 90px;
  overflow: auto;
  gap: 5px;
  align-items: flex-start;
}

.text-blue {
  color: #3b82f6;
}

section.savings .alert,
section.dashboard .alert {
  padding: 15px;
  background-color: transparent;
}
section.savings .alert .text-lead,
section.dashboard .alert .text-lead {
  font-size: 1.05rem;
}
section.savings .alert .alert-icon,
section.dashboard .alert .alert-icon {
  font-size: 1.3rem;
}
section.savings .alert.alert-outline-success,
section.dashboard .alert.alert-outline-success {
  border-color: #22c55e;
}
section.savings .alert.alert-outline-warning,
section.dashboard .alert.alert-outline-warning {
  border-color: #f97316;
}
section.savings .alert.alert-outline-danger,
section.dashboard .alert.alert-outline-danger {
  border-color: #dc2626;
}
section.savings .alert .text-danger,
section.dashboard .alert .text-danger {
  color: #dc2626 !important;
}

.avatars .avatar {
  position: relative;
}
.avatars .avatar:hover .edit {
  opacity: 1;
}
.avatars .avatar .edit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: white;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.1s all;
}

.rc-handle-container {
  position: relative;
}

.rc-handle {
  position: absolute;
  width: 7px;
  cursor: ew-resize;
  margin-left: -3px;
  z-index: 2;
}

table.rc-table-resizing {
  cursor: ew-resize;
}

table.rc-table-resizing thead,
table.rc-table-resizing thead > th,
table.rc-table-resizing thead > th > a {
  cursor: ew-resize;
}

@media (max-width: 991px) {
  .chart {
    height: 250px;
  }
}
@media (max-width: 768px) {
  .breadcrumb a {
    display: none;
  }
  .breadcrumb a:last-child {
    display: block;
  }
}