.dashboard-footer {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;

  width: calc(100% - 32px);
  max-width: 1500px;
  min-height: 74px;

  margin: 34px auto 18px;
  padding: 15px 20px;

  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(200, 121, 65, 0.055),
      rgba(255, 255, 255, 0.018)
    ),
    var(--panel, #171a22);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.16);
  color: var(--muted, #969ca8);
  font-size: 11px;
}

.app-shell ~ .dashboard-footer {
  width: calc(100% - 292px);
  margin-left: 276px;
  margin-right: 16px;
}

.dashboard-footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.dashboard-footer__logo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;

  width: 38px;
  height: 38px;

  border: 1px solid rgba(200, 121, 65, 0.2);
  border-radius: 11px;

  background: rgba(200, 121, 65, 0.09);
  font-size: 18px;
}

.dashboard-footer__brand-text {
  min-width: 0;
}

.dashboard-footer__brand-text strong,
.dashboard-footer__brand-text span {
  display: block;
}

.dashboard-footer__brand-text strong {
  overflow: hidden;
  color: var(--text, #f2f3f5);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-footer__brand-text span {
  margin-top: 3px;
  color: var(--muted, #969ca8);
  font-size: 9px;
}

.dashboard-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.dashboard-footer__links > span {
  color: rgba(255, 255, 255, 0.24);
}

.dashboard-footer__links a {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted, #969ca8);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.dashboard-footer__links a:hover,
.dashboard-footer__links a:focus-visible {
  background: rgba(200, 121, 65, 0.09);
  color: #e7ab80;
  outline: none;
}

.dashboard-footer__copyright {
  justify-self: end;
  color: var(--muted, #969ca8);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .app-shell ~ .dashboard-footer {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .dashboard-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 17px;
    text-align: center;
  }

  .dashboard-footer__brand {
    justify-content: center;
  }

  .dashboard-footer__copyright {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .dashboard-footer__links {
    flex-wrap: wrap;
    gap: 4px;
  }

  .dashboard-footer__links > span {
    display: none;
  }

  .dashboard-footer__links a {
    width: 100%;
    text-align: center;
  }
}
