.brand-march8,
.menu-icon-march8,
.auth-brand-march8 {
  display: none;
}

.menu-icon-default {
  display: inline-flex;
  align-items: center;
}

.menu-icon-march8 img {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  margin-top: -3px;
  vertical-align: middle;
}

.march8-theme-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0.75rem 1rem;
  min-width: 270px;
  user-select: none;
}

.march8-theme-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.march8-theme-toggle-title {
  color: #5f4f58;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.march8-theme-toggle-subtitle {
  color: #9a7f8b;
  font-size: 0.76rem;
  line-height: 1.2;
}

.march8-theme-toggle-row .form-check-input {
  cursor: pointer;
}

.march8-theme-toolbar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
  margin-right: 16px;
  padding: 0 16px;
  height: 42px;
  align-self: center;
  border-radius: 999px;
  border: 1px solid rgba(217, 111, 146, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.3rem 0.9rem rgba(217, 111, 146, 0.1);
  user-select: none;
  cursor: pointer;
}

.march8-theme-toolbar-label {
  color: #8f6a79;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.march8-theme-toolbar-toggle .form-check-input {
  margin-top: 0;
  cursor: pointer;
}

html.march8-theme-active {
  --march8-accent: #d96f92;
  --march8-accent-strong: #ba4f76;
  --march8-accent-soft: rgba(217, 111, 146, 0.14);
  --march8-border: #f1d8df;
  --march8-surface: #fff8f7;
  --march8-surface-strong: #fff3f6;
  --march8-text: #6f5863;
  --march8-shadow: 0 0.45rem 1.2rem rgba(198, 121, 147, 0.16);
}

html.march8-theme-active body {
  background-color: #fffdfd;
}

html.march8-theme-active #page-topbar {
  border-color: var(--march8-border);
  box-shadow: var(--march8-shadow);
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 14%),
    radial-gradient(circle at 80% 18%, rgba(255, 227, 236, 0.9) 0, rgba(255, 227, 236, 0) 18%),
    linear-gradient(90deg, #fff7f9 0%, #ffeef3 38%, #fff7ec 100%);
}

html.march8-theme-active body[data-topbar="dark"] #page-topbar {
  border-color: var(--march8-border);
  box-shadow: var(--march8-shadow);
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 14%),
    radial-gradient(circle at 80% 18%, rgba(255, 227, 236, 0.9) 0, rgba(255, 227, 236, 0) 18%),
    linear-gradient(90deg, #fff7f9 0%, #ffeef3 38%, #fff7ec 100%);
}

html.march8-theme-active #page-topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background:
    radial-gradient(circle at 26% 34%, rgba(239, 166, 191, 0.18) 0, rgba(239, 166, 191, 0) 11%),
    radial-gradient(circle at 68% 66%, rgba(251, 199, 151, 0.18) 0, rgba(251, 199, 151, 0) 12%);
}

html.march8-theme-active .navbar-header,
html.march8-theme-active .navbar-brand-box {
  position: relative;
}

html.march8-theme-active .navbar-header > *,
html.march8-theme-active .navbar-brand-box > * {
  position: relative;
  z-index: 1;
}

html.march8-theme-active .navbar-brand-box {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 245, 248, 0.94) 100%);
  border-color: transparent;
}

html.march8-theme-active body[data-topbar="dark"] .navbar-brand-box {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 245, 248, 0.94) 100%);
  border-color: transparent;
}

html.march8-theme-active .logo,
html.march8-theme-active body[data-topbar="dark"] .navbar-brand-box .logo,
html.march8-theme-active .header-item,
html.march8-theme-active body[data-topbar="dark"] .header-item,
html.march8-theme-active body[data-topbar="dark"] #vertical-menu-btn {
  color: var(--march8-text) !important;
}

html.march8-theme-active .header-item:hover,
html.march8-theme-active body[data-topbar="dark"] .header-item:hover {
  color: var(--march8-accent-strong) !important;
}

html.march8-theme-active .header-item.bg-soft-light {
  background: rgba(255, 255, 255, 0.62) !important;
}

html.march8-theme-active .header-item.border-start,
html.march8-theme-active .header-item.border-end {
  border-color: rgba(217, 111, 146, 0.14) !important;
}

html.march8-theme-active .header-profile-user {
  background: linear-gradient(180deg, #ffd8e4 0%, #ffc2d6 100%);
  box-shadow: 0 0.25rem 0.75rem rgba(217, 111, 146, 0.18);
}

html.march8-theme-active .march8-theme-toolbar-toggle {
  background: linear-gradient(90deg, rgba(255, 248, 250, 0.94) 0%, rgba(255, 246, 240, 0.94) 100%);
  border-color: rgba(217, 111, 146, 0.18);
}

html.march8-theme-active .march8-theme-toolbar-toggle .form-check-input:checked {
  background-color: var(--march8-accent);
  border-color: var(--march8-accent);
}

html.march8-theme-active .brand-default,
html.march8-theme-active .menu-icon-default,
html.march8-theme-active .auth-brand-default {
  display: none !important;
}

html.march8-theme-active .brand-march8,
html.march8-theme-active .menu-icon-march8,
html.march8-theme-active .auth-brand-march8 {
  display: inline-flex;
}

html.march8-theme-active .brand-march8 {
  max-width: 100%;
  object-fit: contain;
}

html.march8-theme-active .logo-lg .brand-march8 {
  height: 44px;
}

html.march8-theme-active .logo-sm .brand-march8 {
  height: 32px;
}

html.march8-theme-active .vertical-menu {
  background:
    linear-gradient(180deg, #fffdfc 0%, #fff4f7 55%, #fffaf1 100%);
  border-color: transparent;
  box-shadow: 0 0.75rem 1.5rem rgba(197, 126, 150, 0.12);
}

html.march8-theme-active #sidebar-menu {
  padding-top: 16px;
}

html.march8-theme-active .menu-title {
  color: #a68091;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.march8-theme-active #sidebar-menu ul li a {
  margin: 0.12rem 0.7rem;
  border-radius: 14px;
  color: #79616c;
}

html.march8-theme-active #sidebar-menu ul li a svg,
html.march8-theme-active #sidebar-menu ul li a i {
  color: #8c7380;
}

html.march8-theme-active #sidebar-menu ul li a:hover,
html.march8-theme-active #sidebar-menu ul li a:focus {
  color: var(--march8-accent-strong);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(217, 111, 146, 0.08);
}

html.march8-theme-active #sidebar-menu ul li a:hover svg,
html.march8-theme-active #sidebar-menu ul li a:hover i,
html.march8-theme-active #sidebar-menu ul li a:focus svg,
html.march8-theme-active #sidebar-menu ul li a:focus i {
  color: var(--march8-accent-strong);
}

html.march8-theme-active .mm-active > a,
html.march8-theme-active .mm-active .active {
  background: linear-gradient(90deg, rgba(255, 226, 236, 0.92) 0%, rgba(255, 242, 232, 0.92) 100%);
  color: var(--march8-accent-strong) !important;
  box-shadow: inset 0 0 0 1px rgba(217, 111, 146, 0.12);
}

html.march8-theme-active .mm-active > a svg,
html.march8-theme-active .mm-active > a i,
html.march8-theme-active .mm-active .active svg,
html.march8-theme-active .mm-active .active i {
  color: var(--march8-accent-strong) !important;
}

html.march8-theme-active .page-content {
  background-image: linear-gradient(180deg, rgba(255, 243, 247, 0.72) 0, rgba(255, 255, 255, 0) 170px);
}

html.march8-theme-active .toast .bg-primary {
  background: linear-gradient(90deg, #df7899 0%, #d35d87 100%) !important;
}

html.march8-theme-active .btn-primary {
  border-color: #d96f92;
  background: linear-gradient(90deg, #df7899 0%, #d35d87 100%);
}

html.march8-theme-active .btn-primary:hover,
html.march8-theme-active .btn-primary:focus {
  border-color: #c85c80;
  background: linear-gradient(90deg, #d9688d 0%, #c9557c 100%);
}

html.march8-theme-active .dropdown-menu {
  border-color: rgba(217, 111, 146, 0.14);
  box-shadow: 0 0.75rem 1.5rem rgba(197, 126, 150, 0.14);
}

html.march8-theme-active .march8-theme-toggle-row {
  background:
    linear-gradient(90deg, rgba(255, 246, 249, 0.96) 0%, rgba(255, 248, 242, 0.96) 100%);
}

html.march8-theme-active .march8-theme-toggle-row .form-check-input:checked {
  background-color: var(--march8-accent);
  border-color: var(--march8-accent);
}

html.march8-theme-active .auth-bg {
  background:
    radial-gradient(circle at top left, rgba(255, 211, 224, 0.28), transparent 28%),
    linear-gradient(135deg, #fff1f5 0%, #ffece4 100%);
}

html.march8-theme-active .auth-bg .bg-overlay {
  background:
    linear-gradient(135deg, rgba(225, 109, 149, 0.2) 0%, rgba(247, 194, 149, 0.18) 100%);
}

html.march8-theme-active .auth-full-page-content {
  background:
    linear-gradient(180deg, #ffffff 0%, #fffafc 100%);
}

html.march8-theme-active .auth-logo .brand-march8 {
  display: inline-block;
  width: min(100%, 280px);
  height: auto;
}

html.march8-theme-active .bg-bubbles li {
  background-color: rgba(255, 255, 255, 0.38);
}

body[data-sidebar-size="sm"] .menu-icon-march8 img {
  margin-left: 0;
  margin-right: 6px;
}

@media (max-width: 1199.98px) {
  .march8-theme-toolbar-label {
    display: none;
  }

  .march8-theme-toolbar-toggle {
    gap: 0;
    padding: 0 12px;
  }
}
