/* ==========================================================================
   ACahyaMaxi - Premium Sidebar Menu Custom Block (Pure CSS)
   ========================================================================== */

#customblock-sidebarmenu {
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 
              0 8px 10px -6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#customblock-sidebarmenu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #f59e0b 100%);
  border-radius: 16px 16px 0 0;
}

#customblock-sidebarmenu:hover {
  box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.08), 
              0 10px 15px -5px rgba(15, 23, 42, 0.04);
  border-color: #bfdbfe;
}

#customblock-sidebarmenu .content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#customblock-sidebarmenu .content p,
#customblock-sidebarmenu .content p.hvr-underline-from-center {
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
}

#customblock-sidebarmenu .content p::before,
#customblock-sidebarmenu .content p.hvr-underline-from-center::before {
  display: none !important;
}

#customblock-sidebarmenu .content p a {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 0.885rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-radius: 10px;
  background-color: transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#customblock-sidebarmenu .content p a em.fa,
#customblock-sidebarmenu .content p a em.fas,
#customblock-sidebarmenu .content p a em[class*="fa-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin-right: 12px;
  background: #f1f5f9;
  color: #2563eb;
  border-radius: 8px;
  font-size: 0.95rem;
  font-style: normal;
  transition: all 0.25s ease;
}

#customblock-sidebarmenu .content p a::after {
  content: '\f105';
  font-family: 'FontAwesome', 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
  position: absolute;
  right: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
}

#customblock-sidebarmenu .content p a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
  transform: translateX(4px);
  padding-left: 14px;
}

#customblock-sidebarmenu .content p a:hover em.fa,
#customblock-sidebarmenu .content p a:hover em.fas,
#customblock-sidebarmenu .content p a:hover em[class*="fa-"] {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transform: scale(1.06);
}

#customblock-sidebarmenu .content p a:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #2563eb;
}

#customblock-sidebarmenu .content p a:active {
  transform: scale(0.98) translateX(4px);
}
