/* Tema değişkenleri: tasarımcı çıktısı geldiğinde yalnızca bu blok değişir (şartname 10, görsel tasarım). */
:root {
  --mhc-primary: #c2410c;
  --mhc-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--mhc-font);
}

.mhc-brand {
  font-weight: 700;
  color: var(--mhc-primary);
  font-size: 1.25rem;
}

/* Dokunma alanları en az 44 px (şartname 8.3). */
.btn {
  min-height: 44px;
}

.mhc-narrow {
  max-width: 28rem;
}

.mhc-map {
  height: 320px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}

/* Panel alt navigasyonu (şartname 7.2): mobilde ekranın altında sabit. */
.mhc-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  background: #fff;
  border-top: 1px solid #dee2e6;
  padding-bottom: env(safe-area-inset-bottom);
}

.mhc-bottom-nav a,
.mhc-bottom-nav span {
  flex: 1 1 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--mhc-primary);
  text-align: center;
}

.mhc-bottom-nav .mhc-bottom-nav-disabled {
  color: #adb5bd;
}

body:has(.mhc-bottom-nav) main {
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .mhc-bottom-nav {
    display: none;
  }
}

/* Okut ekranı */
.mhc-scan-video {
  width: 100%;
  max-height: 60vh;
  border-radius: 0.5rem;
  background: #000;
  object-fit: cover;
}

.mhc-big-ok {
  font-size: 1.75rem;
  font-weight: 700;
  color: #198754;
  text-align: center;
}

/* Müşteri cüzdanı: QR beyaz zemin üzerinde büyük (şartname 7.3). */
.mhc-wallet-qr {
  background: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #dee2e6;
  max-width: 20rem;
  margin: 0 auto;
}

.mhc-wallet-qr img {
  width: 100%;
  height: auto;
  display: block;
}

.mhc-stamp-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.mhc-stamp-dots span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--mhc-primary);
}

.mhc-stamp-dots span.is-full {
  background: var(--mhc-primary);
}

/* Erişilebilirlik (şartname 8.3): form alanları, liste bağlantıları ve onay kutusu etiketleri de en az 44 px. */
.form-control,
.form-select,
.list-group-item-action {
  min-height: 44px;
}

.form-check-label {
  padding: 0.55rem 0;
}

.mhc-prewrap {
  white-space: pre-line;
}

.mhc-ios-icon {
  vertical-align: middle;
  margin-right: 0.25rem;
}
