/* Expanded billing experience with generated hero artwork and readable actions. */
.sentriiq-billing-page {
  max-width: 72rem !important;
}
.sentriiq-billing-page > div:first-child {
  min-height: 220px;
  isolation: isolate;
}
.sentriiq-billing-page > div:first-child::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 72px;
  bottom: -56px;
  width: 390px;
  height: 270px;
  background: url("/assets/sentriiq-billing-hero-v1.png") center / contain no-repeat;
  pointer-events: none;
  opacity: .82;
}
.sentriiq-billing-page > div:first-child > .relative {
  position: relative;
  z-index: 2;
  min-height: 220px;
  padding-right: 390px !important;
}
.sentriiq-billing-page > div:first-child > .absolute {
  z-index: 1;
}

/* Override earlier generic page rules so every plan label is readable. */
.sentriiq-corp-content:not(:has(.sentriiq-corp-editor)):not(:has(.corporate-dashboard)) .sentriiq-billing-page button[class*="bg-gray-800"][class*="text-white"] {
  background: #15364b !important;
  border-color: #2e6076 !important;
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none;
}
.sentriiq-corp-content:not(:has(.sentriiq-corp-editor)):not(:has(.corporate-dashboard)) .sentriiq-billing-page button[class*="bg-gray-800"][class*="text-white"]:hover:not(:disabled) {
  background: #1d4b64 !important;
  color: #fff !important;
}
.sentriiq-corp-content:not(:has(.sentriiq-corp-editor)):not(:has(.corporate-dashboard)) .sentriiq-billing-page button[class*="bg-gray-800"][class*="text-white"] svg {
  color: #b9f0d5 !important;
}

.sentriiq-billing-details {
  padding: 26px;
  border: 1px solid #d4e0e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16,42,61,.055);
}
.sentriiq-billing-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.sentriiq-billing-section-heading h2,
.sentriiq-billing-support h2 {
  margin: 0 0 5px;
  color: #102033 !important;
  font-size: 19px;
  font-weight: 750;
}
.sentriiq-billing-section-heading p,
.sentriiq-billing-support p {
  margin: 0;
  color: #65798a !important;
  font-size: 13px;
}
.sentriiq-billing-section-heading > span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e4f6ed;
  color: #147853;
  font-size: 11px;
  font-weight: 750;
}
.sentriiq-billing-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.sentriiq-billing-detail-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid #d9e4ea;
  border-radius: 14px;
  background: linear-gradient(145deg,#fbfdfd,#f1f7f6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sentriiq-billing-detail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 11px;
  background: #dff5ea;
  color: #16825b;
}
.sentriiq-billing-detail-grid strong {
  color: #183047;
  font-size: 14px;
}
.sentriiq-billing-detail-grid p {
  margin: 7px 0 14px;
  color: #667b8d;
  font-size: 12px;
  line-height: 1.55;
}
.sentriiq-billing-detail-grid small {
  margin-top: auto;
  color: #16825b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .25px;
}
.sentriiq-billing-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 27px;
  border: 1px solid #bdd9cd;
  border-radius: 18px;
  background: linear-gradient(105deg,#edf9f3,#e1f3eb);
}
.sentriiq-billing-support > div:first-child > span {
  display: block;
  margin-bottom: 6px;
  color: #17805a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.sentriiq-billing-support-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.sentriiq-billing-support-actions button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #b9d7ca !important;
  border-radius: 9px;
  background: #fff !important;
  color: #183047 !important;
  font-size: 12px;
  font-weight: 750;
  opacity: 1 !important;
}
.sentriiq-billing-support-actions button:last-child {
  background: #27bd7b !important;
  border-color: #27bd7b !important;
  color: #08291d !important;
}
@media (max-width: 980px) {
  .sentriiq-billing-page > div:first-child::after { right: 18px; width: 300px; opacity: .45; }
  .sentriiq-billing-page > div:first-child > .relative { padding-right: 250px !important; }
  .sentriiq-billing-detail-grid { grid-template-columns: 1fr; }
  .sentriiq-billing-detail-grid article { min-height: 0; }
}
@media (max-width: 720px) {
  .sentriiq-billing-page > div:first-child { min-height: 0; }
  .sentriiq-billing-page > div:first-child::after { display: none; }
  .sentriiq-billing-page > div:first-child > .relative { min-height: 0; padding-right: 16px !important; }
  .sentriiq-billing-support { align-items: flex-start; flex-direction: column; }
  .sentriiq-billing-support-actions { width: 100%; flex-direction: column; }
}

