/* Custom Aesthetic Utilities for Evalix 3.0 */

/* Custom Dark Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 40px 0 rgba(99, 102, 241, 0.2);
}

/* Gradient Text Utilities */
.gradient-text-indigo {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-border-indigo {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(to right, #4f46e5, #7c3aed, #ec4899);
    padding: 1px;
}

/* Code Editor & Live Preview Containers */
.editor-container {
    height: calc(100vh - 220px);
    min-height: 500px;
}

/* Seekbar Animation */
.timer-seekbar-fill {
    transition: width 1s linear, background-color 1s ease;
}

/* Copy-Paste Warning Popup */
.copy-block-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
