:root {
  --brand: #6d4aff;
  --sidebar-bg: #17181f;
  --content-bg: #f4f5f8;
}
body { background: var(--content-bg); color: #212529; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; flex-shrink: 0; background: var(--sidebar-bg); color: #cfd2dc;
  display: flex; flex-direction: column; padding: 1rem 0;
}
.sidebar .brand {
  color: #fff; font-weight: 700; font-size: 1.25rem; padding: 0 1.25rem 1rem;
  display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: .75rem;
}
.sidebar .brand i { color: var(--brand); }
.nav-group-title { font-size: .7rem; letter-spacing: .06em; color: #7d8093; padding: .5rem 1.25rem; }
.sidebar .nav-link {
  color: #cfd2dc; padding: .55rem 1.25rem; font-size: .9rem; display: flex; align-items: center; gap: .6rem;
  border-left: 3px solid transparent;
}
.sidebar .nav-link i { width: 1.1rem; text-align: center; color: #9295a8; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.sidebar .nav-link.active { background: rgba(109,74,255,.15); color: #fff; border-left-color: var(--brand); font-weight: 600; }
.sidebar .nav-link.active i { color: var(--brand); }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { background: #fff; border-bottom: 1px solid #e9ecef; padding: .6rem 1.5rem; display: flex; }
.content { padding: 1.5rem; }
.demo-banner {
  background: #fff3cd; border: 1px solid #ffe69c; color: #664d03; padding: .6rem 1rem; border-radius: .5rem;
  margin-bottom: 1rem; font-size: .85rem;
}
.card { border: 1px solid #e9ecef; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.cta-primary { background: var(--brand); color: #fff; }
.cta-primary .btn-light { color: var(--brand); font-weight: 600; }
.map-placeholder {
  border: 2px dashed #ced4da; border-radius: .5rem; background: #f8f9fa; color: #868e96;
  display: flex; align-items: center; justify-content: center; height: 180px; text-align: center; padding: 1rem;
}
table.table thead th { font-size: .72rem; letter-spacing: .04em; color: #868e96; text-transform: uppercase; border-bottom-width: 1px; }
.badge.fs-6 { font-size: .95rem !important; }

/* ===== Khung công khai cho DOANH NGHIỆP (không sidebar quản trị) ===== */
body.public-page { background: #f4f5f8; }
.public-nav {
  background: var(--sidebar-bg); color: #fff; padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.public-brand { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.public-brand i { color: var(--brand); }
.public-nav-link { color: #cfd2dc; text-decoration: none; font-size: .9rem; }
.public-nav-link:hover { color: #fff; }
.public-content { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.public-hero h2 { color: #1a1a2e; }
.public-footer { text-align: center; color: #868e96; font-size: .8rem; padding: 1.5rem; border-top: 1px solid #e9ecef; }

.wizard-steps { display: flex; justify-content: space-between; gap: .5rem; }
.wizard-step {
  flex: 1; text-align: center; font-size: .8rem; color: #adb5bd; position: relative; padding-top: 2.4rem;
}
.wizard-step-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2rem; height: 2rem; border-radius: 50%; background: #e9ecef; color: #868e96;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
}
.wizard-step.active { color: #1a1a2e; font-weight: 600; }
.wizard-step.active .wizard-step-num { background: var(--brand); color: #fff; }
.wizard-step.done .wizard-step-num { background: #2f9e44; color: #fff; }

.mini-preview-card {
  border: 1px dashed #ced4da; border-radius: .5rem; padding: 1rem; display: flex; gap: .75rem; align-items: flex-start;
  background: #fff; height: 100%;
}
.mini-preview-card i { color: var(--brand); font-size: 1.3rem; margin-top: .1rem; }

.timeline { display: flex; flex-direction: column; gap: 1.1rem; }
.timeline-item { display: flex; gap: .9rem; align-items: flex-start; color: #adb5bd; }
.timeline-dot {
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #e9ecef; color: #868e96;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .8rem;
}
.timeline-item.done { color: #212529; }
.timeline-item.done .timeline-dot { background: #2f9e44; color: #fff; }
.timeline-item.active { color: #1a1a2e; }
.timeline-item.active .timeline-dot { background: var(--brand); color: #fff; }
