:root {
  --tt-accent: #0f766e;
  /* V6TAUTAN_THEME — versi lebih gelap dihitung otomatis dari --tt-accent,
     supaya ikut berubah saat Warna Utama diganti lewat panel admin. */
  --tt-accent-dark: color-mix(in srgb, var(--tt-accent) 78%, black);
  --tt-ink: #0f172a;
  --tt-muted: #64748b;
  --tt-bg: #f4f6f8;
  --tt-card: #ffffff;
  --tt-border: #e2e8f0;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--tt-bg); }

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tt-ink);
}

.tt-boot { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.tt-boot-inner { text-align: center; color: var(--tt-muted); }
.tt-boot-spinner {
  display: inline-block; width: 28px; height: 28px; margin-bottom: 10px;
  border: 3px solid var(--tt-border); border-top-color: var(--tt-accent);
  border-radius: 50%; animation: tt-spin 0.8s linear infinite;
}
@keyframes tt-spin { to { transform: rotate(360deg); } }

.tt-wrap {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--tt-accent) 0%, var(--tt-accent) 140px, var(--tt-bg) 140px);
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 16px 48px;
}

.tt-card {
  width: 100%; max-width: 420px;
  background: var(--tt-card);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 28px 24px 24px;
  text-align: center;
}

/* V6TAUTAN_GROUP_LOGO — badge kecil logo grup usaha, di atas kartu toko.
   margin-bottom dibuat cukup besar (bukan 12px) supaya logo cabang di
   dalam kartu (yang "mengintip" ke atas lewat margin negatif pada
   .tt-logo) tidak menimpa baris logo+nama grup ini. Lihat perhitungan
   di .tt-logo di bawah sebelum mengubah salah satu nilai ini. */
.tt-group-header {
  width: 100%; max-width: 420px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 60px;
}
.tt-group-header img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.tt-group-header span { color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 700; letter-spacing: 0.2px; }

/* margin-top negatif membuat logo cabang "mengintip" ke atas, menimpa
   batas antara pita warna dan kartu putih. Jika ini diubah, cek juga
   margin-bottom .tt-group-header di atas supaya keduanya tidak tumpang
   tindih lagi. */
.tt-logo {
  width: 84px; height: 84px; border-radius: 50%;
  margin: -68px auto 14px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  display: block;
}

.tt-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 26px; color: #fff;
  background: var(--tt-accent-dark);
  letter-spacing: 0.5px;
}

h1 { font-size: 20px; margin: 0 0 4px; }

.tt-tagline { color: var(--tt-muted); font-size: 14px; margin: 0 0 4px; line-height: 1.45; }

.tt-hours {
  display: inline-block; margin-top: 8px; font-size: 13px; color: var(--tt-accent-dark);
  background: #e6f4f2; border-radius: 999px; padding: 3px 12px; font-weight: 600;
}

.tt-links { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

.tt-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--tt-border); color: var(--tt-ink); background: #fff;
}
.tt-btn:active { transform: scale(0.98); }
.tt-btn-icon svg { display: block; width: 22px; height: 22px; }
.tt-btn-label { flex: 1; text-align: left; }
.tt-btn-arrow { color: var(--tt-muted); }

.tt-btn-primary { background: var(--tt-accent); border-color: var(--tt-accent); color: #fff; }
.tt-btn-primary .tt-btn-arrow { color: rgba(255,255,255,0.8); }

.tt-footer { text-align: center; color: rgba(255,255,255,0.85); font-size: 12px; margin-top: 22px; }
.tt-footer a { color: #fff; }
