.vcta-controls {
    display: none !important;
    position: absolute;
    /* или relative, если нужно относительно родителя */
    top: 15px;
    /* отступ сверху */
    right: 20px;
    /* отступ справа */
    display: flex;
    flex-direction: column;
    /* вертикальное направление */
    align-items: center;
    /* выравнивание кнопок по центру */
    gap: 6px;
    /* расстояние между кнопками */
}


.vcta-volume-controls {
    display: none;
    position: absolute;
    /* или relative, если нужно относительно родителя */
    top: 60px;
    /* отступ сверху */
    right: -55px;
    rotate: 270deg;
}

.vcta-controls button {
    background: #fff;
    border: none;
    border-radius: 999px;
    width: 15px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}


.vcta-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9;
    transition: all 0.25s ease;
}

/* Hover-анимация */
.vcta-center-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.vcta-video-wrapper.expanded .vcta-form-btn {
    display: block;
}

.vcta-video-wrapper.expanded .vcta-video-slider {
    display: block;
}

.vcta-video-wrapper.expanded .vcta-volume-controls {
    display: block;
}

.vcta-video-wrapper.expanded .vcta-sound-toggle {
    display: block;
}

.vcta-video-wrapper.expanded .vcta-controls {
    display: flex !important;
    gap: 4px
}

.vcta-video-wrapper.expanded .vcta-video-current-time,
.vcta-video-duration {
    display: block;
}



.vcta-video-track {
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.vcta-video-current-time,
.vcta-video-duration {
    display: none;
    font-size: 12px;
    color: #fff;
    margin-left: auto;
    min-width: 20px;
    text-align: center;
}


/* Сброс стандартного вида слайдера */
.vcta-video-slider {
    display: none;
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: #ccc;
    border-radius: 0;
    outline: none;
}

.vcta-video-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    display: none !important;
    width: 9px;
    height: 9px;
    background: yellow;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
}


.vcta-video-slider {
    background: linear-gradient(to right, #fd623e 0%, #fd623e var(--value, 0%), #ccc var(--value, 0%), #ccc 100%) !important;
}

.vcta-volume-slider {
    padding: 0 !important;
}



.vcta-toast {
  position: fixed;
  top: 20px;
  right: -300px;
  background: #323232;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}
.vcta-toast.success { background: #28a745; }
.vcta-toast.error { background: #dc3545; }
.vcta-toast.show {
  right: 20px;
  opacity: 1;
}