
.recipe-video-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0px;
    
}

.recipe-video-inner {
    width: 100%;
    text-align: center;
}
.recipe-video-heading {
    font-size: 27px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: 600;
    background-color: transparent;
    background-image: linear-gradient(180deg, #6A0EFF 0%, #FF2600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*Filter Toggle*/
.video-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
}

.video-toggle-label input[type="checkbox"] {
    display: none;
}

.video-toggle-slider {
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 999px;
    position: relative;
    transition: background 0.3s;
}

.video-toggle-slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 2px;
    left: 2px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

#videoToggle:checked + .video-toggle-slider {
    background: #ed1c24;
}

#videoToggle:checked + .video-toggle-slider::before {
    transform: translateX(26px);
}
.video-toggle-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.5); /* white-ish overlay */
    justify-content: center;
    align-items: center;
}

.video-toggle-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top: 6px solid #ed1c24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10000;
}

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