/* -----------------------------------------------------
 * Amplify Performance Table
 * -----------------------------------------------------
 * Shared styles for monthly & quarterly performance tables
 * ----------------------------------------------------- */

.amplify-performance-table {
  margin: 0 0 1.5rem;
  overflow-x: auto;
}

.amplify-performance-table__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 1rem;
}

.amplify-performance-table__table tr {
  background: #fff !important;
  border-bottom: 1px solid #a5a5a5 !important;
}

.amplify-performance-table__table thead th {
  text-align: right;
  font-weight: 600;
  padding: 8px 10px;
  border: 0px !important;
  white-space: nowrap;
}

.amplify-performance-table__th--wrap {
  white-space: normal;
  line-height: 1.2;
}

.amplify-performance-table__table thead th:first-child {
  text-align: left;
}

.amplify-performance-table__table thead tr {
  background: #152F41 !important;
  border-bottom:0px;
  color:#fff !important;
}

/* Grouped header rows (Cumulative / Annualized) */
.amplify-performance-table__table thead tr.group-header th {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  background: #f4f4f4;
  border-bottom: 0px !important;
}

.amplify-performance-table__table thead tr.group-header th:nth-child(2){
	border-right: 1px solid #a5a5a5 !important;
}

.amplify-performance-table__table thead tr.group-header th:first-child {
  text-align: left;
}

/* Second row of thead (column headers) - 6th td gets border */
.amplify-performance-table__table thead tr:nth-child(2) th:nth-child(6) {
  border-right: 1px solid #a5a5a5 !important;
}

/* All tbody rows - 6th td gets border */
.amplify-performance-table__table tbody tr td:nth-child(6) {
  border-right: 1px solid #a5a5a5 !important;
}

.amplify-performance-table__table tbody td {
  padding: 8px 10px;
  border:0px !important;
  text-align: right;
  white-space: nowrap;
  background: #fff !important;
}

.amplify-performance-table__table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.amplify-performance-table__table tbody tr:last-child td {
  border-bottom: none;
}

/* Row type distinctions */
.amplify-performance-row--nav td:first-child {
  font-weight: 600;
}

/* Negative / positive values */
.amplify-performance-negative {
  color: #000000;
}

.amplify-performance-positive {
  color: #000000;
}

/* As-of date */
.amplify-performance-asof {
  margin-top: 0.5rem;
  font-size: 15px;
  color: #000;
}

.amplify-performance-inception {
  margin-top: 0.25rem;
  font-size: 15px;
  color: #000;
}

/* Disclosure text */
.amplify-performance-disclosure {
  margin-top: 0.75rem;
  font-size: 12px;
  color: #6b7280;
}

/* Placeholder / no data state */
.amplify-performance-placeholder {
  color: #9ca3af;
}

/* Subtle column separators */
.amplify-performance-table__table th,
.amplify-performance-table__table td {
  border-right: 1px solid #f3f4f6;
}

.amplify-performance-table__table th:last-child,
.amplify-performance-table__table td:last-child {
  border-right: none;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .amplify-performance-table__table {
    font-size: 13px;
  }
}