/* 
  modern-aside-simple.css
  ------------------------------------------------------------
  Custom lightweight stylesheet to support the "modern-*" sidebar
  and the top quick-menu (#top-menu-right) found in the provided
  templates (index.txt / dashboard.txt).

  Note: Original templates referenced an external file with the
  same name. Since we only received HTML/CSS snippets, this file
  recreates the visual/behavioral layer locally.
*/

/* Top quick menu (icons + label) */
#top-menu-right{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  margin: 0;
  list-style: none;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(102,126,234,.20);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#top-menu-right li{ list-style:none; }

#top-menu-right a.menu-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration:none;
  color:#0f172a;
  font-weight:700;
  font-size: 12px;
  letter-spacing:.02em;
  transition: all .25s ease;
  border: 1px solid transparent;
}

#top-menu-right a.menu-item i{ display:flex; align-items:center; }

#top-menu-right a.menu-item img{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

#top-menu-right a.menu-item:hover{
  background: rgba(102,126,234,.10);
  border-color: rgba(102,126,234,.20);
  transform: translateY(-1px);
}

#top-menu-right a.menu-item:active{
  transform: translateY(0px);
}

@media (max-width: 991px){
  #top-menu-right{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 18px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  #top-menu-right::-webkit-scrollbar{ display:none; }
  #top-menu-right a.menu-item span{ display:none; }
}

/* Modern sidebar skin for the provided "modern-*" classes */
.section-menu-left .modern-logo{
  padding: 18px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  position: sticky;
  top: 0;
  z-index: 5;
}

.section-menu-left .logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.section-menu-left .modern-logo .logo-image{
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.section-menu-left .modern-toggle{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(102,126,234,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: all .25s ease;
  margin-top: 12px;
}

.section-menu-left .modern-toggle:hover{
  background: rgba(102,126,234,.18);
  transform: scale(1.03);
}

.section-menu-left .modern-center{
  padding: 12px 12px 18px;
}

.section-menu-left .modern-section{
  margin-top: 16px;
}

.section-menu-left .modern-heading{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(102,126,234,.06);
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-menu-left .modern-menu{
  padding: 8px 0 0 0;
  margin: 0;
}

.section-menu-left .modern-item{
  list-style:none;
  margin-top: 6px;
}

.section-menu-left .modern-link{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  text-decoration:none;
  color: #0f172a;
  font-weight: 700;
  transition: all .25s ease;
  position: relative;
  border: 1px solid transparent;
}

.section-menu-left .modern-link:hover{
  background: rgba(102,126,234,.10);
  border-color: rgba(102,126,234,.18);
  transform: translateX(2px);
}

.section-menu-left .modern-link.active{
  background: rgba(139,92,246,.12);
  border-color: rgba(139,92,246,.25);
}

.section-menu-left .modern-icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(102,126,234,.12);
  color: #6d28d9;
  flex: 0 0 auto;
}

.section-menu-left .modern-text{
  flex: 1 1 auto;
}

.section-menu-left .modern-indicator{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
  flex: 0 0 auto;
}

.section-menu-left .modern-link.active .modern-indicator{
  background: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139,92,246,.20);
}

/* Submenu */
.section-menu-left .modern-submenu{
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px dashed rgba(148,163,184,.35);
}

.section-menu-left .modern-subitem{
  list-style:none;
  margin-top: 6px;
}

.section-menu-left .modern-sublink{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
  transition: all .2s ease;
}

.section-menu-left .modern-sublink:hover{
  background: rgba(148,163,184,.16);
}

.section-menu-left .modern-bullet{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(102,126,234,.55);
}

/* Bottom card */
.section-menu-left .modern-bot{
  padding: 14px 14px 18px;
}
