/* Minimal additions on top of Bootstrap */
:root { --cms-radius: 14px; }
.card, .btn, .form-control, .form-select, .alert { border-radius: var(--cms-radius); }
.navbar-brand { font-weight: 700; letter-spacing: .2px; }

/* -----------------------------
   Admin: mobile-app look & feel
------------------------------ */
.admin-body { overflow-x: hidden; }
.admin-shell { min-height: calc(100vh - 56px); }
.admin-topbar .navbar-brand { font-weight: 700; letter-spacing: .2px; }
.brand-dot { width: 10px; height: 10px; border-radius: 999px; background: #111; display:inline-block; }
.admin-hamburger,
.cms-hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-width: 2px;
}

/* High-contrast hamburger icon (thicker than Bootstrap's default) */
.hamburger-lines {
  width: 22px;
  height: 16px;
  display: inline-block;
  background:
    linear-gradient(currentColor 0 0) 0 0/100% 3px,
    linear-gradient(currentColor 0 0) 0 50%/100% 3px,
    linear-gradient(currentColor 0 0) 0 100%/100% 3px;
  background-repeat: no-repeat;
  border-radius: 2px;
}

/* Make the admin hamburger higher contrast on light topbar */
.admin-topbar .admin-hamburger {
  color: #111;
  border-color: #111;
}
.admin-topbar .admin-hamburger:hover {
  background: rgba(0,0,0,.06);
}

/* Front offcanvas nav: keep links high-contrast */
#siteNav .nav-link {
  color: rgba(255,255,255,.92);
}
#siteNav .nav-link:hover,
#siteNav .nav-link:focus {
  color: #fff;
}
.admin-sidebar { width: 290px; }
.admin-sidebar .list-group-item { border-left: 0; border-right: 0; padding: 14px 16px; }
.admin-sidebar .list-group-item.active { background: #111; border-color: #111; color: #fff; }
.admin-sidebar .list-group-item.active .nav-ic { filter: brightness(10); }
.nav-ic { width: 22px; text-align:center; }
.admin-main { max-width: 1100px; }
.admin-header { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom: 14px; flex-wrap: wrap; }
.card { border-radius: 16px; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
code { background: rgba(0,0,0,.05); padding: 2px 6px; border-radius: 8px; }

@media (max-width: 576px) {
  .admin-main { padding-left: 12px !important; padding-right: 12px !important; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .w-sm-auto { width: 100% !important; } /* fallback; corrected below */
}
@media (min-width: 576px) {
  .w-sm-auto { width: auto !important; }
}
