.user-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.dropdown .avatar {
  width: 32px;
  height: 32px;
  border-radius: 20%;
  object-fit: cover;
}

/* Dropdown base */
.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown layout */
.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--text-muted);
  padding: 10px 20px 5px;
}

.dropdown-menu .dropdown-item,
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
	  padding: 10px 20px;
  color: var(--text-light);
  transition: background 0.2s;
  font-size: 14px;
}

.dropdown-menu a:hover,
.dropdown-item:hover {
  background-color: var(--highlight-bg);
  color: var(--text-bright);
}

/* PROFILE DROPDOWN */
.profile-menu {
  width: 280px;
 left: -170px;
  padding-bottom: 10px;
  background-color: var(--secondary-bg);
  color: var(--text-main);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 999;
}

/* Banner */
.profile-banner {
  position: relative;
}
.banner-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}
.user-meta {
  position: absolute;
  bottom: -20px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--secondary-bg);
}
.name {
  font-weight: bold;
  color: var(--text-bright);
}
.role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Credit section */
.credit-section {
  margin-top: 35px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.credit {
  color: var(--accent-soft);
  font-weight: bold;
}
.get-credits {
  background-color: transparent;
  border: 1px solid var(--accent-soft);
  padding: 4px 12px;
  border-radius: 20px;
  color: #42ff9e;
  font-size: 13px;
  transition: 0.3s;
  white-space: nowrap;
}
.get-credits:hover {
  background-color: var(--accent);
  color: var(--primary-bg);
}

/* Dropdown links */
.dropdown-group a,
.dropdown-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  transition: background 0.2s ease;
  font-size: 14px;
}
.dropdown-group a:hover,
.dropdown-footer a:hover {
  background-color: var(--highlight-bg);
  color: var(--text-bright);
}
.logout {
  border-top: 1px solid var(--highlight-bg);
  margin-top: 8px;
}


.quick-actions a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
}

.dropdown-group.compact {
  padding: 5px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.dropdown-group.compact a {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;

  border-radius: 6px;
  transition: background 0.2s;
}

.dropdown-group.compact a:hover {
  background-color: var(--highlight-bg);
  color: var(--text-bright);
}

.dropdown-footer.compact {
  margin-top: 10px;
  background: var(--accent);
  text-align: center;
  padding: 10px 0;
  border-radius: 0 0 10px 10px;
}

.dropdown-footer.compact .logout {
  color: var(--text-bright);
  font-weight: bold;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .dropdown-menu {
    right: auto;
    left: 0;
    min-width: 200px;
  }

  .dropdown-group.compact {
    grid-template-columns: 1fr;
  }
}
/* notification*/
.notif-menu {
  width: 360px;
	    left: -250px;
    top: 40px;

  max-height: 420px;
  overflow-y: auto;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  padding-bottom: 10px;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-weight: bold;
  background-color: var(--highlight-bg);
  color: var(--text-main);
  border-bottom: 1px solid var(--secondary-bg);
}

.notif-item {
  display: flex;
  padding: 12px 16px;
  border-bottom: 1px solid var(--secondary-bg);
  transition: background 0.2s ease;
}

.notif-item:hover {
  background-color: var(--highlight-bg);
}

.notif-icon {
  font-size: 28px;
  color: var(--text-muted);
  margin-right: 12px;
  flex-shrink: 0;
}

.notif-content {
  flex: 1;
}

.notif-text {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.4;
	text-align: left;
}

.notif-time {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
	text-align: left;
}

.notif-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--highlight-bg);
  border-top: 1px solid var(--secondary-bg);
}

.notif-footer a {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.notif-footer a:hover {
  color: var(--text-bright);
}

/*pm*/
.pm-menu {
    width: 360px;
    left: -200px;
    top: 50px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding-bottom: 10px;
    overflow: hidden;
}

.pm-header {
  background-color: var(--highlight-bg);
  padding: 12px 16px;
  font-weight: bold;
  color: var(--text-main);
  border-bottom: 1px solid var(--secondary-bg);
}

.pm-item {
  display: flex;
  padding: 12px 16px;
  border-bottom: 1px solid var(--secondary-bg);
  transition: background 0.2s ease;
}

.pm-item:hover {
  background-color: var(--highlight-bg);
}

.pm-icon {
  font-size: 28px;
  color: var(--text-muted);
  margin-right: 12px;
  flex-shrink: 0;
}

.pm-content {
  flex: 1;
}

.pm-text {
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.pm-text strong {
  color: var(--text-bright);
}

.pm-text .emoji {
  font-size: 16px;
}

.pm-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--highlight-bg);
  border-top: 1px solid var(--secondary-bg);
}

.pm-footer a {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.pm-footer a:hover {
  color: var(--text-bright);
}
/*icon*/
	.icon-button {
  position: relative;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 20px; /* Larger icon size */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button i {
  font-size: 22px;
}

/* Red badge for notification count */
.icon-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--secondary-bg);
}
/*recent */
.recent-posts {
  background-color: var(--secondary-bg);
  padding: 20px;
  border-radius: 10px;
}

.recent-posts h4 {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 15px;
}

.post-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  display: flex;
  padding: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.post-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 20%;
  margin-right: 15px;
}

.post-content {
  flex-grow: 1;
}

.post-title {
  /* font-size: 12px; */
  /* font-weight: bold; */
  color: var(--text-bright);
  text-align: left;
  /* font-size: 12px; */
  font-size: .875rem;
  line-height: 1.25rem;
}

.post-author {
  font-size: 12px;
  color: var(--text-light);
  text-align: left;
}

.post-comments {
  margin-left: auto;
}

.comment-count {
  background-color: var(--accent);
  color: var(--text-bright);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}@media (min-width: 769px) {
  .sidebar {
    display: none;
  }

  .menu-toggle {
    display: none !important;
  }
}


/*tab css by xferno */
   .category-bar {
      background-color: var(--secondary-bg);
      padding: 20px 30px;
      border-radius: 12px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      margin: 20px 0px;
      margin-top: 2px;
    }

    .category-title {
      font-weight: 600;
      color: var(--text-light);
      white-space: nowrap;
    }

    .category-divider {
      height: 20px;
      width: 1px;
      background-color: var(--highlight-bg);
    }

    .category {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-light);
      text-decoration: none;
      font-weight: 600;
      padding-bottom: 4px;
      border-bottom: 2px solid transparent;
      transition: color 0.3s, border-bottom 0.3s;
    }

    .category:hover {
      color: var(--accent-soft);
    }

    .category.active {
      color: var(--accent);
      border-bottom: 2px solid var(--accent);
    }

    .category i {
      font-size: 16px;
    }

    .category span {
      display: inline;
    }

    @media (max-width: 768px) {
      .category-bar {
        justify-content: space-around;
      }

      .category-title,
      .category-divider {
        display: none;
      }

      .category span {
        display: none;
      }
    }
.lastpost-meta {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 14px;
  color: var(--text-main);
}

.lastpost-meta span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.stats strong {
  font-size: 15px;
}
.info p {
  text-align: left;
    font-size: 12px;
}

.usericon {    width: 15px;
    vertical-align: -3px;
    height: auto;
	margin-left: 2px;}
		
		