/* app/css/62-patterns.css — estratto da app.css (2026-07, split senza build). */
/* === Patterns semantici =====================================
   Composite reusabili che evitano "utility soup" nei template. */

/* Brand SVG logo wrap (header) */
.brand-logo-wrap { display: flex; align-items: center; height: 38px; flex-shrink: 0; }
.brand-logo-img { height: 22px; width: auto; display: block; }
.brand-miele-img { height: 14px; width: auto; display: block; }

/* Lab switch action chevron CTA (es. "Cambia >") */
.lab-switch-cta {
  display: flex; align-items: center; gap: 4px;
  color: var(--brand); font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
/* il chevron segue il colore brand della CTA (vince su .lab-switch .chev = ink-3) */
.lab-switch-cta .chev { color: inherit; }

/* Hint annotativo sotto le sub-pages (es. Listino) */
.page-hint {
  padding: 14px 18px 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Listino tabella prezzi (riusato da public.html + listino.html) */
.listino-table {
  margin: 14px 18px 0;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.listino-table--inline-public {
  margin: 10px 18px 0;
}
.listino-table .listino-head {
  padding: 14px 16px;
  border-bottom: 1.5px solid var(--line);
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.listino-table .listino-row {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.listino-table .listino-row:last-child { border-bottom: 0; }
.listino-table .listino-empty {
  padding: 18px 16px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.listino-col-machine {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.listino-col-price {
  width: 70px;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.listino-col-card {
  width: 80px;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.listino-col-card--tight { line-height: 1.2; }
/* row body cells */
.listino-row .row-machine {
  flex: 1;
  font-size: 14px;
  color: var(--ink);
}
.listino-row .row-machine--bold {
  font-weight: 600;
  line-height: 1.3;
}
.listino-row .row-price {
  width: 70px;
  text-align: right;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 600;
}
.listino-row .row-price--strong {
  color: var(--ink);
  font-weight: 700;
}
.listino-row .row-card {
  width: 80px;
  text-align: right;
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}
.listino-row .row-card--xbold { font-weight: 800; }

/* Pill badge "X libere su Y" inline al section-title (public.html) */
.libere-pill {
  color: var(--ok-text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 700;
}

/* CTA login persuasivo (public.html) — gradient brand card */
.login-cta-card {
  margin: 24px 18px 0;
  padding: 22px 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(182, 17, 45, 0.22);
}
.login-cta-card .cta-eyebrow {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.login-cta-card .cta-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
  line-height: 1.2;
}
.login-cta-card .cta-bullets {
  font-size: 13px;
  opacity: 0.95;
  line-height: 1.7;
  margin-top: 12px;
  list-style: none;
  padding: 0;
}
.login-cta-card .cta-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  color: var(--brand);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

/* Header icon "Accedi" red (public.html) */
.icon-btn--brand { background: var(--brand); color: #fff; }
.icon-btn--brand:active { background: var(--brand-hover); }

/* Lab switch button reset (button used as div wrapper) */
.btn-reset-row {
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 0;
}

/* Stat box gradient brand (es. nuovo saldo Satispay success) */
.stat-brand-box {
  width: 100%;
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 16px;
  text-align: center;
}
.stat-brand-box .sb-eyebrow {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-brand-box .sb-value {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
}
.stat-brand-box .sb-place {
  font-size: 13px;
  opacity: 0.95;
  font-weight: 600;
}

/* Pulsanti-link centrati (Satispay success "Vai al tab Card") */
.btn-link-stack {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-link-center {
  margin: 0;
  display: block;
  text-align: center;
  text-decoration: none;
}

/* Centered hero block (Satispay step 3) */
.hero-center-block {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  justify-content: center;
}
.hero-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 28px;
  text-align: center;
}
.hero-subtitle {
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
  max-width: 280px;
}
.btn-primary--narrow {
  margin-top: 32px;
  max-width: 240px;
}

/* Padding wrapper riusato */
.pad-18 { padding: 18px; }

/* Satispay - hint sub */
.satispay-hint {
  padding: 0 18px 4px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

