/* Hayyak — Bootstrap 5 extensions & brand */

:root {
  --hayyak-brand: #0b2f4a;
  --hayyak-brand-deep: #061a2b;
  --hayyak-accent: #0d6efd;
  --hayyak-orange: #e8541e;
}

/* English default: DM Sans | Arabic (?LANG=AR): Cairo */
body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.legal-lang-en,
html[lang="en"] body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.legal-lang-ar,
html[lang="ar"] body,
html[dir="rtl"] body {
  font-family: "Cairo", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.legal-lang-zh,
html[lang="zh"] body {
  font-family: "Noto Sans SC", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.bg-brand {
  background: linear-gradient(135deg, var(--hayyak-brand) 0%, #123d5c 50%, var(--hayyak-brand-deep) 100%) !important;
}

.border-brand-deep {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.brand-icon--footer {
  background: rgba(255, 255, 255, 0.12);
}

.footer-darker {
  background: linear-gradient(180deg, #050d14 0%, var(--hayyak-brand-deep) 100%);
}

.hero-gradient {
  background: linear-gradient(135deg, #0b2f4a 0%, #164a6e 45%, #0d3a58 100%);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.hero-visual {
  position: relative;
}

.hero-img {
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-floating {
  bottom: -0.5rem;
  right: 1rem;
  max-width: 220px;
  animation: floaty 5s ease-in-out infinite;
}

@media (min-width: 992px) {
  .hero-floating {
    right: -0.5rem;
    bottom: 10%;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.icon-tile {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.12) !important;
}

.lift:hover {
  transform: translateY(-4px);
}

.page-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-icon {
  font-size: 2rem;
  color: var(--hayyak-accent);
}

.letter-spacing {
  letter-spacing: 0.06em;
}

/* Legal body (from formatContent) */
.prose .content-block {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose .content-block:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--bs-body-color);
  font-weight: 600;
}

/* Admin sign-in backdrop */
.admin-body {
  background: linear-gradient(160deg, #e8eef5 0%, #f8fafc 40%, #eef2f7 100%);
}

/* Brand assets — wordmark PNG has a white matte; multiply blends it into the dark hero */
.hero-wordmark {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  /* Slightly lift mid-tones so Arabic/Latin marks stay readable on blue */
  filter: brightness(1.35) contrast(1.08);
}

@media (min-width: 992px) {
  .hero-wordmark {
    max-height: 88px;
  }
}

.footer-wordmark-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-logo-panel {
  max-width: min(100%, 280px);
}

/* —— Figma-style legal document (1169px frame, 832px text column) —— */
.legal-figma-page {
  background-color: #ffffff;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-figma-page.legal-lang-en {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-figma-page.legal-lang-ar,
html[lang="ar"] .legal-figma-page,
html[dir="rtl"] .legal-figma-page {
  font-family: "Cairo", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-figma-page.legal-lang-zh,
html[lang="zh"] .legal-figma-page {
  font-family: "Noto Sans SC", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-figma-shell {
  max-width: 1169px;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

.legal-doc-column {
  max-width: 832px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.container-doc {
  max-width: 832px;
}

.text-legal-heading {
  color: #101828;
}

.text-legal-body {
  color: #364153;
}

.legal-navbar {
  --bs-navbar-color: #364153;
  --bs-navbar-hover-color: #101828;
  --bs-navbar-active-color: #101828;
  border-color: rgba(16, 24, 40, 0.08) !important;
  box-shadow: none !important;
}

.legal-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  padding-block: 0.25rem;
  width: 100%;
}

.legal-navbar .navbar-brand {
  cursor: default;
  pointer-events: none;
  margin: 0 !important;
}

/* Language switcher — start side of nav (left in EN / right in AR RTL); hidden with body_only */
.legal-lang-switcher {
  position: relative;
  flex: 0 0 auto;
  z-index: 20;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}

body.legal-lang-ar .legal-lang-switcher {
  font-family: "Cairo", "DM Sans", system-ui, -apple-system, sans-serif;
}

body.legal-lang-zh .legal-lang-switcher {
  font-family: "Noto Sans SC", "DM Sans", system-ui, -apple-system, sans-serif;
}

.legal-lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.7rem 0.35rem 0.5rem;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #101828;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.legal-lang-switcher__toggle:hover,
.legal-lang-switcher.is-open .legal-lang-switcher__toggle {
  border-color: rgba(11, 47, 74, 0.28);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.1);
  background: #fafbfc;
}

.legal-lang-switcher__toggle:focus-visible {
  outline: 2px solid #0b2f4a;
  outline-offset: 2px;
}

.legal-lang-switcher__gt {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c55242;
}

.legal-lang-switcher__gt svg,
.legal-lang-switcher__icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

.legal-lang-switcher__toggle:hover .legal-lang-switcher__gt {
  color: #b04838;
}

.legal-lang-switcher__code {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 1.35rem;
}

.legal-lang-switcher__chevron {
  font-size: 0.75rem;
  color: #667085;
  transition: transform 0.15s ease;
}

.legal-lang-switcher.is-open .legal-lang-switcher__chevron {
  transform: rotate(180deg);
}

.legal-lang-switcher__menu {
  position: absolute;
  /* Anchor to outer edge: right in EN, left in AR */
  inset-inline-end: 0;
  inset-inline-start: auto;
  top: calc(100% + 0.45rem);
  min-width: 10.5rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #ffffff;
  border: none;
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.14), 0 2px 8px rgba(16, 24, 40, 0.06);
  z-index: 30;
}

.legal-lang-switcher__menu[hidden] {
  display: none !important;
}

.legal-lang-switcher__menu > li + li {
  margin-top: 0.25rem;
}

.legal-lang-switcher__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
  color: #1a1a1a;
  cursor: pointer;
  text-align: start;
  transition: background 0.15s ease, color 0.15s ease;
}

.legal-lang-switcher__option:hover,
.legal-lang-switcher__option:focus-visible {
  background: rgba(197, 82, 66, 0.08);
  outline: none;
}

.legal-lang-switcher__option-code {
  display: none;
}

.legal-lang-switcher__option-name {
  flex: 1 1 auto;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}

.legal-lang-switcher__option[data-lang="ar"] .legal-lang-switcher__option-name {
  font-family: "Cairo", "DM Sans", system-ui, sans-serif;
}

.legal-lang-switcher__option[data-lang="zh"] .legal-lang-switcher__option-name {
  font-family: "Noto Sans SC", "DM Sans", system-ui, sans-serif;
}

.legal-lang-switcher__check {
  opacity: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.legal-lang-switcher__option.is-active {
  background: #c55242;
  color: #ffffff;
}

.legal-lang-switcher__option.is-active:hover,
.legal-lang-switcher__option.is-active:focus-visible {
  background: #b04838;
  color: #ffffff;
}

.legal-lang-switcher__option.is-active .legal-lang-switcher__option-name,
.legal-lang-switcher__option.is-active .legal-lang-switcher__option-code {
  color: #ffffff;
}

.legal-lang-switcher__option.is-active .legal-lang-switcher__check {
  opacity: 1;
  color: #ffffff;
}

@media (max-width: 576px) {
  .legal-lang-switcher__code {
    display: none;
  }

  .legal-lang-switcher__toggle {
    padding-inline-end: 0.5rem;
  }
}

.legal-nav-logo {
  width: auto;
  height: 44px;
  max-width: min(140px, 36vw);
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .legal-nav-logo {
    height: 48px;
    max-width: 160px;
  }
}

@media (max-width: 576px) {
  .legal-nav-logo {
    height: 40px;
    max-width: min(120px, 34vw);
  }
}

.legal-figma-doc {
  min-height: 40vh;
}

.legal-doc-title {
  font-size: 3rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (max-width: 576px) {
  .legal-doc-title {
    font-size: 2.25rem;
  }
}

.legal-doc-updated {
  font-size: 1rem;
  font-weight: 400;
  color: #4a5565;
}

.legal-doc-sections.gap-legal > * + * {
  margin-top: 3rem;
}

.legal-doc-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-doc-section .legal-doc-h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.2;
  margin-bottom: 0;
}

.legal-doc-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.5rem;
  margin: 0;
}

.legal-doc-stack-item {
  font-size: 16px;
  line-height: 26px;
  color: #364153;
  margin: 0;
  position: relative;
}

.legal-doc-defs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
}

.legal-doc-def-item {
  font-size: 16px;
  line-height: 26px;
  color: #364153;
  font-weight: 400;
}

.legal-doc-def-item strong {
  font-weight: 700;
  color: #101828;
}

/* Figma body: font-normal text-[16px] leading-[26px] text-[#364153] */
.legal-doc-body-figma {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #364153;
}

.legal-doc-p {
  font-size: 16px;
  line-height: 26px;
  color: #364153;
  font-weight: 400;
  margin-bottom: 1rem;
}

.legal-doc-list {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: #364153;
  font-size: 16px;
  line-height: 26px;
  list-style-type: disc;
  list-style-position: outside;
}

.legal-doc-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.15rem;
}

.legal-doc-list li:last-child {
  margin-bottom: 0;
}

.legal-doc-list li::marker {
  color: #364153;
}

.legal-contact-box {
  background-color: #f9fafb;
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
  margin-top: 0.5rem;
}

.legal-contact-box .legal-doc-p {
  margin-bottom: 0.75rem;
}

.legal-contact-box .legal-doc-p:last-child {
  margin-bottom: 0;
}

.legal-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.legal-contact-row .legal-contact-icon {
  flex-shrink: 0;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #364153;
  margin-top: 0.2rem;
}

/* Dynamic pages (Terms, About, Delete): same typography as Figma body */
.legal-doc-prose .content-block {
  font-size: 16px;
  line-height: 26px;
  color: #364153;
  margin-bottom: 1rem;
}

.legal-doc-prose .content-block:last-child {
  margin-bottom: 0;
}

.legal-doc-prose strong {
  color: #101828;
  font-weight: 700;
}

.footer-figma {
  background-color: #101828;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
}

.footer-figma-logo {
  width: 120px;
  height: 120px;
  max-width: min(120px, 28vw);
  max-height: min(120px, 28vw);
  object-fit: contain;
}

@media (max-width: 576px) {
  .footer-figma-logo {
    width: 88px;
    height: 88px;
    max-width: 88px;
    max-height: 88px;
  }
}

.footer-figma-copy {
  font-size: 1rem;
  font-weight: 400;
  color: #99a1af;
}

/* ?body_only=true — legal content only (no navbar / footer / lang switcher), e.g. Hayyak in-app WebView */
html.body-only-mode .legal-navbar,
html.body-only-mode .footer-figma,
html.body-only-mode .legal-lang-switcher,
html.body-only-mode #legal-lang-switcher {
  display: none !important;
}

html.body-only-mode .legal-figma-shell,
html.body-only-mode .legal-figma-shell--body-only {
  max-width: none !important;
  min-height: auto !important;
}

html.body-only-mode body.legal-figma-page,
html.body-only-mode body.legal-figma-page--body-only {
  min-height: auto !important;
}

html.body-only-mode .legal-figma-doc {
  min-height: auto !important;
}

/* Delete account page — PDF document style */
.delete-account-page {
  --delete-accent: #a54a3a;
  --delete-warning-bg: #fdf2f0;
  --delete-border: #e0e0e0;
  --delete-label-bg: #f7f7f7;
  --delete-muted: #777777;
}

.delete-account-page .legal-doc-column.delete-account-doc {
  max-width: 832px;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.delete-account-brand {
  margin-bottom: 2rem;
}

.delete-account-logo {
  height: 3.25rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.delete-account-page .legal-doc-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #101828;
}

@media (min-width: 768px) {
  .delete-account-page .legal-doc-title {
    font-size: 2rem;
  }
}

.delete-account-page .legal-doc-updated {
  color: var(--delete-muted);
  font-size: 0.9375rem;
}

.delete-account-page .legal-doc-header {
  margin-bottom: 1.75rem !important;
}

.delete-account-sections > * + * {
  margin-top: 1.75rem;
}

.delete-account-page .legal-doc-section {
  gap: 0.75rem;
}

.delete-account-page .legal-doc-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.35;
}

.delete-account-subhead {
  font-size: 1rem;
  font-weight: 700;
  color: #101828;
  margin-top: 0.75rem;
}

.delete-account-warning {
  background-color: var(--delete-warning-bg);
  border: 1px solid var(--delete-accent);
  padding: 1.25rem 1.5rem;
  color: var(--delete-accent);
}

.delete-account-warning-title {
  font-weight: 700;
  margin-bottom: 0.75rem !important;
  font-size: 1rem;
  line-height: 1.5;
}

.delete-account-warning-text {
  font-size: 1rem;
  line-height: 1.625;
}

.delete-account-list {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
  color: #364153;
  font-size: 1rem;
  line-height: 1.625;
  list-style-type: disc;
  list-style-position: outside;
}

.delete-account-list li {
  margin-bottom: 0.35rem;
}

.delete-account-list li:last-child {
  margin-bottom: 0;
}

.delete-account-list strong {
  color: #101828;
  font-weight: 700;
}

.delete-account-page .legal-doc-p {
  margin-bottom: 0;
}

.delete-account-paragraph-spaced {
  margin-top: 0.75rem !important;
}

.delete-account-page .legal-doc-section .legal-doc-p a {
  color: #364153;
  text-decoration: underline;
  font-weight: 400;
}

.delete-account-contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.delete-account-contact-table th,
.delete-account-contact-table td {
  border: 1px solid var(--delete-border);
  padding: 0.875rem 1rem;
  vertical-align: middle;
  text-align: left;
}

.delete-account-contact-table th {
  width: 24%;
  background-color: var(--delete-label-bg);
  color: #667085;
  font-weight: 400;
}

.delete-account-contact-table td {
  background-color: #ffffff;
  color: #101828;
  font-weight: 700;
}

.delete-account-contact-table td a {
  color: #101828;
  font-weight: 700;
  text-decoration: none;
}

.delete-account-closing-note {
  font-size: 0.9375rem;
  line-height: 1.625;
  color: #667085;
}

.delete-account-footer {
  background: #ffffff;
  border-top: 1px solid var(--delete-border);
  margin-top: auto;
  padding: 0.75rem 0 1.5rem;
  flex-shrink: 0;
}

.delete-account-footer-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.delete-account-footer-inner p {
  font-size: 0.8125rem;
  color: var(--delete-muted);
}

html.body-only-mode .delete-account-page .delete-account-doc {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Legal pages — Arabic / RTL (?LANG=AR) */
html[dir="rtl"] .legal-doc-column,
html[dir="rtl"] .delete-account-doc {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .legal-doc-header {
  text-align: right;
}

html[dir="rtl"] .delete-account-list,
html[dir="rtl"] .legal-doc-list {
  padding-left: 0;
  padding-right: 1.5rem;
}

html[dir="rtl"] .legal-doc-stack {
  padding-left: 0;
  padding-right: 1.5rem;
}

html[dir="rtl"] .legal-doc-defs {
  text-align: right;
}

html[dir="rtl"] .delete-account-contact-table th,
html[dir="rtl"] .delete-account-contact-table td,
html[dir="rtl"] .legal-contact-row {
  text-align: right;
}

html[dir="rtl"] .legal-contact-row {
  flex-direction: row-reverse;
}

/* Legal package table & footer contact */
.table-responsive {
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.legal-package-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal-package-table th,
.legal-package-table td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 0.875rem;
  vertical-align: top;
  text-align: left;
}

.legal-package-table th {
  background-color: #f9fafb;
  color: #667085;
  font-weight: 600;
  white-space: nowrap;
}

.legal-package-table td {
  background-color: #ffffff;
  color: #101828;
  font-weight: 400;
}

.legal-package-table tbody tr:nth-child(even) td {
  background-color: #fcfcfd;
}

.legal-footer-contact .legal-contact-row {
  font-size: 0.9375rem;
}

.legal-footer-contact a {
  color: inherit;
}

html[dir="rtl"] .legal-package-table th,
html[dir="rtl"] .legal-package-table td {
  text-align: right;
}

/* Mobile: stack package rows as cards (Terms, About, etc.) */
@media (max-width: 767.98px) {
  .table-responsive {
    overflow: visible !important;
  }

  .legal-package-table {
    min-width: 0;
    border: 0;
  }

  .legal-package-table thead {
    display: none;
  }

  .legal-package-table,
  .legal-package-table tbody,
  .legal-package-table tr,
  .legal-package-table td {
    display: block;
    width: 100%;
  }

  .legal-package-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
  }

  .legal-package-table tbody tr {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.25rem 0.875rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  }

  .legal-package-table tbody tr:nth-child(even) td {
    background-color: transparent;
  }

  .legal-package-table td {
    border: 0;
    border-bottom: 1px solid #f2f4f7;
    padding: 0.75rem 0;
    text-align: left !important;
  }

  .legal-package-table td:last-child {
    border-bottom: 0;
  }

  .legal-package-table td::before {
    display: block;
    margin-bottom: 0.25rem;
    color: #667085;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
  }

  .legal-package-table td:nth-child(1)::before {
    content: "Package";
  }

  .legal-package-table td:nth-child(2)::before {
    content: "Price (incl. VAT)";
  }

  .legal-package-table td:nth-child(3)::before {
    content: "Validity";
  }

  .legal-package-table td:nth-child(4)::before {
    content: "Core benefits";
  }

  html[dir="rtl"] .legal-package-table td {
    text-align: right !important;
  }

  html[dir="rtl"] .legal-package-table td:nth-child(1)::before {
    content: "الباقة";
  }

  html[dir="rtl"] .legal-package-table td:nth-child(2)::before {
    content: "السعر (شامل ضريبة القيمة المضافة)";
  }

  html[dir="rtl"] .legal-package-table td:nth-child(3)::before {
    content: "مدة الصلاحية";
  }

  html[dir="rtl"] .legal-package-table td:nth-child(4)::before {
    content: "المزايا الأساسية";
  }

  .legal-package-table td:nth-child(1) {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #101828;
  }

  /* Contact tables (Privacy, Delete account) */
  .delete-account-contact-table {
    border: 0;
  }

  .delete-account-contact-table,
  .delete-account-contact-table tbody,
  .delete-account-contact-table tr,
  .delete-account-contact-table th,
  .delete-account-contact-table td {
    display: block;
    width: 100%;
  }

  .delete-account-contact-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .delete-account-contact-table tr {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
  }

  .delete-account-contact-table th,
  .delete-account-contact-table td {
    border: 0;
    width: 100%;
    text-align: left !important;
  }

  .delete-account-contact-table th {
    background-color: #f9fafb;
    padding: 0.625rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01em;
  }

  .delete-account-contact-table td {
    padding: 0.875rem;
    word-break: break-word;
  }
}
