/* Tailwind overrides and custom utilities for the Dark Blue Premium Theme */

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #212738;
}

.orbitron-heading {
    font-family: 'Orbitron', sans-serif;
}

.glass-panel {
    background: rgba(122, 130, 171, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(198, 212, 255, 0.1);
}

.math-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(198, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(198, 212, 255, 0.03) 1px, transparent 1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #212738;
}

::-webkit-scrollbar-thumb {
    background: #7A82AB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C6D4FF;
}

/* Toast Notification for copying */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #7A82AB;
    color: #212738;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Fluid Charging Animation */
.fluid-background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background-color: rgba(33, 39, 56, 0.15); /* Dark tone to contrast with light button */
    opacity: 0;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.fluid-background::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(33, 39, 56, 0.25));
}

.fluid-background.active {
    opacity: 1;
    animation: fluid-charge 5s linear forwards;
}

@keyframes fluid-charge {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}