/* Central stylesheet. No inline styling is allowed in templates. */
.site-header,
.site-footer,
.site-nav,
.page-shell {
  padding: 1rem;
}

.page-shell {
  max-width: 960px;
  margin: 0 auto;
}

/* NONNETJIE_APP_SHELL_START */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(211, 167, 95, 0.22);
  background: rgba(7, 9, 12, 0.88);
  backdrop-filter: blur(14px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tagline {
  color: var(--nonnetjie-muted);
  font-size: 0.82rem;
}

.owl-shield {
  position: relative;
  width: 46px;
  height: 52px;
  border: 1px solid rgba(211, 167, 95, 0.78);
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(circle at 50% 28%, rgba(242, 234, 216, 0.22), transparent 1.8rem),
    linear-gradient(145deg, #101820, #222d36);
  box-shadow: 0 0 0 3px rgba(184, 137, 69, 0.08), 0 16px 28px rgba(0, 0, 0, 0.35);
}

.owl-shield::before,
.owl-shield::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 19px;
  height: 26px;
  border-radius: 60% 60% 70% 70%;
  border: 1px solid rgba(242, 234, 216, 0.42);
}

.owl-shield::before {
  left: 5px;
  transform: rotate(-22deg);
}

.owl-shield::after {
  right: 5px;
  transform: rotate(22deg);
}

.owl-eye {
  position: absolute;
  top: 24px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nonnetjie-brass);
  box-shadow: 0 0 10px rgba(211, 167, 95, 0.8);
  z-index: 2;
}

.owl-eye-left {
  left: 16px;
}

.owl-eye-right {
  right: 16px;
}

.environment-pill {
  border: 1px solid rgba(211, 167, 95, 0.42);
  color: var(--nonnetjie-brass);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem 1.4rem;
  background: rgba(17, 24, 32, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--nonnetjie-muted);
  font-size: 0.88rem;
}

.site-nav a:hover {
  color: var(--nonnetjie-cream);
  background: rgba(211, 167, 95, 0.12);
}

.page-shell {
  max-width: 1180px;
  padding: 1.5rem;
}

.site-footer {
  color: var(--nonnetjie-muted);
  padding: 1.5rem;
}
/* NONNETJIE_APP_SHELL_END */

/* NONNIE_APPLICATION_FOOTER_START */

.site-footer{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.75rem;
    border-top:1px solid rgba(211,167,95,.20);
}

.site-footer strong{
    color:var(--nonnetjie-cream);
}

.site-footer span{
    color:var(--nonnetjie-muted);
}

/* NONNIE_APPLICATION_FOOTER_END */


/* NONNIE_RULES_CURRENT_APPROVED_LAYOUT_FIX_START */
#current-approved-rules {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

#current-approved-rules .dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#current-approved-rules .table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

#current-approved-rules table {
  min-width: 900px;
}

.command-layout {
  align-items: start;
}
/* NONNIE_RULES_CURRENT_APPROVED_LAYOUT_FIX_END */
