/* i-Spaza web app shell — phone frame matching the Android app */
html, body {
  margin: 0; padding: 0; height: 100%;
  background: #052e16;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f1f5f9;
}
.iz-root {
  min-height: 100%;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 212, 191, .22), transparent 50%),
    linear-gradient(160deg, #052e16 0%, #0f172a 55%, #134e4a 100%);
}
.iz-phone {
  width: min(430px, 100vw);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.iz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  position: sticky;
  top: 0;
  z-index: 20;
}
.iz-brand { display: flex; align-items: center; gap: .55rem; color: inherit; text-decoration: none; }
.iz-brand img { height: 40px; width: 40px; object-fit: contain; background: transparent; }
.iz-brand strong { display: block; font-size: .95rem; }
.iz-brand span { display: block; font-size: .72rem; color: #94a3b8; }
.iz-icon {
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, .35);
  background: rgba(20, 28, 43, .8); color: #2dd4bf;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer; font-size: 1rem;
}
.iz-body { flex: 1; overflow: auto; padding: 0 0 92px; }
.iz-pane { display: none; padding: .25rem 1rem 1rem; }
.iz-pane.on { display: block; }
.iz-bottom {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0;
  width: min(430px, 100vw);
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: .4rem .25rem calc(.45rem + env(safe-area-inset-bottom));
  background: rgba(5, 16, 12, .94);
  border-top: 1px solid rgba(45, 212, 191, .22);
  z-index: 30;
}
.iz-tab {
  border: 0; background: transparent; color: #94a3b8;
  padding: .35rem .1rem; border-radius: 12px;
  font-size: .68rem; font-weight: 700; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
}
.iz-tab .ico { font-size: 1.15rem; line-height: 1; }
.iz-tab.on { color: #2dd4bf; background: rgba(45, 212, 191, .1); }
.iz-hero { margin: .2rem 0 .9rem; }
.iz-hero .emo { font-size: 2.2rem; }
.iz-hero h1 { margin: .15rem 0 .25rem; font-size: 1.45rem; }
.iz-hero p, .iz-card p, .meta { color: #94a3b8; font-size: .86rem; line-height: 1.4; margin: .2rem 0; }
.iz-card {
  background: #141c2b;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 16px;
  padding: .9rem 1rem;
  margin: 0 0 .7rem;
}
.iz-card h3 { margin: 0 0 .35rem; font-size: 1rem; }
.iz-action {
  width: 100%; text-align: left; cursor: pointer;
  display: block; color: inherit; text-decoration: none;
}
.iz-action strong { display: block; }
.iz-btn, .iz-input, .iz-file {
  width: 100%; box-sizing: border-box;
  border-radius: 14px; font-size: 1rem;
}
.iz-btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: .55rem; padding: .75rem 1rem; font-weight: 700;
  border: 1px solid rgba(45, 212, 191, .35);
  background: linear-gradient(135deg, #0f766e, #134e4a);
  color: #ecfeff; text-decoration: none; cursor: pointer;
}
.iz-btn.ghost { background: transparent; color: #f1f5f9; }
.iz-btn.amber { background: linear-gradient(135deg, #92400e, #b45309); border-color: rgba(251, 191, 36, .45); color: #fff7ed; }
.iz-input, .iz-file {
  margin-top: .35rem; padding: .7rem .75rem;
  border: 1px solid rgba(148, 163, 184, .25);
  background: #0b1220; color: #f1f5f9;
}
.iz-gate { padding: 2rem 1.2rem 1rem; }
.iz-gate h2 { margin: .4rem 0; }
.iz-prod {
  display: grid; grid-template-columns: 64px 1fr; gap: .65rem; align-items: center;
}
.iz-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: #0b1220; }
.iz-check { margin: .2rem 0; }
.iz-msg { color: #fbbf24; min-height: 1.1em; }
.iz-msg.bad { color: #f87171; }
.hidden { display: none !important; }
