/* Стили общей обвязки страницы: шапка и левое меню.
   Раньше ехали инлайном в разметке каждой страницы. */

.h-menu {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        height: 36px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        color: rgba(255,255,255,.85);
        background: linear-gradient(135deg, rgba(220,38,38,.18) 0%, rgba(30,30,40,.6) 100%);
        border: 1px solid rgba(220,38,38,.35);
        transition: all .2s;
        user-select: none;
        letter-spacing: .3px;
        box-shadow: 0 0 12px rgba(220,38,38,.12);
      }
      .h-menu:hover {
        background: linear-gradient(135deg, rgba(220,38,38,.28) 0%, rgba(40,30,50,.8) 100%);
        border-color: rgba(220,38,38,.6);
        box-shadow: 0 0 18px rgba(220,38,38,.22);
        color: #fff;
      }
      .h-menu .fa-bars {
        font-size: 14px;
        color: #f87171;
      }
      .h-menu .fa-angle-down { display: none; }

.header-notification-container {}
          .heaader-notification-btn, .heaader-valentines-btn {
            display: flex;
            align-items: center;
            border-radius: 50px;
            color: var(--text-500);
            gap: 5px;
            cursor: pointer;
            background: var(--transp-05);
            padding: 5.5px 12px;
            margin-right: 8px;
            border: 1px solid transparent;
            margin-left: 8px;
            font-size: 22px;
            transition: all .3s;
            border: 1px solid var(--transp-1);
            height: 38px;
            position: relative;
          }

          .heaader-notification-btn.active {
            color: #fff;
            font-weight: bold;
          }

          .unread-notifications-count {
            font-size: 14px;
          }

          .header-notification-container {
            position: relative;
          }

          .notification-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            width: 350px;
            max-height: 450px;
            background: var(--modal-bg-color);
            /* border: 1px solid #ddd; */
            border-radius: 13px;
            /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
            margin-top: 10px;
            overflow-y: auto;
            display: none;
            z-index: 1000;
            border: 1px solid var(--transp-1);
            overflow: hidden;
          }

          .notification-dropdown #notifications {
            overflow-y: auto;
            max-height: 320px;
            padding-right: 5px;
          }

          .notification-dropdown.active {
            display: block;
          }

          .notification-item {
            padding: 12px 15px;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            transition: background-color 0.2s;
          }

          .notification-item:hover {
            background-color: #f9f9f9;
          }

          .notification-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #999;
            font-size: 14px;
          }

          .notification-dropdown-header {
            display: flex;
            justify-content: space-between;

            background-color: var(--transp-1);

            height: 56px;

            align-items: center;

            padding: 11px 18px;

            border-radius: 13px 13px 0 0;
          }

          .notification-dropdown-header h4 {
            margin-bottom: 0px;

            color: #fff;
            font-weight: 600;
            font-size: 13px;
          }

          .clearNotifications {
            color: var(--text-500);
            cursor: pointer;
            font-weight: 300;
          }

          .clearNotifications {
            background: none;
            border: none;
            box-shadow: none;
          }

          .notifications {
            height: 309px;
          }

          .openAllNotificationsBtn {
            margin-top: auto;

            background-color: var(--transp-1);
            color: #fff;
            padding: 12px;
            border-radius: 13px;
            text-align: center;

            font-size: 12px;
          }

          .notification .fa-xmark {
            z-index: 999;
          }

          .notifications-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 12px;
          }

          /* .notifications-container #notifications {
            overflow-y: scroll;
            padding-right: 12px;
          } */

.gl-menu { padding: 28px 0 32px; }
  .gl-menu .container { display: flex; justify-content: space-between; gap: 12px; }

  .g-menu__section { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-right: 0; margin-bottom: 0; width: auto; }

  .g-menu__section > h5 {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; padding: 0 4px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 4px;
    background: none; border-radius: 0; text-shadow: none;
    text-align: left; color: rgba(255,255,255,.4);
  }
  .g-menu__section > h5::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  }
  .g-menu__section:nth-child(1) > h5::before { background: #facc15; box-shadow: 0 0 6px #facc1588; }
  .g-menu__section:nth-child(2) > h5::before { background: #a78bfa; box-shadow: 0 0 6px #a78bfa88; }
  .g-menu__section:nth-child(3) > h5::before { background: #38bdf8; box-shadow: 0 0 6px #38bdf888; }
  .g-menu__section:nth-child(4) > h5::before { background: #fb923c; box-shadow: 0 0 6px #fb923c88; }
  .g-menu__section:nth-child(5) > h5::before { background: #4ade80; box-shadow: 0 0 6px #4ade8088; }

  .gl-menu__col { display: flex; flex-direction: column; gap: 3px; }

  .gl-menu__col-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 10px;
    text-decoration: none; color: rgba(255,255,255,.6);
    font-size: 13px; border: 1px solid transparent;
    background: rgba(255,255,255,.03);
    transition: all .18s;
  }
  .gl-menu__col-link:hover {
    color: #fff; text-decoration: none;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.1);
    transform: translateX(3px);
  }

  .gl-menu__col-icon {
    width: 34px; height: 34px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
    transition: transform .18s;
  }
  .gl-menu__col-link:hover .gl-menu__col-icon { transform: scale(1.08); }

  /* Цвета иконок по секции */
  .g-menu__section:nth-child(1) .gl-menu__col-icon { background: rgba(250,204,21,.12); color: #facc15; }
  .g-menu__section:nth-child(1) .gl-menu__col-link:hover { border-color: rgba(250,204,21,.2); background: rgba(250,204,21,.06); }

  .g-menu__section:nth-child(2) .gl-menu__col-icon { background: rgba(167,139,250,.12); color: #a78bfa; }
  .g-menu__section:nth-child(2) .gl-menu__col-link:hover { border-color: rgba(167,139,250,.2); background: rgba(167,139,250,.06); }

  .g-menu__section:nth-child(3) .gl-menu__col-icon { background: rgba(56,189,248,.12); color: #38bdf8; }
  .g-menu__section:nth-child(3) .gl-menu__col-link:hover { border-color: rgba(56,189,248,.2); background: rgba(56,189,248,.06); }

  .g-menu__section:nth-child(4) .gl-menu__col-icon { background: rgba(251,146,60,.12); color: #fb923c; }
  .g-menu__section:nth-child(4) .gl-menu__col-link:hover { border-color: rgba(251,146,60,.2); background: rgba(251,146,60,.06); }

  .g-menu__section:nth-child(5) .gl-menu__col-icon { background: rgba(74,222,128,.12); color: #4ade80; }
  .g-menu__section:nth-child(5) .gl-menu__col-link:hover { border-color: rgba(74,222,128,.2); background: rgba(74,222,128,.06); }

  .gl-menu__col-info { display: flex; flex-direction: column; }
  .gl-menu__col-info span { font-size: 13px; font-weight: 600; color: inherit; line-height: 1.2; }
  .gl-menu__col-info > small { font-size: 10px; color: rgba(255,255,255,.28); margin-top: 1px; }
  .gl-menu__col-link:hover .gl-menu__col-info > small { color: rgba(255,255,255,.45); }

/* Заглушка списков онлайна на время загрузки */
.users-widget-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px 0;
	color: var(--text-500);
	font-size: 13px;
}

/* ─── Левое меню ─────────────────────────────────── */
/* ─── Left-menu redesign ─────────────────────────── */
.lm-logo-wrap {
    display: flex;
    justify-content: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-card-color);
}
.lm-logo-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s;
}
.lm-logo-inner:hover { transform: scale(1.06); }
.lm-logo-inner::before {
    content: '';
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(22px);
    opacity: .13;
    pointer-events: none;
}

.lm-divider {
    height: 1px;
    background: var(--border-card-color);
    margin: 5px 2px;
    flex-shrink: 0;
}

.left-menu-item--accent {
    background: rgba(95,101,220,.07) !important;
    border-color: rgba(95,101,220,.2) !important;
}
.left-menu-item--accent .left-menu-item-icon i { color: #8c91f0 !important; }
