/* ======================================================= */
/* --- START: YOUTUBE TUTORIAL SLIDE-OUT BUTTON STYLES --- */
/* ======================================================= */
.youtube-tutorial-btn {
    /* 1. Positioning */
    position: fixed;
    bottom: 36px; /* Position it above your control bar (adjust if needed) */
    right: 0;
    transform: translateY(-50%) translateX(calc(100% - 48px)); /* Start mostly hidden */
    z-index: 50002; /* Above other UI but below lightboxes */

    /* 2. Appearance */
    background-color: #FF0000; /* YouTube Red */
    color: white;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 15px;
    
    display: flex;
    align-items: center;
    gap: 8px;
    
    padding: 10px 15px 10px 12px; /* A little extra padding on the right */
    border-radius: 20px 0 0 20px; /* Rounded on the left corners */
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    
    /* 3. Animation */
    transition: transform 0.3s ease-in-out;
}

/* 4. The Hover State (Slide-Out Effect) */
.youtube-tutorial-btn:hover {
    transform: translateY(-50%) translateX(0); /* Slide fully into view */
}

/* 5. SVG and Text Styling */
.youtube-tutorial-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0; /* Prevent the icon from shrinking */
}

.youtube-tutorial-btn span {
    white-space: nowrap; /* Prevent the text from wrapping */
}

/* --- Optional: Responsive adjustment for mobile --- */
@media (max-width: 768px) {
    .youtube-tutorial-btn {
        /* On mobile, keep it slightly smaller */
        padding: 8px 12px 8px 10px;
        transform: translateY(-50%) translateX(calc(100% - 44px));
    }
    .youtube-tutorial-btn svg {
        width: 24px;
        height: 24px;
    }
}
/* --- END: YOUTUBE BUTTON STYLES --- */