/* Shared by the tablet, the phone, the booth screen and the admin page. */
@font-face {
  font-family: 'Vodafone Rg';
  src: url('../fonts/Vodafone_Rg_LatGrkCyr_A.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vodafone Rg';
  src: url('../fonts/Vodafone_Bd_LatGrkCyr_A.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Vodafone Rg';
  src: url('../fonts/Vodafone_XBd_LatGrkCyr_A.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #e60000;
  --red-dark: #b80000;
  --bg: #0f1113;
  --panel: #1b1e22;
  --panel-2: #24282d;
  --line: #2c3136;
  --text: #ffffff;
  --soft: #e8eaeb;
  --muted: #a7acb0;
  --dim: #7c8287;
  --ok: #a8b400;
  --warn: #fecb00;
  --aqua: #00b0ca;
  --font: 'Vodafone Rg', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--mono);
  font-variant-ligatures: none;
}

.red {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  border: 0;
  border-radius: 999px;
  padding: 0.9em 1.8em;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--soft);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* The terminal window used for the attract screen, the form and the phone. */
.term {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}

.term-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4a4d4e;
}

.term-bar i:first-child {
  background: var(--red);
}

.term-bar span {
  margin-left: 8px;
}

.card-svg svg,
.card-svg img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3.6%;
}
