@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300..800;1,400&display=swap');
body, input, button, textarea, select {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 13px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.5;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input, textarea, select {
    color: var(--foreground);
    accent-color: var(--primary);
}

input::placeholder, textarea::placeholder {
    color: var(--muted-foreground);
}

::selection {
    background-color: var(--border);
}

a {
    color: var(--link);
    text-decoration: none;
}
a:hover {
    color: var(--link-hover);
}

/* figures line up in tables, totals and pagers */
.bottom-view, .paging-content, .table-pagination {
    font-variant-numeric: tabular-nums;
}

/* visible keyboard focus everywhere (mouse clicks don't show it) */
a:focus-visible, [tabindex]:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* thin scrollbars, shadcn style */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--border-strong);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}
::-webkit-scrollbar-track {
    background: transparent;
}

:root {
    --zindex-alert: 99999;      /* HIGHEST */
    --zindex-popup: 999;        /* Popup can be shown in modal */
    --zindex-modal: 100;
    --zindex-inline-menu: 1;    /* Kind of popup show based on component order */
}

* {
    touch-action: manipulation;
}

/* Tailwind CSS style */

.mg-l-15 {
    margin-left: 15px;
}
.mg-l-10 {
    margin-left: 10px;
}
.mg-l-5 {
    margin-left: 5px;
}

.flex-1 {
    flex: 1;
}
