/* subscriptions.css */
#subscriptions-page-root .nv-tabs { margin-bottom: var(--nv-space-4); }

/* Expandable license/instance tables + detail cards */
.nv-sub-table tbody tr.nv-sub-row {
  cursor: pointer;
}

.nv-sub-table tbody tr.nv-sub-row:hover {
  background: #f5f8fa;
}

.nv-sub-row__name {
  font-weight: 600;
}

.nv-sub-row__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 8px;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  vertical-align: middle;
  color: #999;
  transition: transform 0.15s ease;
}

.nv-sub-row--open .nv-sub-row__caret {
  transform: rotate(90deg);
}

.nv-sub-detail > td {
  background: #fafbfc;
  padding: 0;
}

.nv-sub-card {
  padding: 16px 20px;
}

.nv-sub-card__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
  margin: 0;
}

.nv-sub-card__field dt {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  margin-bottom: 2px;
}

.nv-sub-card__field dd {
  font-size: 14px;
  color: #222;
  margin: 0;
  word-break: break-word;
}

@media (max-width: 768px) {
  .nv-sub-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nv-sub-card__grid {
    grid-template-columns: 1fr;
  }
}
