.progress-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.progress-bar .progress-text {
  right: 0.5rem;
  width: 100%;
  text-align: right;
}

td {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.progress-text.outside {
  position: absolute;
  left: 105%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 0;
  right: 8px;
}

.circle-group {
  display: flex;
  gap: 4px;
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
}

.circle.filled {
  background-color: #009891;
}


/* From base.html */

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
}

.table-responsive {
  overflow-x: auto;
}

.table thead th {
  background-color: #009891;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
  border-bottom: 2px solid #00726d; /* darker accent, optional */
}

.table th, .table td {
  vertical-align: middle;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

.text-primary {
  color: #009891 !important;
}

.bg-success {
  background-color: #198754 !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

.text-white {
  color: #fff !important;
}

.text-black {
  color: #000 !important;
}


/* Missing enhancements from base.html */

/* === Missing from base.html overrides === */

/* Badge wrap for ESG Topic & Impact Focus */
.badge-wrap {
  display: inline-block;
  width: 100px;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
  border-radius: 12px;
  padding: 5px 2px;
  font-size: 12px;
  font-weight: 600;
}

/* Table header and row styling */
.table th {
  background-color: #f1f1f1;
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
}

.table td {
  padding: 10px;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table tbody tr:hover {
  background-color: #eef7f6;
}
