/* style.css */

/* Custom Scrollbar for Workspace */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.2);
    border-radius: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 107, 0.4);
}

.custom-scrollbar::-webkit-scrollbar-corner {
    background: transparent;
}

/* Glassmorphism utility */
.glass {
    background: rgba(42, 22, 22, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 107, 0.1);
}

/* Viewport Frame Hover Effects */
.viewport-frame {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.viewport-frame:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.5);
}

/* Header gradient animation */
.bg-gradient-to-br {
    background-size: 200% 200%;
    animation: GradientFlow 5s ease infinite;
}

@keyframes GradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Modals */
.show-modal {
    display: flex !important;
    opacity: 1 !important;
}

.show-modal>div {
    transform: scale(1) !important;
}