/* Sidebar Profile Button Styles */

/* Adjust menu-inner to leave space for profile button */
.layout-menu .menu-inner {
  padding-bottom: 80px !important; /* Space for profile button */
}

/* Profile button container */
.menu-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: inherit;
  z-index: 10;
}

/* Profile link hover effect */
.menu-footer a {
  padding: 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

.menu-footer a:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Avatar styles */
.menu-footer .avatar {
  position: relative;
}

.menu-footer .avatar-online::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #71dd37;
  border: 2px solid #fff;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .menu-footer {
    padding: 0.75rem;
  }
  
  .menu-footer a {
    padding: 0.5rem;
  }
}

/* Dark mode support */
[data-theme="dark"] .menu-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .menu-footer a:hover {
  background-color: rgba(255, 255, 255, 0.04);
}
