/*
 * Basic styles for the Ranked Stocks plugin.
 * Adjust colours and spacing here to suit your theme. The aim is to create
 * a clean, modern-looking table similar to financial dashboards without
 * overriding your site’s base typography.
 */

.ranked-stocks-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.ranked-stocks-table thead {
  background-color: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
}

.ranked-stocks-table th,
.ranked-stocks-table td {
  padding: 8px 12px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #eaeaea;
}

.ranked-stocks-table th {
  font-weight: 600;
  color: #333;
}

.ranked-stocks-table tbody tr:hover {
  background-color: #fdfdfd;
}

.ranked-stocks-table a {
  color: #3366bb;
  text-decoration: none;
  font-weight: 600;
}

.ranked-stocks-table a:hover {
  text-decoration: underline;
}

.ranked-stock-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #fdfdfd;
  border: 1px solid #eaeaea;
  border-radius: 4px;
}

.ranked-stock-detail h2 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ranked-stock-detail p {
  margin: 0.4rem 0;
  line-height: 1.5;
  font-size: 0.95rem;
}