@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
    --background: #111214;
    --surface: #17181c;
    --surface-raised: #23252b;
    --text: #f2f2f3;
    --text-muted: #9a9ca3;
    --online: #3dd68c;
    --offline: #e5484d;
    --pay: #3dd68c;
    --badge-color: #f5c518;

    --gap: 8px;
    --radius: 12px;
    --topbar-height: 56px;

    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

button {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

/* Top bar */

#topbar {
    flex: none;
    height: calc(var(--topbar-height) + env(safe-area-inset-top, 0px));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-inline: 16px;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--surface);
}

.topbar-icon {
    justify-self: start;
    width: 40px;
    height: 40px;
}

.topbar-icon v-icon {
    width: 20px;
}

.topbar-page {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding-inline: 14px;
    border-radius: 10px;
    background: var(--surface-raised);
    font-weight: 700;
    font-size: 15px;
}

.topbar-page v-icon {
    width: 12px;
}

.topbar-status {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--online);
}

.topbar-status.offline .status-dot {
    background: var(--offline);
}
