/* Kundenanzeige (#79) — Pages/CustomerDisplay.razor, Components/Display/*. Zweites Tablet, zum Kunden gedreht:
   aus 1–2 m lesbar, ruhige Flächen, keine Bedienelemente außer beim Koppeln. Präfix anz-; Farben aus kasse.css. */
.anz-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--kasse-ink);
    font-size: 22px;
    position: relative;
}

.anz-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: var(--kasse-bg); }
.anz-center > p { color: var(--kasse-muted); }

.anz-offline {
    position: absolute;
    right: 16px;
    bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(178, 106, 0, 0.12);
    color: var(--kasse-warn);
    font-size: 15px;
}

.anz-qr { display: block; width: 220px; height: 220px; image-rendering: pixelated; margin: 12px auto 0; }

/* Ruhe */
.anz-idle { flex: 1; display: flex; flex-direction: column; padding: 32px 40px; gap: 24px; }
.anz-idle-head h1 { margin: 0; font-size: 44px; }
.anz-idle-head p { margin: 4px 0 0; color: var(--kasse-muted); font-size: 24px; }
.anz-idle-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.anz-idle-body--solo { grid-template-columns: minmax(0, 1fr); }
.anz-highlights { display: grid; gap: 20px; }
.anz-highlight {
    display: flex;
    gap: 20px;
    padding: 16px;
    border-radius: 18px;
    background: var(--kasse-bg);
    align-items: center;
}
.anz-highlight-img { width: 180px; height: 135px; object-fit: cover; border-radius: 12px; flex: none; }
.anz-highlight-text h2 { margin: 4px 0; font-size: 30px; }
.anz-highlight-text p { margin: 0; color: var(--kasse-muted); line-height: 1.4; }
.anz-highlight-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--kasse-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.anz-welcome { display: flex; align-items: center; justify-content: center; min-height: 240px; font-size: 32px; color: var(--kasse-muted); }
.anz-order { padding: 24px; border-radius: 18px; border: 2px solid #e3e8f2; text-align: center; }
.anz-order h2 { margin: 0 0 8px; font-size: 28px; }
.anz-order p { margin: 0; color: var(--kasse-muted); font-size: 18px; line-height: 1.4; }

/* Verkauf und Zahlung */
.anz-sale { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; min-height: 100vh; }
.anz-lines { padding: 28px 32px; overflow: hidden; }
.anz-customer { margin: 0 0 12px; font-size: 26px; font-weight: 700; }
.anz-lines ul { list-style: none; margin: 0; padding: 0; }
.anz-line { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #e3e8f2; font-size: 26px; }
.anz-line:first-child { font-weight: 700; }
.anz-line-qty { min-width: 70px; color: var(--kasse-muted); text-align: right; }
.anz-line-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.anz-line-total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.anz-sums { padding: 28px 32px; background: var(--kasse-ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.anz-sums dl { margin: 0; display: grid; gap: 4px; }
.anz-sums dt { font-size: 22px; opacity: 0.75; margin-top: 16px; }
.anz-sums dd { margin: 0; font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.anz-sums .anz-big { font-size: 64px; }
.anz-sums .anz-count { margin-top: 4px; }
.anz-sale--payment .anz-sums { background: var(--kasse-primary); }
.anz-change { color: #b9f6ca; }

/* Bezahlt */
.anz-done { flex: 1; display: flex; align-items: center; justify-content: center; gap: 48px; padding: 32px; flex-wrap: wrap; }
.anz-done-main h1 { margin: 0 0 16px; font-size: 56px; color: var(--kasse-ok); }
.anz-done-main dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 8px 24px; font-size: 32px; }
.anz-done-main dt { color: var(--kasse-muted); }
.anz-done-main dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.anz-done-main .anz-change { color: var(--kasse-ok); }

/* Hochformat-Tablet: Summe unten, Aktionen untereinander */
@media (orientation: portrait), (max-width: 900px) {
    .anz-sale { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .anz-idle-body { grid-template-columns: 1fr; }
    .anz-idle { padding: 24px 16px; }
    .anz-highlight-img { width: 120px; height: 90px; }
}
