html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  background: #f6f4ef;
  color: #1f2937;
}

a {
  color: #125b50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main.container {
  padding-bottom: 3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid #d1d5db;
  text-align: left;
}

form {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  padding: 0.5rem 0.75rem;
}

button {
  width: fit-content;
}

.validation-summary-errors,
span.field-validation-error {
  color: #b42318;
}

.admin-shell {
  background:
    linear-gradient(180deg, rgba(13, 71, 64, 0.08), rgba(13, 71, 64, 0) 220px),
    #f3efe6;
}

.admin-topbar {
  border-bottom: 1px solid #d6d3cb;
  background: rgba(255, 252, 246, 0.9);
  backdrop-filter: blur(8px);
}

.admin-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
}

.admin-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.admin-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.admin-utility-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-shell-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.admin-sidebar {
  display: grid;
  gap: 1rem;
  align-self: start;
}

.admin-sidebar-card,
.admin-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d6d3cb;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.admin-sidebar-card {
  padding: 1rem;
}

.admin-sidebar-heading {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.admin-sidebar-copy,
.admin-content-meta {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav-link {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
}

.admin-nav-link:hover {
  text-decoration: none;
  border-color: #c8d5d0;
  background: rgba(255, 255, 255, 0.9);
}

.admin-nav-link.is-active {
  background: #125b50;
  color: #fff9ef;
}

.admin-content {
  display: grid;
  gap: 1rem;
}

.admin-content-header {
  padding: 0.25rem 0.1rem;
}

.admin-panel {
  padding: 1.5rem;
}

@media (max-width: 991px) {
  .admin-shell-layout {
    grid-template-columns: 1fr;
  }
}
