.bbd-request-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: 24px;
  border: 1px solid #dfe6f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 34, 70, .06);
}
.bbd-request-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: #101b36;
}
.bbd-request-form input,
.bbd-request-form select,
.bbd-request-form textarea {
  width: 100%;
  border: 1px solid #d9e1ed;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}
.bbd-request-form button {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2066ff, #8c42ff);
  color: #fff;
  font-weight: 900;
  padding: 13px 18px;
  cursor: pointer;
}
.bbd-request-success {
  max-width: 760px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e9fff4;
  color: #087a42;
  font-weight: 800;
}

/* Better Brand Designs customer dashboard */
.bbd-customer-dashboard,
.bbd-customer-dashboard * {
  box-sizing: border-box;
}
.bbd-customer-dashboard {
  --bbd-black: #050505;
  --bbd-blue: #2066ff;
  --bbd-purple: #8c42ff;
  --bbd-ink: #101b36;
  --bbd-muted: #67728a;
  --bbd-line: #dfe6f3;
  --bbd-soft: #f6f8fc;
  color: var(--bbd-ink);
  font-family: inherit;
}
.bbd-dashboard-hero {
  padding: clamp(42px, 6vw, 84px) clamp(20px, 5vw, 64px);
  border-radius: 0 0 28px 28px;
  background: radial-gradient(circle at 88% 5%, rgba(140,66,255,.78), transparent 32%), linear-gradient(135deg, #050505 0%, #09183c 55%, #2066ff 100%);
  color: #fff;
  overflow: hidden;
}
.bbd-dashboard-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #98b7ff;
}
.bbd-dashboard-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.bbd-dashboard-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(16px, 2vw, 20px);
}
.bbd-customer-dashboard-inner {
  padding: clamp(18px, 4vw, 42px);
  background: #f8faff;
}
.bbd-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -72px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.bbd-stat-card,
.bbd-front-card,
.bbd-site-overview,
.bbd-support-banner,
.bbd-quick-actions {
  background: #fff;
  border: 1px solid var(--bbd-line);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(16, 27, 54, .07);
}
.bbd-stat-card {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 132px;
  padding: 22px;
}
.bbd-stat-card > span {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  height: 58px;
  border-radius: 50%;
  background: #eef4ff;
  font-size: 28px;
}
.bbd-stat-card small,
.bbd-site-overview small,
.bbd-resource-card small,
.bbd-action-card small {
  display: block;
  color: var(--bbd-muted);
  font-weight: 700;
}
.bbd-stat-card strong {
  display: block;
  color: #13224a;
  font-size: 32px;
  line-height: 1;
}
.bbd-stat-card em,
.bbd-site-overview em {
  display: block;
  margin-top: 5px;
  color: #148a4b;
  font-style: normal;
  font-weight: 800;
}
.bbd-quick-actions {
  padding: 22px;
  margin-bottom: 22px;
}
.bbd-quick-actions h2,
.bbd-front-card h2,
.bbd-site-overview h2,
.bbd-resource-cards h2,
.bbd-recent-changes h2 {
  margin: 0 0 16px;
  color: #101b36;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.bbd-quick-action-grid,
.bbd-resource-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.bbd-action-card,
.bbd-resource-card {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--bbd-line);
  border-radius: 14px;
  background: #fff;
  color: var(--bbd-ink);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bbd-action-card:hover,
.bbd-resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(32,102,255,.35);
  box-shadow: 0 12px 28px rgba(32,102,255,.12);
}
.bbd-action-card > span,
.bbd-resource-card > span {
  font-size: 30px;
}
.bbd-action-card strong,
.bbd-resource-card strong {
  color: #111d3c;
}
.bbd-customer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.bbd-front-span-2 {
  grid-column: span 1;
}
.bbd-front-card {
  padding: 22px;
}
.bbd-front-card .bbd-request-form {
  max-width: none;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.bbd-front-request-list article,
.bbd-pages-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f8;
}
.bbd-front-request-list article:last-child,
.bbd-pages-list article:last-child {
  border-bottom: 0;
}
.bbd-front-request-list strong,
.bbd-pages-list a {
  color: #111d3c;
  font-weight: 900;
  text-decoration: none;
}
.bbd-front-empty {
  padding: 18px;
  border-radius: 12px;
  background: #f5f7fb;
  color: var(--bbd-muted);
  font-weight: 700;
}
.bbd-recent-changes ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bbd-recent-changes li {
  position: relative;
  padding-left: 30px;
}
.bbd-recent-changes li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bbd-blue), var(--bbd-purple));
}
.bbd-recent-changes strong,
.bbd-recent-changes span,
.bbd-recent-changes small {
  display: block;
}
.bbd-recent-changes span,
.bbd-recent-changes small {
  color: var(--bbd-muted);
}
.bbd-resource-cards {
  display: grid;
  gap: 10px;
}
.bbd-resource-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bbd-resource-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bbd-blue), var(--bbd-purple));
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
}
.bbd-performance-placeholder {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
  align-items: center;
}
.bbd-line-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 170px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f8ff, #fff);
  border: 1px solid #e3e9f5;
}
.bbd-line-chart span {
  flex: 1;
  min-width: 12px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--bbd-blue), var(--bbd-purple));
}
.bbd-line-chart span:nth-child(1) { height: 32%; }
.bbd-line-chart span:nth-child(2) { height: 64%; }
.bbd-line-chart span:nth-child(3) { height: 46%; }
.bbd-line-chart span:nth-child(4) { height: 72%; }
.bbd-line-chart span:nth-child(5) { height: 58%; }
.bbd-line-chart span:nth-child(6) { height: 86%; }
.bbd-site-overview {
  padding: 22px;
  margin: 18px 0;
}
.bbd-site-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.bbd-site-overview-grid > div {
  padding: 14px;
  border: 1px solid #edf1f8;
  border-radius: 14px;
}
.bbd-site-overview strong {
  display: block;
  margin-top: 4px;
  color: #111d3c;
}
.bbd-support-banner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #09183c, #2066ff 58%, #8c42ff);
  color: #fff;
}
.bbd-support-banner h2,
.bbd-support-banner p {
  margin: 0;
  color: #fff;
}
.bbd-support-banner p {
  opacity: .86;
  margin-top: 6px;
}
.bbd-support-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
  background: rgba(255,255,255,.08);
}
.bbd-request-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.bbd-request-summary span {
  padding: 14px;
  border: 1px solid var(--bbd-line);
  border-radius: 14px;
  background: #fff;
}
.bbd-request-summary strong,
.bbd-request-summary small {
  display: block;
}
.bbd-shortcode-list {
  margin-left: 1.25em;
}

/* Google Review widgets */
.bbd-google-review-badge,
.bbd-google-review-slider,
.bbd-google-review-badge *,
.bbd-google-review-slider * {
  box-sizing: border-box;
}
.bbd-google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--bbd-gr-border, #e5e7eb);
  border-radius: 12px;
  background: var(--bbd-gr-bg, #fff);
  color: var(--bbd-gr-text, #222);
  box-shadow: 0 8px 18px rgba(17, 24, 39, .10);
  font-family: inherit;
}
.bbd-google-review-badge.is-stacked {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bbd-google-review-badge.align-center {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.bbd-google-review-badge.align-right {
  display: flex;
  margin-left: auto;
  width: fit-content;
}
.bbd-google-profile-photo,
.bbd-google-profile-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.bbd-google-profile-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--bbd-gr-border, #e5e7eb);
  background: #fff;
  color: #4285f4;
  font-weight: 900;
}
.bbd-google-badge-content {
  display: grid;
  gap: 3px;
}
.bbd-google-business-name {
  color: var(--bbd-gr-text, #222);
  font-weight: 900;
  line-height: 1.2;
}
.bbd-google-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--bbd-gr-star, #f59e0b);
}
.bbd-google-rating-value {
  color: var(--bbd-gr-star, #f59e0b);
  font-weight: 800;
}
.bbd-google-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--bbd-gr-star, #f59e0b);
  line-height: 1;
}
.bbd-google-stars .is-empty {
  color: #d1d5db;
}
.bbd-google-review-count,
.bbd-google-powered {
  color: var(--bbd-gr-muted, #6b7280);
  font-size: 13px;
  line-height: 1.3;
}
.bbd-google-logo {
  display: inline-flex;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
}
.bbd-google-logo span:nth-child(1),
.bbd-google-logo span:nth-child(4) { color: #4285f4; }
.bbd-google-logo span:nth-child(2),
.bbd-google-logo span:nth-child(6) { color: #ea4335; }
.bbd-google-logo span:nth-child(3) { color: #fbbc05; }
.bbd-google-logo span:nth-child(5) { color: #34a853; }
.bbd-google-logo.is-icon {
  font-size: 22px;
}
.bbd-google-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  min-height: 34px;
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bbd-gr-button-bg, #4285f4);
  color: var(--bbd-gr-button-text, #fff) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 15px rgba(66, 133, 244, .28);
}
.bbd-google-review-button span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 900;
}
.bbd-google-review-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  color: var(--bbd-gr-card-text, #111827);
}
.bbd-google-review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 3px 2px 14px;
}
.bbd-google-review-card {
  min-height: 205px;
  padding: 18px;
  border: 1px solid var(--bbd-gr-border, #e5e7eb);
  border-radius: 8px;
  background: var(--bbd-gr-card-bg, #fff);
  color: var(--bbd-gr-card-text, #111827);
  box-shadow: 0 4px 10px rgba(17, 24, 39, .14);
  scroll-snap-align: start;
}
.bbd-google-review-slider.align-center .bbd-google-review-card {
  text-align: center;
}
.bbd-google-review-slider.align-right .bbd-google-review-card {
  text-align: right;
}
.bbd-google-review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.bbd-google-review-slider.align-center .bbd-google-review-card-header {
  justify-content: center;
}
.bbd-google-review-slider.align-right .bbd-google-review-card-header {
  flex-direction: row-reverse;
}
.bbd-google-review-card-header strong {
  display: block;
  color: var(--bbd-gr-name, #2563eb);
  line-height: 1.2;
}
.bbd-google-review-card-header small {
  display: block;
  margin-top: 2px;
  color: var(--bbd-gr-card-muted, #6b7280);
}
.bbd-google-review-card .bbd-google-profile-photo,
.bbd-google-review-card .bbd-google-profile-icon {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
}
.bbd-google-review-card p {
  max-height: 92px;
  margin: 12px 0 0;
  overflow: auto;
  color: var(--bbd-gr-card-text, #111827);
  line-height: 1.45;
  font-size: 14px;
}
.bbd-google-stars.is-card-rating {
  font-size: 18px;
}
.bbd-google-slider-arrow {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bbd-gr-arrow-bg, #fff);
  color: var(--bbd-gr-arrow-text, #9ca3af);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.bbd-google-review-slider.arrow-minimal .bbd-google-slider-arrow {
  background: transparent;
  box-shadow: none;
}
.bbd-google-review-slider.arrow-chevron .bbd-google-slider-arrow {
  border-radius: 8px;
}
@media (max-width: 1024px) {
  .bbd-dashboard-stats,
  .bbd-quick-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbd-customer-grid,
  .bbd-performance-placeholder { grid-template-columns: 1fr; }
  .bbd-site-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbd-support-banner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bbd-customer-dashboard-inner { padding: 16px; }
  .bbd-dashboard-stats,
  .bbd-quick-action-grid,
  .bbd-resource-card-grid,
  .bbd-site-overview-grid,
  .bbd-request-summary { grid-template-columns: 1fr; }
  .bbd-dashboard-stats { margin-top: -28px; }
  .bbd-google-review-slider { grid-template-columns: 1fr; }
  .bbd-google-slider-arrow { display: none; }
  .bbd-google-review-track { grid-auto-columns: minmax(240px, 88vw); }
}
