/* Стили триггера беджей */
.badge-trigger {
    position: fixed;
    right: 0;
    bottom: 140px;
    z-index: 1049;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Вариант 1: Минималистичная вертикальная полоска */
.badge-trigger-minimal {
    width: 8px;
    height: 120px;
    background: var(--navbar-link-color);
    opacity: 0.3;
    border-radius: 4px 0 0 4px;
}
.badge-trigger-minimal:hover {
    width: 12px;
    opacity: 0.8;
}

/* Вариант 2: Плашка с иконкой chevron */
.badge-trigger-chevron {
    width: 24px;
    height: 80px;
    background: var(--navbar-link-color);
    opacity: 0.7;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-trigger-chevron:hover {
    opacity: 1;
    width: 28px;
}
.badge-trigger-chevron .badge-trigger-icon::before {
    content: '◀';
    color: white;
    font-size: 16px;
}

/* Вариант 3: Круглая кнопка с точками */
.badge-trigger-dots {
    width: 32px;
    height: 32px;
    background: var(--navbar-link-color);
    border-radius: 50% 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.2);
}
.badge-trigger-dots:hover {
    background: var(--navbar-link-color-dark);
    transform: translateX(-2px);
}
.badge-trigger-dots .badge-trigger-icon {
    width: 20px;
    height: 20px;
    position: relative;
}
.badge-trigger-dots .badge-trigger-icon::before,
.badge-trigger-dots .badge-trigger-icon::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}
.badge-trigger-dots .badge-trigger-icon::before {
    top: 2px;
}
.badge-trigger-dots .badge-trigger-icon::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
}
.badge-trigger-dots .badge-trigger-icon::after {
    top: 14px;
}

/* Вариант 4: Градиентная полоска с анимацией */
.badge-trigger-gradient {
    width: 6px;
    height: 100px;
    background: linear-gradient(180deg,
    transparent 0%,
    var(--navbar-link-color) 50%,
    transparent 100%);
    animation: pulse 2s infinite;
}
.badge-trigger-gradient:hover {
    width: 10px;
    animation-duration: 0.5s;
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Вариант 5: Табуляция с иконкой */
.badge-trigger-tab {
    width: 40px;
    height: 40px;
    background: var(--navbar-link-color);
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 0 4px rgba(0,0,0,0.1);
}
.badge-trigger-tab:hover {
    background: var(--navbar-link-color-dark);
    width: 44px;
}
.badge-trigger-tab .badge-trigger-icon::before {
    content: '◀◀';
    color: white;
    font-size: 14px;
    letter-spacing: -4px;
}

/* Вариант 6: Полукруг с линиями меню */
.badge-trigger-menu {
    width: 36px;
    height: 72px;
    background: var(--navbar-link-color);
    border-radius: 36px 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}
.badge-trigger-menu:hover {
    opacity: 1;
    transform: translateX(-2px);
}
.badge-trigger-menu .badge-trigger-icon {
    width: 18px;
    height: 14px;
    position: relative;
    margin-right: 4px;
}
.badge-trigger-menu .badge-trigger-icon::before,
.badge-trigger-menu .badge-trigger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    left: 0;
}
.badge-trigger-menu .badge-trigger-icon::before {
    top: 0;
}
.badge-trigger-menu .badge-trigger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    left: 0;
    top: 6px;
}
.badge-trigger-menu .badge-trigger-icon::after {
    top: 12px;
}

/* Обертка панели беджей */
.badge-panel-wrapper {
    position: fixed;
    right: -300px;
    bottom: 40px;
    z-index: 1050;
    transition: right 0.3s ease;
}

.badge-panel-wrapper.visible {
    right: 0;
}

/* Адаптация существующих стилей панели */
.badge-panel-wrapper .badgePanel {
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 20px;
    flex-direction: column-reverse;
}

/* Остальные существующие стили */
.icon-badgeMenu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
}

.mainBadge-icon {
    width: 62px;
    height: 62px;
    background-color: var(--navbar-link-color);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin-bottom: 10px;
}

.mainBadge-icon:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url(/client/custom/modules/bpm2bNavbarViews/img/three-dots-vertical-svgrepo-com.svg);
    background-size: 83%;
    background-repeat: no-repeat;
    background-position: center;
}

.badgeIcon {
    width: 62px;
    height: 62px;
    background-color: #6c757d;
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
    cursor: pointer;
}

.mainBadge-icon:hover .icon-badgeMenu,
.icon-badgeMenu:hover {
    display: flex;
}