:root
{
  --color-bg: #0e0b14;
  --color-surface: #171321;

  --color-primary: #AF35AF;
  --color-primary-hover: #C94BC9;

  --color-text: #EDE7F6;
  --color-text-muted: #9B8AAE;

  --gradient-primary: linear-gradient(135deg, #FE6DFE, #AF35AF);

  --color-border: #26213A;

  --color-gray: #848484;
}

.loader{
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}

.loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid var(--color-primary);
    animation: prixClipFix 2s linear infinite ;
}

.center-block
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

.rate-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    cursor: help;
    border: 1px solid currentColor;
    opacity: 0.7;
}

.rate-help:hover {
    opacity: 1;
}

.rate-help::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);

    min-width: 210px;
    max-width: 260px;
    padding: 8px 10px;

    background: #222;
    color: #fff;
    border-radius: 8px;

    font-size: 12px;
    line-height: 1.35;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    white-space: normal;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.08s ease, transform 0.08s ease, visibility 0.08s ease;
    z-index: 20;
}

.rate-help::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    transform: translateX(-50%);

    border: 5px solid transparent;
    border-top-color: #222;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.08s ease, visibility 0.08s ease;
    z-index: 21;
}

.rate-help:hover::after,
.rate-help:hover::before {
    opacity: 1;
    visibility: visible;
}

.rate-help:hover::after {
    transform: translateX(-50%) translateY(0);
}