* {
    border-radius: 0 !important;
}

[x-cloak] {
    display: none !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* CRT EFFECTS */
.crt-overlay {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.scanlines {
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    animation: scanline 0.2s linear infinite;
    opacity: 0.15;
}

.vignette {
    background: radial-gradient(circle,
            rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.25) 90%,
            rgba(0, 0, 0, 0.6) 100%);
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(4px);
    }
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #333333;
}

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

@keyframes flashGreen {
    0% {
        box-shadow: inset 0 0 0 3px #00D26A, 0 0 30px rgba(0, 210, 106, 0.5);
    }

    100% {
        box-shadow: inset 0 0 0 1px #333333;
    }
}

@keyframes flashOrange {
    0% {
        box-shadow: inset 0 0 0 3px #FF9F1C, 0 0 30px rgba(255, 159, 28, 0.5);
    }

    100% {
        box-shadow: inset 0 0 0 1px #333333;
    }
}

@keyframes flashRed {
    0% {
        box-shadow: inset 0 0 0 3px #FF4B4B, 0 0 30px rgba(255, 75, 75, 0.5);
    }

    100% {
        box-shadow: inset 0 0 0 1px #333333;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.sparkline {
    stroke-linecap: square;
    fill: none;
}

.heatmap-cell {
    transition: background-color 0.15s ease;
}

.category-btn.active {
    background-color: #00D26A;
    color: #1A1A1A;
    box-shadow: 0 0 15px rgba(0, 210, 106, 0.3);
}

.category-btn:not(.active):hover {
    background-color: #2A2A2A;
    border-color: #00D26A;
}

.variant-checkbox:checked+label {
    color: #00D26A;
    border-color: #00D26A;
}

.tier-btn.active {
    background-color: #00D26A;
    color: #1A1A1A;
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.2);
}

input[type="text"]:focus {
    outline: none;
    border-color: #00D26A;
    box-shadow: 0 0 0 1px #00D26A;
    caret-color: transparent;
}

.status-indicator {
    width: 8px;
    height: 8px;
    display: inline-block;
}

.status-indicator.online {
    background-color: #00D26A;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.data-grid {
    display: grid;
    gap: 1px;
    background-color: #333333;
}

.data-grid>div {
    background-color: #1A1A1A;
}

.flash-success {
    animation: flashGreen 0.4s ease-out;
}

.flash-warning {
    animation: flashOrange 0.4s ease-out;
}

.flash-error {
    animation: flashRed 0.4s ease-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

.animate-shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

/* Recent Response Mini-Chips */
#recent-responses div {
    border-radius: 2px;
    width: 14px;
    height: 14px;
    font-size: 8px;
    transition: transform 0.2s ease;
}

#recent-responses div:hover {
    transform: scale(1.2);
    z-index: 10;
}

/* Input Focus Glow */
input[type="text"]:focus {
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.15);
}