#menu-user-actions {
  margin-right: auto;

  display: flex;
  align-items: center;
  gap: 14px;
}

.user-info {
  display: flex;
  flex-direction: column;

  padding: 10px 18px;

  background: #f8fafc;

  border: 1px solid var(--border);

  border-radius: 14px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.membership-date {
  font-size: 0.76rem;
  color: #64748b;
}

.membership-date strong {
  color: #16a34a;
  font-weight: 700;
}

.membership-date.expired {
  color: #dc2626;
}

#logout {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 46px;

  padding: 0 18px;

  border-radius: 14px;

  background: #ef4444;

  color: #fff !important;

  font-weight: 700;

  transition: 0.25s;
}

#logout:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

/* =========================================
   Logo
========================================= */

.logo-img {
  height: 40px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  padding-right: 5px;
}

/* Logo beside BoardBord
   Only visible on mobile/tablet */
.nav > .logo-img {
  display: none;
}

@media (max-width: 1023px) {
  .nav > .logo-img {
    display: block;
  }
}

/* Logo inside "صفحه اصلی"
   Visible on all sizes */
#menu-bar #login .logo-img {
  display: block;
  margin-left: 8px;
}
