/* Custom overrides for App Rank Tracker */

/* Smooth transitions */
.page { transition: opacity 0.15s ease; }

/* Heatmap cell hover */
table td[onclick]:hover {
    filter: brightness(0.92);
    cursor: pointer;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Loading spinner */
.spinner {
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #3b82f6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Category inline select — looks like a badge, behaves like a dropdown */
select.cat-select {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 16px !important;
}
