/* Billing readability and shared grey-card contrast safeguards. */
.sentriiq-billing-page {
  color: #102033 !important;
}
.sentriiq-billing-page > div:first-child {
  background:
    radial-gradient(circle at 92% 20%, rgba(39,189,123,.2), transparent 12rem),
    linear-gradient(108deg, #ffffff 0%, #f1faf6 60%, #e4f4ed 100%) !important;
  border: 1px solid #bcd9cd !important;
  box-shadow: 0 10px 28px rgba(14,52,44,.08) !important;
}
.sentriiq-billing-page > div:first-child h1 {
  color: #102033 !important;
}
.sentriiq-billing-page > div:first-child p,
.sentriiq-billing-page > div:first-child [class*="text-gray-4"] {
  color: #587084 !important;
}
.sentriiq-billing-page > div:first-child button:not([class*="bg-green-500"]) {
  background: #edf3f5 !important;
  border-color: #c8d7df !important;
  color: #29475b !important;
}

/* Billing panels and status tiles. */
.sentriiq-billing-page [class*="bg-gray-900"] {
  background: #fff !important;
  border-color: #d3dfe7 !important;
  color: #102033 !important;
  box-shadow: 0 7px 22px rgba(16,42,61,.05);
}
.sentriiq-billing-page [class*="bg-gray-800/50"] {
  background: linear-gradient(135deg, #f3f7f9, #eaf2f5) !important;
  border: 1px solid #d6e1e7;
  color: #102033 !important;
}
.sentriiq-billing-page [class*="bg-gray-800/50"] [class*="text-gray-4"] {
  color: #607486 !important;
}
.sentriiq-billing-page [class*="bg-gray-800/50"] [class*="text-white"] {
  color: #102033 !important;
}
.sentriiq-billing-page [class*="text-gray-500"] {
  color: #667b8d !important;
}
.sentriiq-billing-page [class*="text-gray-400"] {
  color: #566d80 !important;
}
.sentriiq-billing-page [class*="text-white"] {
  color: #102033 !important;
}

/* Upgrade-choice buttons remain intentionally dark with white labels. */
.sentriiq-billing-page button[class*="bg-gray-800"] {
  background: #15364b !important;
  border-color: #244d64 !important;
  color: #fff !important;
  opacity: 1 !important;
}
.sentriiq-billing-page button[class*="bg-gray-800"] svg {
  color: #bcebd4 !important;
  stroke: currentColor !important;
}
.sentriiq-billing-page button[class*="bg-gray-800"]:hover:not(:disabled) {
  background: #1d4b64 !important;
  border-color: #318069 !important;
}
.sentriiq-billing-page button[class*="bg-green-500"] {
  color: #08291d !important;
}

/* Billing footer actions and disabled payment control. */
.sentriiq-billing-page > div:last-child button {
  background: #fff !important;
  border-color: #d2dee6 !important;
  color: #183047 !important;
  opacity: 1 !important;
}
.sentriiq-billing-page > div:last-child button:disabled {
  background: #edf2f5 !important;
  color: #5f7384 !important;
  opacity: .75 !important;
}
.sentriiq-billing-page > div:last-child button p[class*="text-white"] {
  color: #183047 !important;
}
.sentriiq-billing-page > div:last-child button p[class*="text-gray"] {
  color: #65798a !important;
}

/* Shared safeguard for converted grey cards elsewhere in the application. */
.sentriiq-corp-content:not(:has(.sentriiq-corp-editor)):not(:has(.corporate-dashboard)) [class*="bg-gray-800/50"] {
  background: #eef3f6 !important;
  color: #183047 !important;
}
.sentriiq-corp-content:not(:has(.sentriiq-corp-editor)):not(:has(.corporate-dashboard)) [class*="bg-gray-800/50"] [class*="text-gray"] {
  color: #617689 !important;
}

