/* =========================================================
   TRALLALERO TRAVEL — installa.css (solo per installa.html)
   Pagina di installazione dell'app: stessa palette del brand,
   file indipendente per non mischiare stili con index/app.
   ========================================================= */

:root {
  --ink: #142330;
  --ink-70: rgba(20, 35, 48, 0.7);
  --ink-45: rgba(20, 35, 48, 0.45);
  --ocean: #1878A8;
  --ocean-dark: #125D82;
  --tan: #A8824C;
  --sand: #FBF2E4;
  --cloud: #FFFFFF;
  --coral: #DD5A3A;
  --coral-dark: #B8432A;
  --line: rgba(20, 35, 48, 0.12);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
  --radius-m: 20px;
  --radius-l: 28px;
  --shadow-card: 0 20px 44px -18px rgba(20, 35, 48, 0.25);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: var(--font-display); margin: 0 0 0.4em; font-weight: 700; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.install-header { text-align: center; margin-bottom: 32px; }
.install-logo { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; box-shadow: var(--shadow-card); }
.install-header p { color: var(--ink-70); }

.card {
  background: var(--cloud);
  border-radius: var(--radius-l);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}

.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-icon { font-size: 1.3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  background: var(--ocean);
  color: var(--cloud);
  box-shadow: 0 6px 0 var(--ocean-dark);
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ocean-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }

.qr-box {
  background: var(--cloud);
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.qr-box svg { width: 220px; height: 220px; }

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sand);
  color: var(--ink-70);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.muted { color: var(--ink-45); font-size: 0.92rem; }

.back-home { display: block; text-align: center; margin-top: 28px; color: var(--ink-70); text-decoration: none; font-size: 0.9rem; }
.back-home:hover { text-decoration: underline; }

#installStatus { margin-top: 14px; font-size: 0.9rem; color: var(--ocean-dark); font-weight: 600; }
