/* Custom Key Animations & States */
.key {
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: background-color 0.05s ease, border-color 0.05s ease, box-shadow 0.05s ease, transform 0.05s ease;
    cursor: default; /* Kursor panah biasa, menandakan tidak bisa diklik */
}

/* State 1: Active Key Down (Green Glowing) */
.key.active-down {
    background-color: #16a34a !important;
    border-color: #4ade80 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transform: translateY(1px);
}

/* State 2: Key Tested / Released (Blue) */
.key.tested {
    background-color: #2563eb !important;
    border-color: #60a5fa !important;
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #0b0f17;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #475569;
}