/* =========================================================
   BUSINESS ADVISOR HUB
   Theme v2 — Graphite / Warm Orange
   ========================================================= */

:root {
  --ba-bg: #f4f5f7;
  --ba-surface: #ffffff;
  --ba-surface-soft: #fafafa;

  --ba-sidebar: #17191d;
  --ba-sidebar-soft: #202329;
  --ba-sidebar-border: rgba(255,255,255,.07);

  --ba-text: #1b1d21;
  --ba-text-soft: #667085;
  --ba-text-muted: #98a2b3;

  --ba-border: #e6e8ec;
  --ba-border-strong: #d8dce3;

  --ba-orange: #ec7626;
  --ba-orange-hover: #d9641a;
  --ba-orange-soft: #fff4ec;

  --ba-green: #16794c;
  --ba-green-soft: #eaf8f1;

  --ba-yellow: #9a6700;
  --ba-yellow-soft: #fff7db;

  --ba-red: #b42318;
  --ba-red-soft: #fff0ee;

  --ba-radius-sm: 8px;
  --ba-radius: 12px;
  --ba-radius-lg: 16px;

  --ba-shadow-sm:
    0 1px 2px rgba(16,24,40,.03),
    0 1px 4px rgba(16,24,40,.025);

  --ba-shadow:
    0 4px 16px rgba(16,24,40,.045);

  --ba-sidebar-width: 236px;

  --ba-transition: 160ms ease;
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  background: var(--ba-bg);
}

body.dashboard-body {
  margin: 0;
  background:
    linear-gradient(
      180deg,
      #f7f8fa 0,
      var(--ba-bg) 220px
    );
  color: var(--ba-text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button,
a,
input,
select,
textarea {
  transition:
    border-color var(--ba-transition),
    background-color var(--ba-transition),
    color var(--ba-transition),
    box-shadow var(--ba-transition),
    transform var(--ba-transition);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(236,118,38,.17);
  outline-offset: 2px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns:
    var(--ba-sidebar-width)
    minmax(0, 1fr);
}

.customers-main,
.customer-detail-main,
.dashboard-main,
main {
  min-width: 0;
}

.customers-main,
.customer-detail-main {
  padding:
    34px
    clamp(24px, 3vw, 48px)
    60px;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;

  display: flex;
  flex-direction: column;

  padding: 18px 14px;

  background:
    linear-gradient(
      180deg,
      #181a1f 0%,
      #14161a 100%
    );

  border-right: 1px solid var(--ba-sidebar-border);

  color: #fff;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 66px;
  padding: 4px 10px 16px;

  border-bottom: 1px solid var(--ba-sidebar-border);
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background:
    linear-gradient(
      145deg,
      #f18a3e,
      var(--ba-orange)
    );

  color: #fff;

  font-size: 14px;
  font-weight: 800;

  box-shadow:
    0 7px 18px rgba(236,118,38,.20);
}

.sidebar-brand strong {
  display: block;
  color: #f8f9fb;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.sidebar-brand span {
  display: block;
  margin-top: 2px;

  color: #9298a3;
  font-size: 11px;
  line-height: 1.2;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;

  padding-top: 17px;
}

.sidebar-link {
  position: relative;

  min-height: 42px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 0 11px;

  border-radius: 9px;

  color: #aeb3bc !important;
  text-decoration: none;

  font-size: 13px;
  font-weight: 620;

  background: transparent !important;
}

.sidebar-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.055) !important;
}

.sidebar-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.075) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.sidebar-link.active::before {
  content: "";

  position: absolute;
  left: -2px;
  top: 9px;
  bottom: 9px;

  width: 3px;

  border-radius: 999px;

  background: var(--ba-orange);
}

.sidebar-link.active .sidebar-icon {
  color: #ff9a53;
}

.sidebar-icon {
  width: 26px;
  height: 26px;

  display: grid;
  place-items: center;

  border-radius: 7px;

  color: #89909b;

  font-size: 16px;
}

.sidebar-link:hover .sidebar-icon {
  color: #fff;
}

.sidebar-account {
  margin-top: auto;

  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;

  padding: 13px 8px 4px;

  border-top: 1px solid var(--ba-sidebar-border);
}

.sidebar-user-avatar {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: #2b2e35;

  color: #ff943f;

  font-size: 11px;
  font-weight: 800;
}

.sidebar-user-data {
  min-width: 0;
}

.sidebar-user-data strong {
  display: block;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #f2f4f7;

  font-size: 11px;
  font-weight: 650;
}

.sidebar-user-data span {
  display: block;
  margin-top: 2px;

  color: #858b96;

  font-size: 10px;
}

.sidebar-logout {
  min-width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  padding: 0 9px;

  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;

  background: rgba(255,255,255,.04);

  color: #aeb3bc;

  cursor: pointer;

  font-size: 11px;
}

.sidebar-logout:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}


/* =========================================================
   PAGE HEADERS
   ========================================================= */

.customers-header,
.customer-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 24px;
}

.content-eyebrow {
  display: block;

  margin-bottom: 5px;

  color: var(--ba-orange);

  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.customers-header h1,
.customer-detail-header h1 {
  margin: 0;

  color: var(--ba-text);

  font-size:
    clamp(27px, 2.5vw, 36px);

  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 760;
}

.customers-header p {
  max-width: 680px;

  margin: 7px 0 0;

  color: var(--ba-text-soft);

  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button-primary,
button.button-primary {
  min-height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 0 15px;

  border: 1px solid var(--ba-orange);
  border-radius: 9px;

  background: var(--ba-orange);

  color: #fff;

  cursor: pointer;

  font-size: 12px;
  font-weight: 720;

  box-shadow:
    0 2px 5px rgba(236,118,38,.16);
}

.button-primary:hover,
button.button-primary:hover {
  border-color: var(--ba-orange-hover);
  background: var(--ba-orange-hover);

  transform: translateY(-1px);

  box-shadow:
    0 5px 12px rgba(236,118,38,.18);
}

.button-secondary,
button.button-secondary,
.section-action,
.service-edit-button {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 0 12px;

  border: 1px solid var(--ba-border-strong);
  border-radius: 9px;

  background: #fff;

  color: #344054;

  cursor: pointer;

  font-size: 12px;
  font-weight: 650;

  box-shadow: var(--ba-shadow-sm);
}

.button-secondary:hover,
.section-action:hover,
.service-edit-button:hover {
  border-color: #f1b385;

  background: var(--ba-orange-soft);

  color: var(--ba-orange-hover);
}

.section-action-primary {
  border-color: #f2c09d;
  background: var(--ba-orange-soft);
  color: var(--ba-orange-hover);
}


/* =========================================================
   SUMMARY / KPI CARDS
   ========================================================= */

.customers-stats,
.customer-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(160px, 1fr)
    );

  gap: 12px;

  margin-bottom: 20px;
}

.customers-stats article,
.customer-summary-grid article {
  position: relative;

  min-height: 88px;

  padding: 16px 17px;

  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius);

  background: rgba(255,255,255,.92);

  box-shadow: var(--ba-shadow-sm);
}

.customers-stats article::after,
.customer-summary-grid article::after {
  content: "";

  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;

  height: 2px;

  border-radius: 999px;

  background: transparent;
}

.customers-stats article:hover,
.customer-summary-grid article:hover {
  border-color: #dde0e5;
  box-shadow: var(--ba-shadow);
}

.customers-stats span,
.customer-summary-grid article span {
  display: block;

  color: var(--ba-text-soft);

  font-size: 11px;
  font-weight: 550;
}

.customers-stats strong,
.customer-summary-grid article strong {
  display: block;

  margin-top: 4px;

  color: var(--ba-text);

  font-size: 25px;
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 760;
}

.summary-money {
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #fff9f4 100%
    ) !important;
}

.summary-money strong {
  color: #d86419 !important;
}


/* =========================================================
   PANELS / CARDS
   ========================================================= */

.customers-panel,
.customer-card {
  overflow: hidden;

  border: 1px solid var(--ba-border);
  border-radius: var(--ba-radius-lg);

  background: rgba(255,255,255,.96);

  box-shadow: var(--ba-shadow-sm);
}

.customer-card {
  margin-bottom: 16px;
}

.customer-card-heading {
  min-height: 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding: 17px 20px;

  border-bottom: 1px solid var(--ba-border);
}

.customer-card-heading h2 {
  margin: 2px 0 0;

  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 730;
}


/* =========================================================
   SEARCH / FILTERS
   ========================================================= */

.customers-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 15px 17px;

  border-bottom: 1px solid var(--ba-border);

  background: #fff;
}

.customers-search {
  position: relative;

  flex: 1;
}

.customers-search i {
  position: absolute;
  left: 12px;
  top: 50%;

  transform: translateY(-50%);

  color: #98a2b3;

  pointer-events: none;
}

.customers-search input,
.customers-toolbar select,
.crm-field input,
.crm-field select,
.crm-field textarea,
.customer-modal input,
.customer-modal select,
.customer-modal textarea {
  width: 100%;

  border: 1px solid var(--ba-border-strong);
  border-radius: 9px;

  background: #fff;

  color: var(--ba-text);

  font-size: 12px;

  box-shadow:
    0 1px 2px rgba(16,24,40,.02);
}

.customers-search input {
  min-height: 42px;
  padding: 0 13px 0 36px;
}

.customers-toolbar select {
  min-height: 42px;
  padding: 0 34px 0 12px;
}

.crm-field input,
.crm-field select,
.customer-modal input,
.customer-modal select {
  min-height: 43px;
  padding: 0 12px;
}

.crm-field textarea,
.customer-modal textarea {
  min-height: 105px;
  padding: 11px 12px;
}

.customers-search input:hover,
.customers-toolbar select:hover,
.crm-field input:hover,
.crm-field select:hover,
.crm-field textarea:hover {
  border-color: #c9cdd5;
}

.customers-search input:focus,
.customers-toolbar select:focus,
.crm-field input:focus,
.crm-field select:focus,
.crm-field textarea:focus {
  border-color: #eaa16e;

  outline: none;

  box-shadow:
    0 0 0 3px rgba(236,118,38,.10);
}


/* =========================================================
   TABLES
   ========================================================= */

.customers-table-scroll {
  overflow: auto;
}

.customers-table {
  width: 100%;

  border-collapse: separate;
  border-spacing: 0;

  background: #fff;
}

.customers-table thead {
  position: sticky;
  top: 0;
  z-index: 3;
}

.customers-table th {
  padding: 11px 12px;

  border-bottom: 1px solid var(--ba-border);

  background: #fafbfc;

  color: #667085;

  text-align: left;

  font-size: 10px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: .045em;
  text-transform: uppercase;

  white-space: nowrap;
}

.customers-table td {
  padding: 11px 12px;

  border-bottom: 1px solid #eceef1;

  color: #30343b;

  font-size: 12px;
  line-height: 1.35;

  vertical-align: middle;
}

.customers-table tbody tr:last-child td {
  border-bottom: 0;
}

.customers-table tbody tr {
  transition:
    background-color var(--ba-transition);
}

.customers-table tbody tr:hover {
  background: #fffaf6;
}

.customers-table td > strong {
  color: #202329;
  font-weight: 690;
}

.customers-table a {
  color: var(--ba-orange-hover);
  font-weight: 700;
  text-decoration: none;
}

.customers-table a:hover {
  text-decoration: underline;
}


/* =========================================================
   STATUS PILLS
   ========================================================= */

.sync-badge {
  display: inline-flex;
  align-items: center;

  min-height: 25px;

  padding: 0 9px;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 750;

  white-space: nowrap;
}

.sync-aligned {
  background: var(--ba-green-soft);
  color: var(--ba-green);
}

.sync-pending {
  background: var(--ba-yellow-soft);
  color: var(--ba-yellow);
}

.sync-review {
  background: var(--ba-red-soft);
  color: var(--ba-red);
}


/* =========================================================
   CUSTOMER DETAIL
   ========================================================= */

.customer-list-item {
  padding: 13px 20px;

  border-bottom: 1px solid var(--ba-border);

  background: #fff;
}

.customer-list-item:last-child {
  border-bottom: 0;
}

.customer-list-item strong {
  display: block;

  margin-bottom: 3px;

  color: var(--ba-text);

  font-size: 12px;
}

.customer-list-item span {
  color: var(--ba-text-soft);

  font-size: 12px;
  line-height: 1.45;
}

.customer-empty,
.empty-row {
  padding: 22px !important;

  color: var(--ba-text-muted) !important;

  text-align: center !important;

  font-size: 12px !important;
}

.pending-original,
.fee-source {
  display: block;

  margin-top: 3px;

  color: #98a2b3;

  font-size: 10px;
  font-weight: 500;
}


/* =========================================================
   MODALS
   ========================================================= */

.crm-modal,
.customer-modal {
  backdrop-filter: blur(3px);
}

.crm-modal-backdrop,
.customer-modal-backdrop {
  background: rgba(13,16,20,.52);
}

.crm-modal-card,
.customer-modal-card {
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;

  background: #fff;

  box-shadow:
    0 24px 60px rgba(0,0,0,.22);

  animation:
    ba-modal-in
    170ms
    ease-out;
}

.crm-modal-header,
.customer-modal-header {
  padding-bottom: 15px;

  border-bottom: 1px solid var(--ba-border);
}

.crm-modal-header h2,
.customer-modal-header h2 {
  margin: 3px 0 0;

  font-size: 20px;
  letter-spacing: -.02em;
}

.crm-modal-close,
.modal-close {
  border: 1px solid var(--ba-border);
  background: #f7f8fa;
  color: #667085;
}

.crm-modal-close:hover,
.modal-close:hover {
  background: #eef0f3;
  color: #222;
}

.crm-modal-hint,
.customer-modal-note {
  padding: 12px 13px;

  border: 1px solid #e6e8ec;
  border-radius: 9px;

  background: #f8f9fb;

  color: #667085;

  font-size: 11px;
  line-height: 1.5;
}

.service-windtre-reference {
  border: 1px solid #e6e8ec !important;
  background: #fafbfc !important;
}

.restore-windtre-button {
  border-color: #f2c7a8 !important;
  background: #fff8f2 !important;
  color: #d96516 !important;
}

@keyframes ba-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

* {
  scrollbar-width: thin;
  scrollbar-color:
    #c7cbd2
    transparent;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;

  background:
    #c7cbd2
    padding-box;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  :root {
    --ba-sidebar-width: 210px;
  }

  .customers-main,
  .customer-detail-main {
    padding:
      28px
      24px
      50px;
  }

  .customers-stats,
  .customer-summary-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}


@media (max-width: 780px) {

  :root {
    --ba-sidebar-width: 184px;
  }

  .sidebar {
    padding:
      14px
      10px;
  }

  .sidebar-link {
    padding: 0 8px;
    font-size: 12px;
  }

  .sidebar-brand {
    padding-left: 6px;
    padding-right: 6px;
  }

  .customers-main,
  .customer-detail-main {
    padding:
      22px
      16px
      40px;
  }

  .customers-header,
  .customer-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .customers-stats,
  .customer-summary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .customers-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   DATABASE CLIENTI — SEARCH BAR FIX
   ========================================================= */

.customers-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.customers-toolbar .customers-search {
  flex: 1 1 auto !important;

  width: auto !important;
  max-width: none !important;
  min-width: 400px !important;
}

.customers-toolbar .customers-search input {
  display: block !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  height: 44px !important;
}

.customers-toolbar > select {
  flex: 0 0 220px !important;

  width: 220px !important;
  max-width: 220px !important;

  height: 44px !important;
}


/* Tablet / mobile */

@media (max-width: 850px) {

  .customers-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .customers-toolbar .customers-search {
    width: 100% !important;
    min-width: 0 !important;
  }

  .customers-toolbar > select {
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
  }
}

/* Nome cliente cliccabile senza aspetto da link */
.customer-name-link {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.customer-name-link:visited {
  color: inherit !important;
}

.customer-name-link:hover {
  color: #202329 !important;
  text-decoration: underline !important;
  text-decoration-color: #c3c7ce !important;
  text-underline-offset: 3px;
}

.customer-name-link:focus-visible {
  color: inherit !important;
}

/* =========================================================
   DASHBOARD — LIVE UI
   ========================================================= */

.summary-card-money {
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #fff8f2 100%
    ) !important;
}

.summary-card-money > strong {
  color: #d96516 !important;
}


/* Le righe operative sono link,
   ma non devono sembrare link HTML */

.module-row-link,
.module-row-link:visited {
  color: inherit !important;
  text-decoration: none !important;
}

.module-row-link h3,
.module-row-link p {
  color: inherit;
  text-decoration: none !important;
}

.module-row-link h3 {
  color: #202329 !important;
}

.module-row-link p {
  color: #667085 !important;
}

.module-row-link:hover {
  background: #fffaf6;
}

.module-row-link:hover h3 {
  color: #d96516 !important;
}


/* Badge operativo */

.module-status-live {
  background: #eaf8f1 !important;
  color: #16794c !important;
  text-decoration: none !important;
}


/* Moduli futuri */

.module-row-disabled {
  opacity: .68;
}


/* Ultimo report */

.dashboard-report-info {
  display: grid;
  gap: 3px;

  text-align: right;
}

.dashboard-report-info span {
  color: #98a2b3;
  font-size: 10px;
}

.dashboard-report-info strong {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   WHATSAPP / OPENWA CONNECTION
   ========================================================= */

.whatsapp-connection-card {
  margin: 18px 0 22px;
  padding: 22px;

  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
}

.whatsapp-connection-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.whatsapp-connection-heading h2 {
  margin: 4px 0 5px;
}

.whatsapp-connection-heading p {
  margin: 0;
  color: #667085;
}

.whatsapp-connection-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-connection-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;

  border-radius: 999px;
  background: #fff4e8;
  color: #b8530d;

  font-size: 12px;
  font-weight: 700;
}

.whatsapp-connection-status[data-status="ready"] {
  background: #eaf8f1;
  color: #16794c;
}

.whatsapp-connection-status[data-status="failed"],
.whatsapp-connection-status[data-status="disconnected"] {
  background: #fff0f0;
  color: #b42318;
}

.whatsapp-connection-body {
  margin-top: 20px;
}

.whatsapp-qr-wrap {
  display: flex;
  align-items: center;
  gap: 22px;

  margin-bottom: 20px;
  padding: 18px;

  background: #f8f9fb;
  border: 1px solid #eceef2;
  border-radius: 14px;
}

.whatsapp-qr-wrap[hidden] {
  display: none;
}

.whatsapp-qr-box {
  flex: 0 0 auto;

  width: 220px;
  height: 220px;

  padding: 10px;

  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 12px;
}

.whatsapp-qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-qr-wrap strong {
  display: block;
  margin-bottom: 6px;

  font-size: 16px;
}

.whatsapp-qr-wrap p {
  max-width: 480px;
  margin: 0;

  color: #667085;
  line-height: 1.55;
}

.whatsapp-connection-details {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 12px;

  margin-bottom: 16px;
}

.whatsapp-connection-details > div {
  padding: 14px;

  background: #f8f9fb;
  border-radius: 12px;
}

.whatsapp-connection-details span {
  display: block;
  margin-bottom: 5px;

  color: #98a2b3;
  font-size: 11px;
  font-weight: 600;
}

.whatsapp-connection-details strong {
  color: #202329;
  font-size: 14px;
}


@media (max-width: 760px) {

  .whatsapp-connection-heading {
    flex-direction: column;
  }

  .whatsapp-connection-actions {
    width: 100%;
    justify-content: space-between;
  }

  .whatsapp-qr-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-connection-details {
    grid-template-columns: 1fr;
  }

}
