/* Shared footer styles for auth pages */
.auth-footer {
  flex: 0 0 auto;
  width: 100%;
  background-color: #522398;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.1px, transparent 1.1px);
  background-size: 14px 14px;
  border-top: none;
  padding: 0.75rem 1rem;
  margin-top: 0;
}

.footer-container {
  width: 100%;
  max-width: min(72rem, calc(100vw - 2.4rem));
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 2.5rem;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: background-color 0.2s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
  text-align: right;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 980px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-copyright {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .auth-footer {
    padding: 1rem;
  }

  .footer-content {
    gap: 0.75rem;
  }

  .footer-logo-img {
    height: 2rem;
  }

  .footer-link {
    font-size: 0.85rem;
  }

  .footer-copyright p {
    font-size: 0.8rem;
  }
}
