/* Darwin 3 / iPub components - every colour, space and radius comes from tokens.css */

.d3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-text); font-weight: 700; font-size: 16px; line-height: 22px;
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-md);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
}
.d3-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.d3-btn--primary { background: var(--cta); color: var(--on-cta); }
.d3-btn--secondary { background: var(--brand-navy); color: var(--on-navy); }
.d3-btn--slate { background: var(--brand-slate); color: var(--on-navy); }
.d3-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
/* the big main-menu buttons of the till (PRODEJ / PROGRAMOVÁNÍ / UZÁVĚRKY) */
.d3-btn--pos {
  min-width: 320px; min-height: 72px; border-radius: var(--radius-sm);
  font-size: 30px; line-height: 36px; font-weight: 400; text-transform: uppercase;
}
.d3-btn--pos.d3-btn--primary { background: var(--brand-orange); color: var(--on-orange); }

.d3-chip {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 14px; line-height: 18px; letter-spacing: 2px; text-transform: uppercase;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-md);
  background: var(--cta); color: var(--on-cta);
}
.d3-chip--navy { background: var(--brand-navy); color: var(--on-navy); }

.d3-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1;
  background: var(--cta); color: var(--on-cta);
}
.d3-badge--done { background: var(--surface-fog); color: var(--ink); }
.d3-badge--todo { background: transparent; color: var(--ink-muted); box-shadow: inset 0 0 0 2px var(--line); }

.d3-tile {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 160px; height: 98px; padding: var(--space-2); border-radius: var(--radius-sm);
  font-family: var(--font-text); font-size: 20px; line-height: 1.25; color: var(--tile-ink);
}
.d3-tile--napoje { background: var(--tile-napoje); }
.d3-tile--dzusy { background: var(--tile-dzusy); }
.d3-tile--pivo { background: var(--tile-pivo); }
.d3-tile--whisky { background: var(--tile-whisky); }
.d3-tile--likery { background: var(--tile-likery); }
.d3-tile--koktejly { background: var(--tile-koktejly); }
.d3-tile--kuchyn { background: var(--tile-kuchyn); }
.d3-tile--kava { background: var(--tile-kava); }
.d3-tile--empty { background: var(--surface-fog); }
