/* Custom Scrollbars to match DaVinci Resolve dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #171717; 
}
::-webkit-scrollbar-thumb {
    background: #404040; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #52525b; 
}

/* Ensure body doesn't bounce */
body {
    overscroll-behavior-y: none;
}

/* 
 * The Alignment Canvas classes.
 * Mix-blend-screen drops the black/dark areas of the top layer 
 * making it function exactly like traditional animation onion-skin paper.
 */
.mix-blend-screen {
    mix-blend-mode: screen;
}

/* Hide the default file input text */
input[type="file"]::file-selector-button {
    display: none;
}

/* Subtle pulse for the render button */
@keyframes pulse-border {
    0% { border-color: rgba(34, 197, 94, 0.4); }
    50% { border-color: rgba(34, 197, 94, 1); box-shadow: 0 0 10px rgba(34, 197, 94, 0.2); }
    100% { border-color: rgba(34, 197, 94, 0.4); }
}

.rendering-active {
    animation: pulse-border 1.5s infinite;
}