.dashboard-site-footer {
  width: min(var(--dashboard-content-max), 100%);
  justify-self: center;
  margin: clamp(18px, 3vh, 34px) auto 0;
  padding: 0 0 clamp(26px, 4vh, 42px);
}

.dashboard-site-footer-divider {
  width: 100%;
  height: 1px;
  margin-bottom: clamp(24px, 3.4vh, 36px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 18px rgba(34, 213, 255, 0.04);
}

.dashboard-site-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(440px, 1.5fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.dashboard-site-footer-brand {
  display: grid;
  gap: 14px;
}

.dashboard-site-footer-logo {
  width: min(192px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.2));
}

.dashboard-site-footer-note {
  margin: 0;
  max-width: 34ch;
  color: rgba(198, 209, 222, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.dashboard-site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
}

.dashboard-site-footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.dashboard-site-footer-link,
.dashboard-site-footer-doc-link {
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  color: rgba(224, 232, 242, 0.76);
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.dashboard-site-footer-link:hover,
.dashboard-site-footer-link:focus-visible,
.dashboard-site-footer-doc-link:hover,
.dashboard-site-footer-doc-link:focus-visible {
  color: #f8fbff;
  outline: none;
}

.dashboard-site-footer-link.is-active {
  color: #dff7ff;
  text-shadow: 0 0 14px rgba(34, 213, 255, 0.16);
}

.dashboard-site-footer-meta {
  display: grid;
  justify-items: end;
  gap: 18px;
  overflow: visible;
}

.dashboard-site-footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-site-footer-social-link {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(220, 229, 240, 0.62);
  background: transparent;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.dashboard-site-footer-social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-site-footer-social-link:hover,
.dashboard-site-footer-social-link:focus-visible {
  color: #f8fbff;
  outline: none;
}

.dashboard-site-footer-language-wrap {
  position: relative;
  z-index: 20;
}

.dashboard-site-footer-language-trigger {
  min-width: 118px !important;
  width: auto;
  max-width: none;
  min-height: 34px;
  padding: 0 10px 0 8px !important;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: linear-gradient(180deg, rgba(16, 22, 31, 0.98), rgba(9, 13, 20, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
  color: rgba(231, 239, 247, 0.92) !important;
  outline: none !important;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.dashboard-site-footer-language-trigger::before {
  content: none !important;
}

.dashboard-site-footer-language-trigger:hover,
.dashboard-site-footer-language-trigger:focus-visible,
.dashboard-site-footer-language-trigger[aria-expanded="true"] {
  border-color: rgba(84, 219, 255, 0.2) !important;
  background:
    linear-gradient(180deg, rgba(19, 27, 38, 0.98), rgba(10, 15, 23, 0.98)) !important;
  box-shadow:
    0 0 0 1px rgba(54, 214, 255, 0.035),
    0 10px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  outline: none !important;
  transform: none !important;
}

.dashboard-site-footer-language-trigger .dashboard-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

.dashboard-site-footer-language-label {
  display: inline-block !important;
  min-width: 0;
  color: rgba(242, 247, 255, 0.94);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-site-footer-language-trigger .dashboard-control-caret {
  position: relative;
  z-index: 1;
  display: inline-block !important;
  flex: 0 0 auto;
  margin-left: auto;
  border-left-width: 3px;
  border-right-width: 3px;
  border-top-width: 4px;
  border-top-color: rgba(214, 228, 240, 0.62);
  opacity: 0.74;
}

.dashboard-site-footer-language-menu {
  top: auto !important;
  right: 0 !important;
  bottom: calc(100% + 12px) !important;
  left: auto !important;
  z-index: 120;
  width: 168px;
  min-width: 168px;
  max-height: none;
  padding: 8px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 23, 33, 0.985), rgba(9, 13, 20, 0.985)) !important;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-origin: bottom right !important;
  will-change: opacity, transform;
}

.dashboard-site-footer-language-menu::before,
.dashboard-site-footer-language-menu::after {
  content: none !important;
}

.dashboard-site-footer-language-menu.is-open:not(.is-closing) {
  animation: none !important;
  opacity: 1;
  filter: none !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  clip-path: inset(0 round 10px) !important;
}

.dashboard-site-footer-language-menu.is-closing {
  animation: none !important;
  opacity: 0;
  filter: none !important;
  transform: translate3d(0, 4px, 0) scale(0.98) !important;
  clip-path: inset(0 round 10px) !important;
}

.dashboard-site-footer-language-menu.is-open:not(.is-closing) .dashboard-topbar-language-option,
.dashboard-site-footer-language-menu.is-closing .dashboard-topbar-language-option {
  animation: none !important;
  opacity: 1;
  filter: none !important;
  transform: none !important;
}

.dashboard-site-footer-language-menu .dashboard-topbar-language-option {
  min-height: 35px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  gap: 9px;
  color: rgba(224, 233, 242, 0.84);
  font-size: 13px;
  font-weight: 700;
  transform: none !important;
  outline: none !important;
}

.dashboard-site-footer-language-menu .dashboard-topbar-language-option .dashboard-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dashboard-site-footer-language-menu .dashboard-topbar-language-option:hover,
.dashboard-site-footer-language-menu .dashboard-topbar-language-option:focus-visible,
.dashboard-site-footer-language-menu .dashboard-topbar-language-option.active {
  color: #f8fbff;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.042);
  transform: none !important;
  outline: none !important;
}

.dashboard-site-footer-language-menu .dashboard-topbar-language-option.active {
  box-shadow:
    inset 0 0 0 1px rgba(94, 225, 255, 0.16),
    inset 2px 0 0 rgba(94, 225, 255, 0.42);
}

.dashboard-site-footer-language-menu .dashboard-topbar-language-option.active::after {
  width: 6px;
  height: 6px;
  background: #7ee8ff;
  box-shadow: 0 0 12px rgba(126, 232, 255, 0.44);
}

body.auth-gate-open .dashboard-site-footer {
  filter: blur(2px) brightness(0.72) saturate(0.88);
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1320px) {
  .dashboard-site-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-site-footer-meta {
    justify-items: start;
  }

  .dashboard-site-footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .dashboard-site-footer {
    padding-bottom: 28px;
  }

  .dashboard-site-footer-divider {
    margin-bottom: 22px;
  }

  .dashboard-site-footer-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dashboard-site-footer-column {
    gap: 10px;
  }

  .dashboard-site-footer-link,
  .dashboard-site-footer-doc-link {
    font-size: 13px;
  }

  .dashboard-site-footer-language-trigger {
    min-width: 118px !important;
  }
}
