/* 1688 Supplier Intelligence — Custom Styles */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Card hover effects */
.card {
  transition: all 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
}

/* Trust score colors */
.score-excellent { color: #22c55e; }
.score-good { color: #16a34a; }
.score-average { color: #eab308; }
.score-caution { color: #f97316; }
.score-risk { color: #ef4444; }

/* Tables in reports */
.report-table td:first-child {
  font-weight: 500;
  color: #6b7280;
}

/* Search bar focus */
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
  border-color: #eab308;
  box-shadow: 0 0 0 0.2rem rgba(234, 179, 8, 0.25);
}

/* Footer stickiness */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* Badge refinements */
.badge { font-weight: 500; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-4 { font-size: 2rem; }
  .display-5 { font-size: 1.5rem; }
  .display-6 { font-size: 1.25rem; }
}

/* Print styles for reports */
@media print {
  nav, footer, .btn, form { display: none !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; }
  body { font-size: 12pt; }
}
