.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
}

.offline-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.offline-icon {
  font-size: 1.25rem;
}

.offline-notice span:last-child {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-links {
  text-align: center;
  margin-bottom: 1rem;
}

.footer-links span {
  font-size: 0.875rem;
  opacity: 0.7;
}

.disclaimer {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-green-dark) 100%
  );
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.error {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.toast.success {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  z-index: 999;
  pointer-events: none;
}

@media (min-width: 768px) {
  .footer {
    padding: 2rem;
  }

  .disclaimer {
    font-size: 0.8125rem;
  }
}

@media print {
  .header,
  .footer,
  .tab-nav,
  .primary-btn,
  .clear-history-btn {
    display: none !important;
  }

  .section {
    display: block !important;
    page-break-after: always;
  }
}
