.client-retention-loop,
.booking-rebook-preview,
.account-retention-loop,
.provider-retention-toolkit,
.beautician-retention-plan,
.admin-retention-growth-panel,
.trust-verified-review-policy {
  border: 1px solid rgba(190, 87, 137, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 247, 251, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top left, rgba(255, 108, 168, 0.16), transparent 42%),
    radial-gradient(circle at bottom right, rgba(246, 193, 93, 0.2), transparent 40%);
  border-radius: 18px;
  color: #301120;
  box-shadow: 0 22px 58px rgba(86, 31, 58, 0.1);
  overflow: hidden;
}

.client-retention-loop,
.beautician-retention-plan,
.trust-verified-review-policy {
  padding: clamp(22px, 4vw, 38px);
}

.booking-rebook-preview,
.account-retention-loop,
.provider-retention-toolkit,
.admin-retention-growth-panel {
  padding: clamp(18px, 3vw, 30px);
}

.client-retention-loop-head,
.booking-rebook-preview-head,
.account-retention-loop-head,
.provider-retention-toolkit-head,
.beautician-retention-plan-head,
.admin-retention-growth-head,
.trust-verified-review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.client-retention-loop-head h2,
.booking-rebook-preview-head h3,
.account-retention-loop-head h2,
.provider-retention-toolkit-head h2,
.beautician-retention-plan-head h2,
.admin-retention-growth-head h2,
.trust-verified-review-head h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 650;
}

.client-retention-loop-head p,
.booking-rebook-preview-head p,
.account-retention-loop-head p,
.provider-retention-toolkit-head p,
.beautician-retention-plan-head p,
.admin-retention-growth-head span,
.trust-verified-review-head p {
  max-width: 760px;
  color: rgba(48, 17, 32, 0.72);
}

.client-retention-loop-head > i,
.booking-rebook-preview-head > i,
.account-retention-loop-head > i,
.provider-retention-toolkit-head > i,
.beautician-retention-plan-head > i,
.admin-retention-growth-head > i,
.trust-verified-review-head > i {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 14px;
  color: #5e233f;
  background: linear-gradient(135deg, #ff6ca8, #f6c15d);
  box-shadow: 0 14px 28px rgba(191, 81, 137, 0.18);
}

.client-retention-loop-grid,
.booking-rebook-preview-grid,
.account-retention-loop-grid,
.provider-retention-toolkit-grid,
.beautician-retention-plan-grid,
.trust-verified-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-retention-growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.client-retention-loop-card,
.booking-rebook-preview-card,
.account-retention-loop-card,
.provider-retention-toolkit-card,
.beautician-retention-plan-card,
.admin-retention-growth-card,
.trust-verified-review-card {
  min-height: 100%;
  border: 1px solid rgba(190, 87, 137, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
}

.client-retention-loop-card.is-primary,
.admin-retention-growth-card.is-primary {
  background: linear-gradient(135deg, rgba(255, 105, 168, 0.2), rgba(246, 193, 93, 0.18));
  border-color: rgba(190, 87, 137, 0.3);
}

.client-retention-loop-card span,
.booking-rebook-preview-card span,
.account-retention-loop-card span,
.provider-retention-toolkit-card span,
.beautician-retention-plan-card span,
.admin-retention-growth-card span,
.trust-verified-review-card span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(96, 32, 63, 0.08);
  color: #8a315f;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.client-retention-loop-card h3,
.booking-rebook-preview-card h3,
.account-retention-loop-card h3,
.provider-retention-toolkit-card h3,
.beautician-retention-plan-card h3,
.admin-retention-growth-card h3,
.trust-verified-review-card h3 {
  margin: 12px 0 8px;
  line-height: 1.2;
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 640;
}

.client-retention-loop-card p,
.booking-rebook-preview-card p,
.account-retention-loop-card p,
.provider-retention-toolkit-card p,
.beautician-retention-plan-card p,
.admin-retention-growth-card p,
.trust-verified-review-card p {
  margin: 0;
  color: rgba(48, 17, 32, 0.7);
  line-height: 1.48;
}

.client-retention-loop-strip,
.admin-retention-growth-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.client-retention-loop-strip span,
.admin-retention-growth-status span {
  border: 1px solid rgba(190, 87, 137, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #6c274d;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.account-retention-loop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

body[data-theme="dark"] .client-retention-loop,
body[data-theme="dark"] .booking-rebook-preview,
body[data-theme="dark"] .account-retention-loop,
body[data-theme="dark"] .provider-retention-toolkit,
body[data-theme="dark"] .beautician-retention-plan,
body[data-theme="dark"] .admin-retention-growth-panel,
body[data-theme="dark"] .trust-verified-review-policy,
.admin-page[data-theme="dark"] .client-retention-loop,
.admin-page[data-theme="dark"] .booking-rebook-preview,
.admin-page[data-theme="dark"] .account-retention-loop,
.admin-page[data-theme="dark"] .provider-retention-toolkit,
.admin-page[data-theme="dark"] .beautician-retention-plan,
.admin-page[data-theme="dark"] .admin-retention-growth-panel,
.admin-page[data-theme="dark"] .trust-verified-review-policy {
  border-color: rgba(255, 127, 181, 0.22);
  background:
    linear-gradient(135deg, rgba(42, 13, 31, 0.96), rgba(23, 7, 18, 0.98)),
    radial-gradient(circle at top left, rgba(255, 108, 168, 0.11), transparent 44%),
    radial-gradient(circle at bottom right, rgba(246, 193, 93, 0.13), transparent 42%);
  color: #fff5fa;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .client-retention-loop-head p,
body[data-theme="dark"] .booking-rebook-preview-head p,
body[data-theme="dark"] .account-retention-loop-head p,
body[data-theme="dark"] .provider-retention-toolkit-head p,
body[data-theme="dark"] .beautician-retention-plan-head p,
body[data-theme="dark"] .admin-retention-growth-head span,
body[data-theme="dark"] .trust-verified-review-head p,
.admin-page[data-theme="dark"] .client-retention-loop-head p,
.admin-page[data-theme="dark"] .booking-rebook-preview-head p,
.admin-page[data-theme="dark"] .account-retention-loop-head p,
.admin-page[data-theme="dark"] .provider-retention-toolkit-head p,
.admin-page[data-theme="dark"] .beautician-retention-plan-head p,
.admin-page[data-theme="dark"] .admin-retention-growth-head span,
.admin-page[data-theme="dark"] .trust-verified-review-head p {
  color: rgba(255, 245, 250, 0.72);
}

body[data-theme="dark"] .client-retention-loop-card,
body[data-theme="dark"] .booking-rebook-preview-card,
body[data-theme="dark"] .account-retention-loop-card,
body[data-theme="dark"] .provider-retention-toolkit-card,
body[data-theme="dark"] .beautician-retention-plan-card,
body[data-theme="dark"] .admin-retention-growth-card,
body[data-theme="dark"] .trust-verified-review-card,
.admin-page[data-theme="dark"] .client-retention-loop-card,
.admin-page[data-theme="dark"] .booking-rebook-preview-card,
.admin-page[data-theme="dark"] .account-retention-loop-card,
.admin-page[data-theme="dark"] .provider-retention-toolkit-card,
.admin-page[data-theme="dark"] .beautician-retention-plan-card,
.admin-page[data-theme="dark"] .admin-retention-growth-card,
.admin-page[data-theme="dark"] .trust-verified-review-card {
  background: rgba(255, 245, 250, 0.055);
  border-color: rgba(255, 127, 181, 0.18);
}

body[data-theme="dark"] .client-retention-loop-card p,
body[data-theme="dark"] .booking-rebook-preview-card p,
body[data-theme="dark"] .account-retention-loop-card p,
body[data-theme="dark"] .provider-retention-toolkit-card p,
body[data-theme="dark"] .beautician-retention-plan-card p,
body[data-theme="dark"] .admin-retention-growth-card p,
body[data-theme="dark"] .trust-verified-review-card p,
.admin-page[data-theme="dark"] .client-retention-loop-card p,
.admin-page[data-theme="dark"] .booking-rebook-preview-card p,
.admin-page[data-theme="dark"] .account-retention-loop-card p,
.admin-page[data-theme="dark"] .provider-retention-toolkit-card p,
.admin-page[data-theme="dark"] .beautician-retention-plan-card p,
.admin-page[data-theme="dark"] .admin-retention-growth-card p,
.admin-page[data-theme="dark"] .trust-verified-review-card p {
  color: rgba(255, 245, 250, 0.72);
}

body[data-theme="dark"] .client-retention-loop-strip span,
body[data-theme="dark"] .admin-retention-growth-status span,
.admin-page[data-theme="dark"] .client-retention-loop-strip span,
.admin-page[data-theme="dark"] .admin-retention-growth-status span {
  background: rgba(255, 245, 250, 0.07);
  border-color: rgba(255, 127, 181, 0.18);
  color: #ffd8e8;
}

@media (max-width: 1100px) {
  .admin-retention-growth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .client-retention-loop-grid,
  .booking-rebook-preview-grid,
  .account-retention-loop-grid,
  .provider-retention-toolkit-grid,
  .beautician-retention-plan-grid,
  .trust-verified-review-grid,
  .admin-retention-growth-grid {
    grid-template-columns: 1fr;
  }

  .client-retention-loop-head,
  .booking-rebook-preview-head,
  .account-retention-loop-head,
  .provider-retention-toolkit-head,
  .beautician-retention-plan-head,
  .admin-retention-growth-head,
  .trust-verified-review-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .client-retention-loop,
  .booking-rebook-preview,
  .account-retention-loop,
  .provider-retention-toolkit,
  .beautician-retention-plan,
  .admin-retention-growth-panel,
  .trust-verified-review-policy {
    border-radius: 14px;
    padding: 18px;
  }

  .client-retention-loop-card,
  .booking-rebook-preview-card,
  .account-retention-loop-card,
  .provider-retention-toolkit-card,
  .beautician-retention-plan-card,
  .admin-retention-growth-card,
  .trust-verified-review-card {
    padding: 15px;
  }

  .account-retention-loop-actions .launch-soft-button {
    width: 100%;
    justify-content: center;
  }
}
