:root {
  --apro-navy: #1f4e79;
  --apro-navy-dark: #163a5a;
  --apro-bg: #f4f6f8;
}

body {
  background: var(--apro-bg);
  min-height: 100vh;
}

.app-navbar {
  background: var(--apro-navy);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  max-width: min(42rem, 70vw);
  white-space: normal;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 400;
}

.card {
  border: 0;
  box-shadow: 0 1px 2px rgba(15, 35, 52, 0.08);
}

.stat-card .display-6 {
  font-weight: 600;
}

.row-completed,
.row-completed > td {
  background-color: #d1e7dd !important;
}

.row-accepted,
.row-accepted > td {
  background-color: #81c784 !important;
}

.card-completed {
  border: 2px solid #75b798;
  box-shadow: 0 0 0 1px rgba(25, 135, 84, 0.18);
}

.card-completed .card-header {
  background-color: #d1e7dd;
}

.card-accepted {
  border: 2px solid #1b5e20;
  box-shadow: 0 0 0 1px rgba(27, 94, 32, 0.28);
}

.card-accepted .card-header {
  background-color: #81c784;
  color: #0a3622;
}

.markdown-body p:last-child {
  margin-bottom: 0;
}

.markdown-body img {
  max-width: 100%;
  height: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  margin: 0.5rem 0;
}

.description-editor {
  min-height: 10rem;
  font-family: inherit;
}

.description-editor-dragover {
  outline: 2px dashed var(--apro-navy);
  outline-offset: 2px;
  background-color: #eef4fa;
}

.app-footer {
  font-size: 0.75rem;
  color: #6c757d;
  padding: 0 1rem 1.25rem;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-indicator.htmx-request {
  display: inline;
}

.btn-primary {
  background-color: var(--apro-navy);
  border-color: var(--apro-navy);
}

.btn-primary:hover {
  background-color: var(--apro-navy-dark);
  border-color: var(--apro-navy-dark);
}
