/* Minimalist Footer with Fixed Small Size */
.footer-container {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  min-height: 88px; /* flexible minimum height */
  display: grid;
  align-items: center;
  padding: 0.75rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Single row compact layout */
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem 2rem;
  align-items: center;
  margin-bottom: 8px;
}

/* Compact brand section */
.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 2.6rem;
  height: 2.6rem;
  color: #3b82f6;
}

.footer-brand-text {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

/* Minimal links section */
.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #3b82f6;
}

/* Compact social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #f3f4f6;
  color: #6b7280;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: #3b82f6;
  color: #ffffff;
}

.footer-social-icon {
  width: 14px;
  height: 14px;
}

/* Minimal bottom section */
.footer-bottom {
  text-align: center;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 12px;
  margin: 0;
}

/* Mobile responsive - stack vertically but keep small */
@media (max-width: 800px) {
  .footer-main {
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto;
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 640px) {
  .footer-container {
    min-height: auto;
    padding: 0.75rem 0.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links {
    gap: 1rem;
    order: 2;
  }

  .footer-social {
    gap: 0.5rem;
    order: 3;
  }
}

/* Focus states for accessibility */
.footer-link:focus-visible,
.footer-social-link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 4px;
}
