/* ==========================================================================
   The download-app offer: the timed sheet (components/sheets/download-app-sheet.blade.php), the
   coupon and store buttons (components/app-offer.blade.php) and the sheet's header. Loaded by the
   pages that draw them: the unit page and the download-app page.

   Load order: design.css → shared.css → this file
   ========================================================================== */

/* ── The sheet's header and the offer ────────────────────────────────────────────────────────
   A branded header, a coupon-style offer card that overlaps it, and store buttons. */
.app-sheet .sheet-handle { display: none; }
.app-sheet-hero {
  position: relative; flex-shrink: 0; text-align: center; color: #fff;
  padding: 26px 22px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #053D55 55%, #085476 100%);
}
.app-sheet-close { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(255,255,255,.16); color: #fff; border: 0; }
.app-sheet-close:hover { background: rgba(255,255,255,.28); }
.app-sheet-logo { display: block; margin: 0 auto 12px; border-radius: 18px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.app-sheet-title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; line-height: 1.4; color: var(--color-surface); }
.app-sheet-sub { margin: 0; font-size: .92rem; color: rgba(255,255,255,.78); }
.app-sheet-body { text-align: center; }
.app-sheet-ticket {
  position: relative; margin: 0 4px 0; background: var(--color-surface);
  border-radius: 16px; box-shadow: 0 10px 30px rgba(2,40,50,.16); overflow: hidden;
}
.app-sheet-offer { padding: 18px 18px 14px; font-size: 1rem; line-height: 1.7; color: var(--color-text-primary); }
.app-sheet-offer b { display: block; font-size: 2rem; line-height: 1.2; font-weight: 900; color: var(--color-accent); }
.app-sheet-code {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; border-top: 2px dashed var(--color-border); background: rgba(233,90,44,.05);
}
/* The coupon's two notches, cut into the dashed line from both sides. */
.app-sheet-code::before, .app-sheet-code::after {
  content: ''; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-border);
}
.app-sheet-code::before { inset-inline-start: -9px; }
.app-sheet-code::after { inset-inline-end: -9px; }
.app-sheet-code-text small { color: var(--color-text-secondary); margin-inline-end: 4px; }
.app-sheet-code-text strong { letter-spacing: .08em; font-size: 1.05rem; }
.app-sheet-copy { border: 0; border-radius: 8px; background: var(--color-accent); color: #fff; padding: 6px 16px; font-weight: 700; font-size: .9rem; cursor: pointer; }
.app-sheet-stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.app-store-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 150px;
  background: #111; color: #fff; border-radius: 12px; padding: 11px 16px;
  font-weight: 700; text-decoration: none; transition: background .15s, transform .15s;
}
.app-store-btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
.app-store-btn i { font-size: 1.3rem; }
.app-store-btn--wide { flex-basis: 100%; background: var(--color-accent); }
.app-store-btn--wide:hover { background: var(--color-cta); }
.app-sheet-dismiss { background: none; border: 0; color: var(--color-text-secondary); text-decoration: underline; cursor: pointer; font-size: .92rem; padding: 6px; }
