.sidebar-toggle-btn {
  background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
  color: #fff;
  border: 0;
  border-radius: 0.9rem;
  box-shadow: 0 0.6rem 1.4rem rgba(187, 45, 59, 0.25);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sidebar-toggle-btn:hover,
.sidebar-toggle-btn:focus,
.sidebar-toggle-btn:active {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0.85rem 1.7rem rgba(187, 45, 59, 0.33);
}

#leftSidebarOffcanvas,
#rightSidebarOffcanvas {
  --bs-offcanvas-width: min(88vw, 360px);
}

.offcanvas-sidebar-header {
  background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
  color: #fff;
}

.offcanvas-sidebar-body {
  background: linear-gradient(180deg, #dc3545 0%, #b02a37 100%);
}

.offcanvas-sidebar-body .sidebar-box {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
}

.offcanvas-sidebar-body .sidebar-nav .sidebar-link {
  display: block;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
  padding: 0.9rem 0.95rem;
  line-height: 1.35;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.offcanvas-sidebar-body .sidebar-nav .sidebar-link:hover,
.offcanvas-sidebar-body .sidebar-nav .sidebar-link:focus {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 991.98px) {
  .offcanvas-sidebar-body .sidebar-nav ul {
    row-gap: 1.25rem !important;
  }

  .offcanvas-sidebar-body .sidebar-nav li + li {
    margin-top: 0.1rem;
  }

  .offcanvas-sidebar-body .sidebar-nav .sidebar-link {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.offcanvas-sidebar-body .sidebar-panel {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
}

.offcanvas-sidebar-body .sidebar-panel .sidebar-nav .sidebar-link {
  display: block;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
  padding: 0.9rem 0.95rem;
  line-height: 1.35;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.offcanvas-sidebar-body .sidebar-panel .sidebar-nav .sidebar-link:hover,
.offcanvas-sidebar-body .sidebar-panel .sidebar-nav .sidebar-link:focus {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
}

@media (min-width: 992px) {
  .layout-main-row {
    align-items: stretch;
  }

  .layout-sidebar-col,
  .layout-content-col,
  .layout-sidebar-aside {
    height: auto;
  }
  .sidebar-panel {
    flex: 1 1 auto;
  }
}

pre code.hljs {
  border-radius: 1rem !important;
  padding: 20px !important;
}

.sidebar-nav ul {
  list-style-type: "► ";
  ::marker {
    color: #dc3545;
    font-size: 1em;
  }
}

.content-title {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: lighter;
  font-size: 20px;
  margin-top: 30px !important;
}

.content-title::before,
.content-title::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333;
  margin: 0 10px;
}
