.RCB-pulse-toggler {
  position: fixed;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  transition: right 0.3s ease;

  &.RCB-pulse-toggler-visible {
    right: 0;
  }

  &-btn-text {
    font-size: 10px;
  }

  &-btn {
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: #8a8a8a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
    padding: 6px 10px;

    &:hover {
      background-color: #6e6e6e;
    }

    &:disabled {
      cursor: not-allowed;
      opacity: 0.7;
    }

    &.active {
      background-color: #3E71F2;

      &:hover {
        background-color: #3865D9;
      }
    }
  }

  &-tooltip {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    line-height: 1.5;
    width: 220px;
    white-space: normal;
    pointer-events: none;

    &-arrow {
      position: absolute;
      right: -6px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-left: 6px solid #fff;
    }
  }

  &-loader-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  &-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: #3E71F2;
    border-radius: 50%;
    animation: RCB-pulse-spin 0.6s linear infinite;
    flex-shrink: 0;
  }
}

@keyframes RCB-pulse-spin {
  to {
    transform: rotate(360deg);
  }
}
