/* ============================================================
   COMPONENT: app-footer
   BEM Block: .app-footer
   ============================================================ */

/* ---- Block ---- */
.app-footer {
  width: 100%;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

/* ---- Element: inner wrapper (mirrors header width) ---- */
.app-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-5) var(--container-pad-x);
  text-align: center;
}

@media (min-width: 640px) {
  .app-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-inline: var(--space-6);
  }
}

/* ---- Element: copyright text ---- */
.app-footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---- Element: credit line ---- */
.app-footer__credit {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---- Element: brand name highlight ---- */
.app-footer__brand {
  font-weight: var(--font-semibold);
  color: var(--color-brand);
}
