html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
}

body {
  background-color: #f5f6f8;
}

/* ---- Branding ---- */
.ascot-navbar {
  background: linear-gradient(135deg, #1b3a2d 0%, #28543f 100%);
}

.brand-badge {
  display: inline-block;
  background: #c8a44d;
  color: #1b3a2d;
  font-weight: 800;
  border-radius: 6px;
  padding: 1px 7px;
  margin-right: 4px;
  letter-spacing: 0.5px;
}

.public-main {
  max-width: 860px;
}

.footer {
  border-top: 1px solid #e2e4e8;
  background: #fff;
}

/* ---- Status badges ---- */
.badge-status {
  display: inline-block;
  padding: 0.35em 0.7em;
  font-size: 0.82em;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  color: #fff;
}

.badge-status-grey     { background-color: #8b939e; }
.badge-status-red      { background-color: #d64545; }
.badge-status-amber    { background-color: #e8a118; color: #3c2f04; }
.badge-status-blue     { background-color: #2f6fd6; }
.badge-status-purple   { background-color: #7b4fc9; }
.badge-status-green    { background-color: #2e9e5b; }
.badge-status-orange   { background-color: #ec7423; }
.badge-status-darkgrey { background-color: #4a4f57; }

/* ---- Summary cards ---- */
.summary-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(20, 30, 40, 0.08);
}

.summary-card .card-body {
  padding: 0.9rem 1rem;
}

.summary-card .stat-value {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.summary-card .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6c757d;
}

.summary-card.accent-left {
  border-left: 5px solid var(--accent, #8b939e);
}

/* ---- Public outlet search ---- */
.outlet-search-input {
  font-size: 1.15rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.outlet-list .list-group-item {
  padding: 0.85rem 1rem;
}

.outlet-list .outlet-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.outlet-list .outlet-site {
  color: #6c757d;
  font-size: 0.85rem;
}

/* ---- Big public action buttons ---- */
.action-tile {
  display: block;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 1px 3px rgba(20, 30, 40, 0.15);
}

.action-tile small {
  display: block;
  font-weight: 400;
  opacity: 0.85;
  font-size: 0.85rem;
}

.action-tile:hover { color: #fff; filter: brightness(1.07); }
.action-tile-issue   { background: #d64545; }
.action-tile-install { background: #2f6fd6; }
.action-tile-test    { background: #2e9e5b; }

/* ---- Checklist yes/no rows on mobile ---- */
.check-row {
  background: #fff;
  border: 1px solid #e2e4e8;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
}

.check-row .form-check-inline { margin-right: 1.25rem; }

.check-row legend, .check-row .check-label {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* ---- Tables ---- */
.table-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(20, 30, 40, 0.08);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.table-card h5 { margin-bottom: 0.75rem; }

.progress { height: 0.85rem; border-radius: 999px; }

@media (max-width: 575.98px) {
  .summary-card .stat-value { font-size: 1.35rem; }
}
