.dashboard-sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar[data-background-color="white"] .dashboard-sidebar-logo {
  border-bottom-color: rgba(0, 0, 0, .08);
}

.dashboard-sidebar-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.dashboard-sidebar-logo img {
  display: block;
  max-width: 158px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dashboard-sidebar-logo-text {
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.dashboard-account-link,
.dashboard-account-link:hover,
.dashboard-account-link:focus {
  color: inherit;
  text-decoration: none;
}

.dashboard-account-link.is-danger,
.dropdown-item.is-danger,
.frontend-delete-account-link {
  color: #d64242 !important;
}

.dashboard-account-link.is-danger:hover,
.dropdown-item.is-danger:hover,
.frontend-delete-account-link:hover {
  color: #b92f2f !important;
}

.dashboard-account-form {
  margin: 0;
}

.dashboard-profile-delete {
  margin-top: 12px;
  text-align: center;
}

.dashboard-profile-delete a,
.dashboard-profile-delete button {
  background: transparent;
  border: 0;
  color: #d64242;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: none;
}

.dashboard-profile-delete a:hover,
.dashboard-profile-delete button:hover {
  color: #b92f2f;
  text-decoration: underline;
}

.frontend-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  white-space: nowrap;
}

.frontend-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  overflow: hidden;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--color-primary, #1f6feb);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.frontend-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frontend-account-name {
  display: inline-block;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.frontend-auth-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
}

.customer-dashboard-header #mainMenu,
.customer-dashboard-header .mobile-menu-wrapper #mainMenu,
.customer-dashboard-header .mobile-menu-wrapper .navbar-nav,
.customer-dashboard-header .mean-nav {
  display: none !important;
}

.customer-dashboard-header .main-navbar .navbar {
  gap: 14px;
}

.customer-dashboard-header .main-navbar .more-option {
  margin-left: auto;
}

.dashboard-initial-avatar {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #eef3ff;
  color: #2454d6;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.avatar-lg .dashboard-initial-avatar {
  font-size: 22px;
}

[data-background-color="dark"] .dashboard-initial-avatar,
[data-background-color="dark2"] .dashboard-initial-avatar {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.topbar-nav .profile-pic .avatar-sm,
.dropdown-user .user-box .avatar-lg {
  flex: 0 0 auto;
  overflow: hidden;
}

.topbar-nav .profile-pic .avatar-sm {
  width: 42px;
  height: 42px;
}

.dropdown-user .user-box {
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.dropdown-user .user-box .avatar-lg {
  width: 48px;
  height: 48px;
}

.topbar-nav .avatar-img,
.dropdown-user .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-user .user-box .u-text {
  min-width: 0;
  padding: 0;
}

.dropdown-user .user-box .u-text h4,
.dropdown-user .user-box .u-text p {
  overflow-wrap: anywhere;
}

.dropdown-user .user-box .u-text h4 {
  line-height: 1.25;
}

.dropdown-user .user-box .u-text .text-muted {
  line-height: 1.35;
  white-space: normal;
}

.frontend-account-delete-form,
.dropdown-menu .frontend-account-delete-form {
  margin: 0;
}

.frontend-account-delete-form .dropdown-item {
  width: 100%;
  text-align: left;
}

.account-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.account-delete-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.account-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .72);
  backdrop-filter: blur(5px);
}

.account-delete-modal__dialog {
  position: relative;
  width: min(100%, 460px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .32);
  transform: translateY(16px) scale(.98);
  transition: transform .2s ease;
}

.account-delete-modal.is-open .account-delete-modal__dialog {
  transform: translateY(0) scale(1);
}

.account-delete-modal__accent {
  height: 7px;
  background: linear-gradient(90deg, #ef4444, #f97316, #facc15);
}

.account-delete-modal__body {
  padding: 30px 30px 24px;
  text-align: center;
}

.account-delete-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff1f2;
  color: #dc2626;
  font-size: 34px;
  box-shadow: 0 12px 32px rgba(220, 38, 38, .18);
}

.account-delete-modal__title {
  margin: 0 0 10px;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.account-delete-modal__text {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.account-delete-modal__warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  background: #fff7f7;
  color: #9f1239;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.account-delete-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0 30px 30px;
}

.account-delete-modal__button {
  min-height: 44px;
  min-width: 128px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  padding: 13px 20px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.account-delete-modal__button:hover {
  transform: translateY(-1px);
}

.account-delete-modal__button--cancel {
  background: #eef2f7;
  color: #334155;
}

.account-delete-modal__button--cancel:hover {
  background: #e2e8f0;
}

.account-delete-modal__button--confirm {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  box-shadow: 0 12px 24px rgba(220, 38, 38, .24);
}

.account-delete-modal__button--confirm:hover {
  box-shadow: 0 16px 30px rgba(220, 38, 38, .3);
}

.account-delete-modal__button:disabled {
  cursor: not-allowed;
  opacity: .72;
  transform: none;
}

body.account-delete-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .account-delete-modal {
    align-items: flex-end;
    padding: 14px;
  }

  .account-delete-modal__dialog {
    border-radius: 18px 18px 14px 14px;
  }

  .account-delete-modal__body {
    padding: 26px 20px 20px;
  }

  .account-delete-modal__title {
    font-size: 21px;
  }

  .account-delete-modal__actions {
    flex-direction: column-reverse;
    padding: 0 20px 22px;
  }

  .account-delete-modal__button {
    width: 100%;
  }
}
