/* Overlay Toggle Switch */
/* Overlay Caption and Toggle Container */
.overlay-caption-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.overlay-caption-container p {
    margin-bottom: 0 !important;
}

.video-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.video-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.video-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.video-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.video-toggle-slider {
    background-color: #3273dc;
}

input:focus+.video-toggle-slider {
    box-shadow: 0 0 1px #3273dc;
}

input:checked+.video-toggle-slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */
.video-toggle-slider.video-toggle-round {
    border-radius: 34px;
}

.video-toggle-slider.video-toggle-round:before {
    border-radius: 50%;
}

.toggle-label {
    font-size: 1rem;
    font-weight: 600;
    color: #4a4a4a;
}