/* Card container */
.db-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  padding: 20px;
  border: 3px solid #3b82f6;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #0f172a;
}

/* Title and intro */
.db-title {
  color: #3b82f6;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: .5rem;
}
.db-intro {
  background: #f8fafc;
  border-left: 6px solid #f97316;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Section headings */
.section-label {
  font-weight: 700;
  margin: 14px 0 6px;
  color: #f97316;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.table th,
.table td {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}
.table thead th {
  background: #3b82f6;
  color: #ffffff;
  text-align: left;
}
.table tbody tr:nth-child(odd) {
  background: #f9fafb;
}

/* Note text */
.note {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 1rem;
}

.db-grid-wrapper {
  border: 3px solid #3b82f6;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  margin-bottom: 1.5rem;
}

.db-grid-title {
  color: #3b82f6;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 16px 20px 8px;
}

.db-grid-head,
.db-grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.db-grid-head > div,
.db-grid-row > div {
  padding: 10px 12px;
  border-right: 1px solid #e5e7eb;
  text-align: center;
}

.db-grid-head {
  background: #3b82f6;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
}

.db-grid-row {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.db-grid-row:nth-child(odd) { background: #f9fafb; }
.db-grid-row:hover { background: #eef2ff; }
.db-grid-row > div:last-child,
.db-grid-head > div:last-child { border-right: none; }
