:root {
  --consent-ink: #062544;
  --consent-blue: #167d79;
  --consent-blue-dark: #0e6865;
  --consent-border: #e5e9f2;
  --consent-muted: #536f8d;
  --consent-surface: #f4f8f7;
  --consent-success: #168a55;
  --consent-danger: #c93939;
}

.consent-page {
  background: var(--consent-surface);
  color: var(--consent-ink);
  min-height: 720px;
  overflow: hidden;
  padding: 170px 0 74px;
  position: relative;
}

.consent-page::before,
.consent-page::after {
  border: 54px solid rgba(22, 125, 121, .075);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  position: absolute;
}

.consent-page::before {
  height: 330px;
  left: -185px;
  top: 395px;
  width: 330px;
}

.consent-page::after {
  background: rgba(22, 125, 121, .075);
  border: 0;
  height: 300px;
  right: -145px;
  top: -75px;
  width: 300px;
}

.consent-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.consent-access-layout {
  align-items: center;
  display: grid;
  gap: clamp(58px, 8vw, 118px);
  grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
  margin: 0 auto;
}

.consent-heading {
  margin: 0;
  max-width: 560px;
  text-align: left;
}

.consent-eyebrow {
  align-items: center;
  background: #eefaf8;
  border: 1px solid #b9e2dd;
  border-radius: 999px;
  color: var(--consent-blue);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: .08em;
  margin-bottom: 22px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.consent-eyebrow svg { height: 14px; width: 14px; }

.consent-heading h1 {
  color: var(--consent-ink);
  font-size: clamp(38px, 4.3vw, 56px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 540px;
}

.consent-heading h1 span { color: var(--consent-blue); display: block; }

.consent-heading p {
  color: var(--consent-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}

.consent-benefits {
  border-top: 1px solid #d7dfeb;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  padding-top: 24px;
}

.consent-benefit {
  color: #36506f;
  display: grid;
  font-size: 12px;
  grid-template-columns: 20px 1fr;
  line-height: 1.4;
}

.consent-benefit-icon {
  align-items: flex-start;
  color: var(--consent-blue);
  display: inline-flex;
  font-weight: 800;
  grid-row: 1 / span 2;
}

.consent-benefit-icon svg { height: 17px; width: 17px; }

.consent-benefit strong { color: #193654; font-size: 12px; }
.consent-benefit small { color: #8492a7; font-size: 10px; }

.consent-page.is-dashboard .consent-heading { display: none; }
.consent-page.is-dashboard .consent-access-layout { display: block; }
.consent-page.is-dashboard::before,
.consent-page.is-dashboard::after { display: none; }
.consent-page.is-dashboard { padding-top: 170px; }

.consent-card {
  background: #fff;
  border: 1px solid var(--consent-border);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(16, 21, 42, .1);
  margin: 0 auto;
  max-width: 440px;
  overflow: hidden;
  scroll-margin-top: 150px;
  width: 100%;
}

.consent-login { padding: 37px 36px 35px; }

.consent-login-step[hidden],
.consent-dashboard[hidden],
.consent-alert[hidden] {
  display: none !important;
}

.consent-lock {
  align-items: center;
  background: rgba(22, 125, 121, .1);
  border-radius: 14px;
  color: var(--consent-blue);
  display: flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 22px;
  width: 46px;
}

.consent-lock svg,
.consent-channel-icon svg {
  height: 23px;
  width: 23px;
}

.consent-login h2,
.consent-dashboard h2 {
  color: var(--consent-ink);
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 8px;
}

.consent-login-copy {
  color: var(--consent-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.consent-label {
  color: var(--consent-ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.consent-phone-field {
  align-items: center;
  border: 1px solid #d7dce6;
  border-radius: 10px;
  display: flex;
  min-height: 56px;
  transition: border-color .2s, box-shadow .2s;
}

.consent-phone-field:focus-within {
  border-color: var(--consent-blue);
  box-shadow: 0 0 0 4px rgba(22, 125, 121, .11);
}

.consent-prefix {
  border-right: 1px solid #e1e5ed;
  color: #344054;
  font-weight: 700;
  padding: 0 16px;
}

.consent-phone-field input {
  background: transparent;
  border: 0;
  color: var(--consent-ink);
  flex: 1;
  font-size: 17px;
  height: 54px;
  letter-spacing: .03em;
  min-width: 0;
  outline: 0;
  padding: 0 16px;
}

.consent-phone-field input::placeholder {
  color: #9aa9bd !important;
  opacity: 1;
}

.consent-btn {
  align-items: center;
  background: var(--consent-blue);
  border: 1px solid var(--consent-blue);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  transition: background .2s, border-color .2s, transform .2s;
}

.consent-btn svg { height: 14px; margin-left: 7px; width: 14px; }

.consent-btn:hover,
.consent-btn:focus {
  background: var(--consent-blue-dark);
  border-color: var(--consent-blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.consent-btn:disabled {
  cursor: wait;
  opacity: .66;
  transform: none;
}

.consent-btn-block {
  margin-top: 20px;
  width: 100%;
}

.consent-back {
  align-items: center;
  background: none;
  border: 0;
  color: var(--consent-blue);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 28px;
  padding: 0;
}

.consent-back svg { height: 14px; margin-right: 5px; width: 14px; }

.consent-otp {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 4px;
}

.consent-otp input {
  background: #fff;
  border: 1px solid #c8d4e5;
  border-radius: 12px;
  caret-color: var(--consent-blue);
  color: var(--consent-ink);
  font-size: 20px;
  font-weight: 700;
  height: 55px;
  min-width: 0;
  outline: none;
  text-align: center;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.consent-otp input:focus {
  background: #fff;
  border-color: var(--consent-blue);
  box-shadow: 0 0 0 3px rgba(22, 125, 121, .15);
}

#consent-otp-step h2 {
  font-size: 27px;
  line-height: 1.2;
  margin-bottom: 11px;
}

#consent-otp-step .consent-login-copy {
  margin-bottom: 27px;
}

#consent-otp-step .consent-btn-block {
  margin-top: 5px;
  box-shadow: 0 10px 22px rgba(22, 125, 121, .18);
}

.consent-resend {
  color: #8290a5;
  font-size: 12px;
  margin-top: 18px;
  text-align: center;
}

.consent-resend button {
  background: none;
  border: 0;
  color: var(--consent-blue);
  cursor: pointer;
  font-size: inherit;
  padding: 0;
}

.consent-resend button:disabled {
  color: #657792;
  cursor: default;
}

.consent-error {
  color: var(--consent-danger);
  font-size: 13px;
  min-height: 20px;
  padding-top: 6px;
}

.consent-security-note {
  align-items: center;
  border-top: 1px solid #e3e8f0;
  color: #8290a5;
  display: flex;
  font-size: 10px;
  gap: 7px;
  justify-content: center;
  margin-top: 18px;
  padding-top: 15px;
  text-align: center;
}

.consent-security-note svg { flex: 0 0 12px; height: 12px; width: 12px; }

.consent-alert {
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.consent-alert.is-error {
  background: #fff1f1;
  color: #a52727;
}

.consent-alert.is-success {
  background: #edfaf4;
  color: #087846;
}

.consent-dashboard-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--consent-border);
  display: flex;
  justify-content: space-between;
  padding: 32px 36px 26px;
}

.consent-dashboard-header p {
  color: var(--consent-muted);
  margin: 5px 0 0;
}

.consent-mobile-pill {
  color: #173451;
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.consent-dashboard-body {
  padding: 28px 36px 34px;
}

.consent-dashboard-body > p {
  color: var(--consent-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.consent-channel-list {
  border: 1px solid var(--consent-border);
  border-radius: 14px;
  overflow: hidden;
}

.consent-channel {
  align-items: center;
  display: grid;
  gap: 15px;
  grid-template-columns: 46px 1fr auto;
  min-height: 88px;
  padding: 16px 18px;
}

.consent-channel + .consent-channel {
  border-top: 1px solid var(--consent-border);
}

.consent-channel-icon {
  align-items: center;
  background: #f0f3fa;
  border-radius: 12px;
  color: var(--consent-blue);
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.consent-channel-name {
  color: var(--consent-ink);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.consent-channel-copy {
  color: var(--consent-muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-switch {
  display: inline-block;
  height: 28px;
  position: relative;
  width: 50px;
}

.consent-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.consent-switch-track {
  background: #c8ced9;
  border-radius: 999px;
  cursor: pointer;
  inset: 0;
  position: absolute;
  transition: .2s;
}

.consent-switch-track::before {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(16, 21, 42, .25);
  content: "";
  height: 22px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: .2s;
  width: 22px;
}

.consent-switch input:checked + .consent-switch-track {
  background: var(--consent-blue);
}

.consent-switch input:checked + .consent-switch-track::before {
  transform: translateX(22px);
}

.consent-switch input:focus-visible + .consent-switch-track {
  box-shadow: 0 0 0 4px rgba(22, 125, 121, .14);
}

.consent-switch input:disabled + .consent-switch-track {
  cursor: wait;
  opacity: .65;
}

.consent-status-row {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: space-between;
  margin-top: 22px;
}

.consent-save-status {
  align-items: center;
  color: var(--consent-success);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

.consent-save-status::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.consent-logout {
  align-items: center;
  background: #e8f7f5;
  border: 0;
  border-radius: 50%;
  color: #168b84;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  transition: background .2s, transform .2s;
  width: 34px;
}

.consent-logout svg { height: 17px; width: 17px; }
.consent-logout:hover,
.consent-logout:focus-visible { background: #d5efeb; outline: none; transform: translateX(2px); }

.consent-loading {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 3;
}

.consent-loading[hidden] { display: none; }

.consent-spinner {
  animation: consent-spin .75s linear infinite;
  border: 3px solid #dde3f0;
  border-radius: 50%;
  border-top-color: var(--consent-blue);
  height: 34px;
  width: 34px;
}

@keyframes consent-spin { to { transform: rotate(360deg); } }

@media (max-width: 991.98px) {
  .consent-page { padding-top: 120px; }
}

@media (max-width: 575.98px) {
  .consent-page { padding: 105px 0 48px; }
  .consent-shell { padding: 0 15px; }
  .consent-heading { margin-bottom: 24px; }
  .consent-heading h1 { font-size: 31px; }
  .consent-heading p { font-size: 15px; }
  .consent-card { border-radius: 16px; }
  .consent-login { padding: 27px 20px; }
  .consent-otp { gap: 6px; }
  .consent-otp input { border-radius: 8px; font-size: 19px; height: 49px; }
  .consent-dashboard-header { display: block; padding: 24px 20px 20px; }
  .consent-mobile-pill { display: inline-block; margin-top: 14px; }
  .consent-dashboard-body { padding: 22px 18px 26px; }
  .consent-channel { gap: 11px; grid-template-columns: 42px 1fr auto; padding: 14px 12px; }
  .consent-channel-icon { height: 42px; width: 42px; }
  .consent-channel-copy { display: none; }
  .consent-status-row { align-items: flex-start; flex-direction: column; }
}

/* Consent dashboard and revoke flow */
.consent-card.is-dashboard {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: 1100px;
  overflow: visible;
}

.consent-card.is-dashboard > .consent-alert {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.consent-card.is-dashboard .consent-dashboard {
  background: transparent;
}

.consent-card.is-dashboard .consent-dashboard-header {
  border: 0;
  padding: 0 0 32px;
}

.consent-dashboard-eyebrow {
  color: #087f7a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.consent-card.is-dashboard .consent-dashboard-header h2 {
  color: #09203f;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.16;
  margin: 0;
}

.consent-card.is-dashboard .consent-dashboard-header p {
  color: #55779d;
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0 0;
}

.consent-identity {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.consent-account-row {
  align-items: center;
  display: flex;
  gap: 14px;
  max-width: 100%;
}

.consent-account-copy {
  line-height: 1.2;
  min-width: 0;
  text-align: right;
}

.consent-customer-name {
  color: #09203f;
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 5px;
  max-width: 260px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.consent-customer-name[hidden] { display: none !important; }

.consent-account-copy small {
  color: #91a0b4;
  display: block;
  font-size: 9px;
  margin-top: 4px;
}

.consent-verified {
  align-items: center;
  background: #edfaf8;
  border: 1px solid #bde7e1;
  border-radius: 10px;
  color: #087f7a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  padding: 9px 12px;
  white-space: nowrap;
}

.consent-verified svg { height: 16px; width: 16px; }

.consent-card.is-dashboard .consent-status-row {
  align-items: center;
  justify-content: center;
}

.consent-card.is-dashboard .consent-save-status {
  color: #8195ad;
  font-size: 11px;
  font-weight: 400;
  gap: 8px;
}

.consent-card.is-dashboard .consent-save-status::before {
  background: center / 13px 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238195ad' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='10' width='13' height='10' rx='1.5'/%3E%3Cpath d='M8.5 10V7.5a3.5 3.5 0 0 1 7 0V10'/%3E%3C/svg%3E");
  border-radius: 0;
  flex: 0 0 13px;
  height: 13px;
  width: 13px;
}

.consent-card.is-dashboard .consent-dashboard-body {
  padding: 0;
}

.consent-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 31px;
}

.consent-summary-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(16, 21, 42, .025);
  display: flex;
  justify-content: space-between;
  min-height: 114px;
  padding: 21px 20px;
}

.consent-summary-card span {
  color: #5e7090;
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 19px;
}

.consent-summary-card strong {
  color: #09203f;
  font-size: 24px;
  line-height: 1;
}

.consent-summary-icon {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  font-style: normal;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.consent-summary-icon svg { height: 16px; width: 16px; }

.consent-summary-icon.is-companies { background: #edf2f8; color: #577698; }
.consent-summary-icon.is-active { background: #e5f6f2; color: #108b82; }
.consent-summary-icon.is-channels { background: #fff1dc; color: #d6922e; }

.consent-tabs {
  border-bottom: 1px solid #cbd6e5;
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
}

.consent-tab {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #60718d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: -1px;
  padding: 0 0 11px;
}

.consent-tab.is-active {
  border-bottom-color: #128a85;
  color: #087f7a;
}

.consent-tab span {
  background: #e8eef5;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  justify-content: center;
  margin-left: 4px;
  min-width: 18px;
  padding: 2px 5px;
}

.consent-tab.is-active span {
  background: #dff3f0;
}

.consent-company-list {
  display: grid;
  gap: 12px;
}

.consent-company-card {
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(16, 21, 42, .025);
  overflow: hidden;
}

.consent-company-head {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr auto auto;
  min-height: 92px;
  padding: 17px 24px;
}

.consent-company-head[data-expand] { cursor: pointer; }

.consent-company-head[data-expand]:focus-visible {
  outline: 2px solid #168f89;
  outline-offset: -3px;
}

.consent-company-logo {
  align-items: center;
  background: #eef4ff;
  border-radius: 10px;
  color: #2967c8;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.consent-company-logo svg { height: 17px; width: 17px; }

.consent-company-card:nth-child(3n + 1) .consent-company-logo { background: #fff0f3; color: #c74c68; }
.consent-company-card:nth-child(3n + 2) .consent-company-logo { background: #eaf2ff; color: #3d72bd; }
.consent-company-card:nth-child(3n) .consent-company-logo { background: #f2ecff; color: #7959c8; }

.consent-company-name {
  align-items: center;
  color: #112846;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
}

.consent-company-description {
  color: #6f809b;
  font-size: 12px;
  margin-top: 4px;
}

.consent-state-pill {
  background: #e5f6f1;
  border-radius: 999px;
  color: #078476;
  font-size: 8px;
  font-weight: 800;
  padding: 4px 7px;
  text-transform: uppercase;
}

.consent-state-pill.is-revoked {
  background: #fff0ef;
  color: #c43e3e;
}

.consent-state-pill.is-unknown {
  background: #eef2f6;
  color: #61728e;
}

.consent-validity {
  color: #61728e;
  font-size: 9px;
  min-width: 92px;
  text-align: right;
}

.consent-validity strong {
  color: #17375f;
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.consent-company-expand {
  align-items: center;
  background: none;
  border: 0;
  color: #52708f;
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  transition: transform .2s ease, color .2s ease;
  width: 34px;
}

.consent-company-expand:hover { color: #0c7e7a; }
.consent-company-expand svg { height: 13px; width: 13px; }
.consent-company-card.is-open .consent-company-expand { transform: rotate(90deg); }

.consent-company-details {
  border-top: 1px solid #e1e7ef;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 260px;
  min-height: 143px;
  padding: 20px 24px;
}

.consent-company-details[hidden] { display: none; }

.consent-company-details-title {
  color: #1d3555;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.consent-company-details-copy {
  color: #71819a;
  font-size: 12px;
  margin-bottom: 16px;
}

.consent-company-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-channel-chip {
  align-items: center;
  border: 1px solid #cbd7e4;
  border-radius: 8px;
  color: #29445f;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-height: 46px;
  min-width: 146px;
  padding: 9px 12px;
}

.consent-channel-chip:has(input:checked) {
  background: #f1fbfa;
  border-color: #74c8c1;
}

.consent-channel-chip.is-unavailable {
  background: #f7f9fb;
  color: #61728e;
  font-weight: 600;
}

.consent-channel-unavailable {
  color: #7b8ba2;
  font-size: 10px;
  font-weight: 600;
  margin-left: auto;
}

.consent-channel-chip-icon {
  align-items: center;
  color: #2d7182;
  display: inline-flex;
  flex: 0 0 16px;
  justify-content: center;
  line-height: 1;
}

.consent-channel-chip-icon svg { height: 16px; width: 16px; }
.consent-channel-chip-icon .fa-whatsapp { font-size: 16px; }

.consent-channel-chip .consent-switch {
  height: 22px;
  margin-left: auto;
  width: 39px;
}

.consent-channel-chip .consent-switch-track::before {
  height: 18px;
  left: 2px;
  top: 2px;
  width: 18px;
}

.consent-channel-chip .consent-switch input:checked + .consent-switch-track {
  background: #168f89;
}

.consent-channel-chip .consent-switch input:checked + .consent-switch-track::before {
  transform: translateX(17px);
}

.consent-company-actions {
  border-left: 1px solid #e0e6ee;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  padding-left: 24px;
}

.consent-company-action {
  align-items: center;
  background: none;
  border: 0;
  color: #45617f;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  gap: 9px;
  padding: 3px 0;
  text-align: left;
}

.consent-company-action.is-danger {
  color: #c43e3e;
  font-weight: 700;
}

.consent-company-action.is-muted {
  color: #71819a;
  cursor: default;
}

.consent-action-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 15px;
  justify-content: center;
}

.consent-action-icon svg { height: 15px; width: 15px; }

.consent-empty {
  background: #fff;
  border: 1px dashed #cbd7e4;
  border-radius: 13px;
  color: #71819a;
  padding: 38px 20px;
  text-align: center;
}

.consent-modal[hidden] { display: none; }

.consent-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 10050;
}

.consent-modal-backdrop {
  background: rgba(37, 55, 76, .52);
  inset: 0;
  position: absolute;
  backdrop-filter: blur(4px);
}

.consent-modal-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(16, 21, 42, .24);
  max-width: 450px;
  padding: 30px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.consent-details-modal-panel {
  border: 1px solid rgba(6, 37, 68, .1);
  max-height: min(88vh, 780px);
  max-width: 920px;
  overflow: hidden;
  padding: 0;
}

.consent-details-heading {
  align-items: center;
  background: var(--consent-ink);
  display: flex;
  gap: 10px;
  min-height: 64px;
  padding: 17px 58px 17px 26px;
}

.consent-modal-panel .consent-details-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}

.consent-details-heading .consent-state-pill {
  background: #e5f6f1;
  color: #087b6e;
  flex: 0 0 auto;
  font-size: 9px;
}

.consent-details-modal-panel .consent-modal-close {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  right: 22px;
  top: 18px;
}

.consent-details-modal-panel .consent-modal-close:hover,
.consent-details-modal-panel .consent-modal-close:focus {
  color: #7dd3cc;
  outline: 2px solid rgba(125, 211, 204, .65);
  outline-offset: 3px;
}

.consent-details-body {
  color: var(--consent-ink);
  font-family: inherit;
  line-height: 1.5;
  max-height: calc(min(88vh, 780px) - 64px);
  overflow-y: auto;
  padding: 8px 26px 26px;
  scrollbar-color: var(--consent-blue) #edf2f6;
  scrollbar-width: thin;
}

.consent-detail-section {
  border-bottom: 1px solid #e0e7ef;
  padding: 18px 0;
}

.consent-detail-section:last-child { border-bottom: 0; }

.consent-detail-section h4 {
  color: var(--consent-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.consent-detail-grid {
  display: grid;
  gap: 14px 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consent-detail-field { min-width: 0; }

.consent-detail-field-wide { grid-column: 1 / -1; }

.consent-detail-field > span {
  color: var(--consent-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.consent-detail-field > strong {
  color: var(--consent-ink);
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.consent-detail-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.consent-detail-channel {
  border: 1px solid #cbd7e4;
  border-radius: 5px;
  color: #61728e;
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
}

.consent-detail-channel.is-active {
  background: #edfaf6;
  border-color: #81d1bf;
  color: #087b6e;
}

.consent-detail-channel.is-inactive {
  background: #f5f7fa;
  color: #71819a;
}

.consent-detail-unavailable,
.consent-detail-table-empty,
.consent-detail-history-empty {
  color: #7b8ba2;
  font-size: 11px;
}

.consent-detail-table-wrap { overflow-x: auto; }

.consent-detail-table {
  border-collapse: collapse;
  min-width: 650px;
  width: 100%;
}

.consent-detail-table th,
.consent-detail-table td {
  border-bottom: 1px solid #e4eaf1;
  color: #405a76;
  font-size: 11px;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.consent-detail-table th {
  background: #f6f9fb;
  color: var(--consent-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.consent-detail-table-empty { text-align: center !important; }

.consent-detail-history {
  list-style: none;
  margin: 0;
  padding: 0;
}

.consent-detail-history li {
  align-items: flex-start;
  color: #516984;
  display: flex;
  font-size: 13px;
  gap: 9px;
  padding: 5px 0;
}

.consent-history-dot {
  background: #19a8b2;
  border-radius: 50%;
  flex: 0 0 7px;
  height: 7px;
  margin-top: 5px;
  width: 7px;
}

.consent-detail-history strong { color: var(--consent-ink); font-weight: 700; }
.consent-detail-history time { color: var(--consent-muted); display: inline; font-size: 12px; margin-left: 5px; white-space: nowrap; }

.consent-modal-close {
  background: none;
  border: 0;
  color: #71819a;
  cursor: pointer;
  font-size: 22px;
  position: absolute;
  right: 20px;
  top: 16px;
}

.consent-modal-icon {
  align-items: center;
  background: #fff0ef;
  border-radius: 10px;
  color: #d34b49;
  display: flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 22px;
  width: 44px;
}

.consent-modal-icon svg { height: 21px; width: 21px; }

.consent-modal-panel h3 {
  color: #1b3554;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.consent-modal-panel > p {
  color: #60718e;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.consent-modal-panel > p strong { color: #284562; }

.consent-modal-warning {
  background: #fff8f7;
  border: 1px solid #f1b9b4;
  border-radius: 9px;
  color: #b24c48;
  font-size: 12px;
  line-height: 1.55;
  padding: 14px;
}

.consent-modal-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.consent-modal-keep,
.consent-modal-confirm {
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  min-height: 46px;
}

.consent-modal-keep {
  background: #fff;
  border: 1px solid #b8c7da;
  color: #405a76;
}

.consent-modal-confirm {
  background: #c94240;
  border: 1px solid #c94240;
  color: #fff;
}

.consent-modal-confirm:disabled { cursor: wait; opacity: .65; }

body.consent-modal-open { overflow: hidden; }

@media (max-width: 767.98px) {
  .consent-modal { padding: 10px; }
  .consent-details-modal-panel { border-radius: 13px; max-height: 92vh; }
  .consent-details-body { max-height: calc(92vh - 64px); padding: 6px 16px 20px; }
  .consent-details-heading { padding-left: 16px; }
  .consent-detail-grid { gap: 12px 16px; grid-template-columns: 1fr; }
  .consent-detail-field-wide { grid-column: auto; }
  .consent-card.is-dashboard .consent-dashboard-header { display: block; }
  .consent-identity { align-items: flex-end; margin-top: 16px; width: 100%; }
  .consent-account-row { justify-content: flex-end; width: 100%; }
  .consent-account-copy { max-width: calc(100% - 58px); }
  .consent-customer-name { max-width: 100%; }
  .consent-summary { gap: 10px; grid-template-columns: 1fr; }
  .consent-summary-card { min-height: 82px; padding: 15px 18px; }
  .consent-summary-card span { margin-bottom: 4px; }
  .consent-company-head { grid-template-columns: 38px 1fr auto; padding: 12px; }
  .consent-company-logo { height: 38px; width: 38px; }
  .consent-validity { display: none; }
  .consent-company-details { grid-template-columns: 1fr; }
  .consent-company-actions { border-left: 0; border-top: 1px solid #e0e6ee; padding: 14px 0 0; }
  .consent-channel-chip { flex: 1 1 calc(50% - 8px); min-width: 130px; }
  .consent-mobile-pill { margin-top: 0; }
  .consent-card.is-dashboard .consent-status-row { align-items: center; }
}

@media (max-width: 420px) {
  .consent-details-modal-panel { padding: 0; }
  .consent-modal-panel .consent-details-heading h3 { font-size: 17px; }
  .consent-details-heading { gap: 7px; padding-right: 48px; }
  .consent-details-modal-panel .consent-modal-close { right: 16px; }
  .consent-detail-field > strong { font-size: 13px; }
  .consent-detail-history li { font-size: 12px; }
  .consent-detail-history time { font-size: 11px; }
  .consent-card.is-dashboard .consent-dashboard-header h2 { font-size: 24px; }
  .consent-customer-name { font-size: 13px; }
  .consent-company-description { display: none; }
  .consent-channel-chip { flex-basis: 100%; }
  .consent-modal-panel { padding: 24px 20px 20px; }
  .consent-modal-actions { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .consent-page { padding-top: 130px; }
  .consent-page.is-dashboard { padding-top: 130px; }
  .consent-card { scroll-margin-top: 115px; }
  .consent-access-layout {
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  }
  .consent-heading h1 { font-size: 40px; }
}

@media (max-width: 820px) {
  .consent-page { padding: 125px 0 58px; }
  .consent-access-layout {
    gap: 34px;
    grid-template-columns: 1fr;
  }
  .consent-heading {
    margin: 0 auto;
    max-width: 590px;
    text-align: center;
  }
  .consent-heading h1,
  .consent-heading p { margin-left: auto; margin-right: auto; }
  .consent-benefits { text-align: left; }
  .consent-card { max-width: 500px; }
}

@media (max-width: 575.98px) {
  .consent-page { padding: 105px 0 44px; }
  .consent-page.is-dashboard { padding-top: 105px; }
  .consent-card { scroll-margin-top: 90px; }
  .consent-shell { padding: 0 15px; }
  .consent-heading { margin-bottom: 0; }
  .consent-heading h1 { font-size: 34px; }
  .consent-heading p { font-size: 14px; }
  .consent-eyebrow { font-size: 9px; margin-bottom: 16px; }
  .consent-benefits { gap: 8px; margin-top: 24px; padding-top: 18px; }
  .consent-benefit { grid-template-columns: 16px 1fr; }
  .consent-benefit strong { font-size: 10px; }
  .consent-benefit small { font-size: 9px; }
  .consent-login { padding: 28px 20px; }
}
