/* Custom Variables and Utilities on top of Tailwind CDN */

:root {
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(17, 24, 39, 0.6);
}

.glass-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.bg-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Custom scrollbar for table */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Smooth auto-fill override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1f2937 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ── Compact Scaling ── */
html {
    font-size: 14px;
}

@media (min-width: 1024px) {
    html {
        font-size: 13.5px;
    }
}

@media (min-width: 1440px) {
    html {
        font-size: 14px;
    }
}