/**
 * Site Footer Styles
 * Matches navbar-default styling for consistency
 * Uses 4px CSS grid system
 */

/* Sticky footer: ensure footer stays at bottom of viewport */
html {
  min-height: 100%;
  position: relative;
}

body {
  margin-bottom: 100px; /* Footer height + buffer for breathing room */
}

.site-footer {
  background: linear-gradient(to bottom, #fff 0, #f8f8f8 100%);
  border-top: 1px solid #e7e7e7;
  padding: 16px 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.05);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.site-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.site-footer .footer-company {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .footer-company strong {
  color: #333;
  font-weight: 600;
}

.site-footer .footer-company a {
  color: #337ab7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-company a:hover {
  color: #23527c;
  text-decoration: underline;
}

.site-footer .footer-separator {
  color: #ddd;
  padding: 0 4px;
}

.site-footer .footer-notice {
  font-size: 12px;
  color: #999;
  font-style: italic;
  max-width: 400px;
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .site-footer .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 4px 8px;
  }

  .site-footer .footer-company {
    justify-content: center;
  }

  .site-footer .footer-notice {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 12px 0;
  }

  .site-footer .footer-content {
    font-size: 12px;
  }

  .site-footer .footer-notice {
    font-size: 11px;
  }
}
