/**
 * MuseFlow Unified Footer Styles
 * Mobile-optimized, responsive design
 */

.museflow-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999999;
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.museflow-footer-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1rem;
}

.museflow-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #8B5CF6;
}

.museflow-footer-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.museflow-footer-text {
  color: #e5e5e5;
  white-space: nowrap;
}

.museflow-footer-version {
  font-weight: 600;
  color: #60A5FA;
}

/* Adjust body padding to prevent content overlap */
body {
  padding-bottom: 40px !important;
}

/* Mobile Footer Optimization */
@media (max-width: 768px) {
  .museflow-footer {
    height: auto;
    min-height: 80px;
    padding: 1rem 0;
    position: relative; /* Fixed → Relative on mobile to prevent overlap */
  }
  
  .museflow-footer-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 0 1.5rem;
  }
  
  .museflow-footer-divider {
    display: none;
  }
  
  .museflow-footer-text {
    font-size: 0.75rem;
    line-height: 1.6;
  }
  
  .museflow-footer-logo {
    font-size: 1rem;
    font-weight: 700;
  }
  
  .museflow-footer-version {
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  body {
    padding-bottom: 0 !important; /* Remove fixed footer padding */
  }
}

@media (max-width: 480px) {
  .museflow-footer {
    min-height: 100px;
    padding: 1.25rem 0;
  }
  
  .museflow-footer-content {
    gap: 0.5rem;
    padding: 0 1rem;
  }
  
  .museflow-footer-text {
    font-size: 0.7rem;
    line-height: 1.5;
  }
  
  .museflow-footer-logo {
    font-size: 0.95rem;
  }
  
  .museflow-footer-version {
    font-size: 0.7rem;
  }
  
  /* Hide secondary text on very small screens for clarity */
  .museflow-footer-text:nth-of-type(2) {
    display: none;
  }
  
  body {
    padding-bottom: 0 !important;
  }
}
