/* PORT2040 Multiport National Dashboard Styles */

.multiport-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
}

.multiport-header {
  margin-bottom: 24px;
}

.multiport-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #0f172a;
}

.multiport-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.summary-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.summary-card .card-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.summary-card .card-value {
  font-size: 32px;
  font-weight: 700;
  color: #0284c7;
}

.summary-card .card-subtext {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.table-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.multiport-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.multiport-table th {
  background: #f8fafc;
  padding: 14px 16px;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.multiport-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.multiport-table tr:hover {
  background: #f8fafc;
}

.rank-col {
  width: 50px;
  font-size: 16px;
  color: #0284c7;
}

.unlocode-tag {
  font-family: monospace;
  font-size: 12px;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #475569;
}

.port-state {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.score-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.confidence-label {
  font-size: 11px;
  color: #64748b;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-public {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-homologated {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.risk-low {
  background: #f0fdf4;
  color: #16a34a;
}

.risk-medium {
  background: #fffbeb;
  color: #d97706;
}
