/* =========================================================
   WIRTZ HUB · FOOTER
   Pie operativo · minimalista · responsive · dark safe
   Fuente base: ATF Franklin Gothic
   ========================================================= */

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  min-height: 30px;
  padding: 0 12px;

  border-top: 1px solid rgba(0, 0, 0, 0.14);
  background: color-mix(in srgb, var(--panel-solid) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: var(--muted);

  font-family:
    "ATF Franklin Gothic",
    "Franklin Gothic Medium",
    "Arial Narrow",
    Arial,
    sans-serif;

  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.01em;
  line-height: 1;

  animation: footerEnter 0.24s ease both;

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    min-height var(--transition),
    padding var(--transition);
}

html[data-theme="dark"] .app-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 8, 0.9);
  color: rgba(255, 255, 255, 0.52);
}

.app-footer span,
.app-footer a {
  min-width: 0;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-footer span:first-child {
  color: var(--text-strong);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

html[data-theme="dark"] .app-footer span:first-child {
  color: rgba(255, 255, 255, 0.88);
}

.app-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;

  color: inherit;
  text-align: right;
  text-decoration: none;

  opacity: 0.88;

  transition:
    opacity var(--transition),
    color var(--transition),
    transform var(--transition);
}

.app-footer a:hover {
  opacity: 1;
  color: var(--text-strong);
  transform: translateY(-1px);
}

html[data-theme="dark"] .app-footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .app-footer {
    gap: 8px;
    min-height: 29px;
    padding: 0 9px;

    font-size: 9px;
  }

  .app-footer span:first-child {
    max-width: 42vw;
  }

  .app-footer a {
    max-width: 54vw;
  }
}

@media (max-width: 360px) {
  .app-footer {
    min-height: 27px;
    padding: 0 7px;
    font-size: 8.5px;
  }

  .app-footer span:first-child {
    max-width: 38vw;
  }

  .app-footer a {
    max-width: 58vw;
  }
}

/* =========================================================
   ANIMACIÓN
   ========================================================= */

@keyframes footerEnter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-footer,
  .app-footer * {
    animation: none !important;
    transition: none !important;
  }
}/* =========================================================
   FOOTER · MISMA ESCALA VISUAL QUE TOPBAR Y SIDEBAR
   Agregar al FINAL de footer.css
   ========================================================= */

.app-footer {
  min-height: 42px !important;

  padding:
    0
    15px !important;

  gap: 12px !important;

  font-size: 12px !important;
  font-weight: 820 !important;
}

.app-footer span:first-child {
  font-size: 12.5px !important;
  font-weight: 950 !important;
  letter-spacing: 0.035em !important;
}

.app-footer a {
  font-size: 11.5px !important;
  font-weight: 850 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
  .app-footer {
    min-height: 38px !important;

    padding:
      0
      12px !important;

    font-size: 11px !important;
  }

  .app-footer span:first-child {
    font-size: 11.5px !important;
  }

  .app-footer a {
    font-size: 10.8px !important;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .app-footer {
    min-height: 36px !important;

    padding:
      0
      10px !important;

    font-size: 10.5px !important;
  }

  .app-footer span:first-child {
    max-width: 46vw !important;

    font-size: 10.8px !important;
  }

  .app-footer a {
    max-width: 50vw !important;

    font-size: 10px !important;
  }
}

@media (max-width: 360px) {
  .app-footer {
    min-height: 34px !important;

    padding:
      0
      8px !important;

    font-size: 10px !important;
  }

  .app-footer span:first-child {
    max-width: 42vw !important;

    font-size: 10.3px !important;
  }

  .app-footer a {
    max-width: 54vw !important;

    font-size: 9.6px !important;
  }
}