<?php
/**
 * Shared account/page styles — aligned with Dast Doost theme.
 */

/* =====================================================
   AUTH PAGES — login, register, lost password
===================================================== */

.dd-auth-page {
  --dd-teal: #0f766e;
  --dd-teal-dark: #0b5c56;
  --dd-dark: #123f3d;
  --dd-cream: #fffdf8;
  --dd-text: #173b3a;
  --dd-muted: #71817f;
  --dd-border: #d8e6e3;
  --dd-input-bg: #f7fbf9;
  direction: rtl;
  min-height: calc(100vh - 82px);
  background:
    radial-gradient(circle at 15% 10%, rgba(15,118,110,.08), transparent 42%),
    radial-gradient(circle at 85% 90%, rgba(228,169,35,.08), transparent 38%),
    var(--dd-cream);
  color: var(--dd-text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  padding: 48px 16px 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.dd-auth-shell {
  width: min(460px, 100%);
}

.dd-auth-aside {
  display: none;
}

.dd-auth-card {
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(18, 63, 61, .08),
    0 2px 8px rgba(18, 63, 61, .04);
}

.dd-auth-card-head {
  padding: 28px 28px 0;
  text-align: center;
}

.dd-auth-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(145deg, #eaf7f4, #f6fffd);
  border: 1px solid #cfe9e2;
}

.dd-auth-card-head h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.5;
  color: var(--dd-dark);
}

.dd-auth-card-head p {
  margin: 0;
  color: var(--dd-muted);
  line-height: 1.9;
  font-size: 14px;
}

.dd-auth-card-body {
  padding: 22px 28px 28px;
}

.dd-auth-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.dd-auth-grid {
  display: grid;
  gap: 16px;
}

.dd-auth-grid.two {
  grid-template-columns: 1fr 1fr;
}

.dd-auth-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--dd-dark);
}

.dd-auth-page .dd-auth-field input,
.dd-auth-page .dd-auth-field textarea,
.dd-auth-page .dd-auth-field select {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--dd-border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--dd-text);
  background: var(--dd-input-bg);
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.dd-auth-page .dd-auth-field input::placeholder {
  color: #9aaba8;
}

.dd-auth-page .dd-auth-field input:focus {
  outline: none;
  border-color: var(--dd-teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .12);
}

.dd-password-wrap {
  position: relative;
}

.dd-auth-page .dd-password-wrap input {
  padding-inline-end: 52px;
}

.dd-password-toggle {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 6px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--dd-muted);
  cursor: pointer;
  padding: 0;
}

.dd-password-toggle:hover,
.dd-password-toggle:focus-visible {
  color: var(--dd-teal);
  background: rgba(15, 118, 110, .08);
}

.dd-password-toggle:focus-visible {
  outline: 2px solid var(--dd-teal);
  outline-offset: 2px;
}

.dd-password-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.dd-auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dd-muted);
  cursor: pointer;
  user-select: none;
}

.dd-auth-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--dd-teal);
  margin: 0;
}

.dd-auth-help {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dd-muted);
}

.dd-auth-form-actions {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #edf3f1;
}

.dd-auth-page input.dd-auth-submit {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-height: 52px;
  border: 0 !important;
  border-radius: 14px;
  background: #0f766e !important;
  background-image: linear-gradient(180deg, #0f766e 0%, #0b5c56 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 14px 20px;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .24);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}

.dd-auth-page button.dd-auth-submit,
.dd-auth-page .dd-auth-submit:not([type="submit"]) {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0 !important;
  border-radius: 14px;
  background: #0f766e !important;
  background-image: linear-gradient(180deg, #0f766e 0%, #0b5c56 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 14px 20px;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .24);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}

.dd-auth-page input.dd-auth-submit:hover,
.dd-auth-page button.dd-auth-submit:hover,
.dd-auth-page .dd-auth-submit:hover {
  background: #0a635d !important;
  background-image: linear-gradient(180deg, #11877d 0%, #0a635d 100%) !important;
  filter: none;
  box-shadow: 0 12px 28px rgba(15, 118, 110, .28);
}

.dd-auth-page input.dd-auth-submit:active,
.dd-auth-page button.dd-auth-submit:active,
.dd-auth-page .dd-auth-submit:active {
  transform: translateY(1px);
}

.dd-auth-page input.dd-auth-submit:focus-visible,
.dd-auth-page button.dd-auth-submit:focus-visible,
.dd-auth-page .dd-auth-submit:focus-visible {
  outline: 3px solid rgba(15, 118, 110, .35);
  outline-offset: 2px;
}

.dd-auth-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed #e4ecea;
  text-align: center;
  line-height: 2;
  font-size: 14px;
  color: var(--dd-muted);
}

.dd-auth-footer a {
  color: var(--dd-teal);
  font-weight: 700;
  text-decoration: none;
}

.dd-auth-footer a:hover {
  text-decoration: underline;
}

.dd-auth-page .dd-alert {
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 16px;
  line-height: 1.9;
  font-size: 14px;
}

.dd-auth-page .dd-alert-error {
  background: #fff0f0;
  border: 1px solid #f0caca;
  color: #8b2e2e;
}

.dd-auth-page .dd-alert-success {
  background: #eaf7f4;
  border: 1px solid #cfe9e2;
  color: #1f5c52;
}

@media (max-width: 560px) {
  .dd-auth-grid.two {
    grid-template-columns: 1fr;
  }

  .dd-auth-card-head,
  .dd-auth-card-body {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (min-width: 900px) {
  .dd-auth-page {
    align-items: center;
    padding-top: 56px;
    padding-bottom: 88px;
  }

  .dd-auth-shell {
    width: min(960px, calc(100% - 48px));
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(380px, 1.05fr);
    align-items: stretch;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
      0 24px 60px rgba(18, 63, 61, .10),
      0 4px 16px rgba(18, 63, 61, .05);
  }

  .dd-auth-aside {
    display: block;
    background: linear-gradient(160deg, #0f766e 0%, #123f3d 55%, #0b5c56 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  .dd-auth-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 15%, rgba(255,255,255,.14), transparent 45%),
      radial-gradient(circle at 80% 85%, rgba(228,169,35,.16), transparent 40%);
    pointer-events: none;
  }

  .dd-auth-aside-inner {
    position: relative;
    z-index: 1;
    padding: 44px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .dd-auth-aside-logo {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 24px;
  }

  .dd-auth-aside h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.6;
    color: #fff;
  }

  .dd-auth-aside p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .88);
    line-height: 2;
    font-size: 15px;
  }

  .dd-auth-aside-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .dd-auth-aside-list li {
    position: relative;
    padding-right: 22px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 1.9;
  }

  .dd-auth-aside-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    color: #b8ebe3;
    font-weight: 800;
  }

  .dd-auth-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .dd-auth-card-head {
    padding-top: 36px;
  }

  .dd-auth-card-body {
    padding-bottom: 36px;
  }
}

/* =====================================================
   ACCOUNT & STATIC PAGES — shared shell
===================================================== */

.dd-account-page,
.dd-static-page,
.dd-mgmt-page {
  --dd-teal: #0f766e;
  --dd-teal-soft: #eaf7f4;
  --dd-dark: #123f3d;
  --dd-cream: #fffdf8;
  --dd-text: #173b3a;
  --dd-muted: #71817f;
  --dd-border: #e4ecea;
  --dd-shadow: 0 8px 24px rgba(18, 63, 61, .05);
  --dd-shadow-lift: 0 14px 32px rgba(18, 63, 61, .09);
  direction: rtl;
  background: var(--dd-cream);
  color: var(--dd-text);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  padding: 32px 0 72px;
}
.dd-account-wrap,
.dd-static-wrap {
  width: min(720px, calc(100% - 32px));
  margin: auto;
}
.dd-account-wrap { width: min(1060px, calc(100% - 32px)); }
.dd-static-wrap { width: min(860px, calc(100% - 32px)); }
.dd-account-card,
.dd-static-card {
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--dd-shadow);
  min-width: 0;
}
.dd-static-card h1,
.dd-account-card h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--dd-dark);
}
.dd-static-card p,
.dd-account-card p {
  color: var(--dd-muted);
  line-height: 2;
}
.dd-static-card h2 {
  margin: 28px 0 8px;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.7;
  color: var(--dd-dark);
}
.dd-static-card h2:first-of-type { margin-top: 22px; }

/* ---------- Buttons & forms (shared with management portal) ---------- */

.dd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--dd-teal, #0f766e);
  color: #fff;
  padding: 13px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.dd-btn-primary:hover { background: #0b5c56; box-shadow: 0 8px 20px rgba(15, 118, 110, .22); }
.dd-btn-primary:active { transform: translateY(1px); }
.dd-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--dd-teal, #0f766e);
  border-radius: 999px;
  color: var(--dd-teal, #0f766e);
  padding: 12px 20px;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.dd-btn-outline:hover { background: var(--dd-teal-soft, #eaf7f4); }
.dd-btn-sm { padding: 8px 14px; font-size: 13px; }
.dd-btn-danger-outline {
  border-color: #c97878;
  color: #9c3535;
}
.dd-btn-danger-outline:hover {
  background: #fdeaea;
  color: #7c2d2d;
}
.dd-inline-form { display: inline; margin: 0; }

.dd-form-grid { display: grid; gap: 16px; margin-top: 22px; }
.dd-form-grid.two { grid-template-columns: 1fr 1fr; }
.dd-form-actions { margin-top: 4px; }
.dd-public-name-card {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--dd-border, #e4ddd0);
  border-radius: 18px;
  background: #fffdf8;
}
.dd-public-name-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}
.dd-public-name-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.dd-public-name-row p,
.dd-public-name-kicker {
  margin: 4px 0 0;
  color: var(--dd-muted, #5f7471);
  font-size: 13px;
  font-weight: 600;
}
.dd-public-name-row strong {
  font-size: 1.05rem;
}
.dd-public-name-card-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 22px;
}
.dd-public-name-card-compact .dd-public-name-row {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.dd-field { min-width: 0; }
.dd-field label,
.dd-field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--dd-dark);
  padding: 0;
}
.dd-field legend em { color: #c0563a; font-style: normal; }
fieldset.dd-field { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.dd-field input,
.dd-field textarea,
.dd-field select {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--dd-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dd-field input:focus,
.dd-field textarea:focus,
.dd-field select:focus {
  outline: none;
  border-color: var(--dd-teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .12);
}
.dd-field input:disabled { background: #f4f7f6; color: var(--dd-muted); }
.dd-help {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dd-muted);
}
.dd-radio-stack { display: grid; gap: 6px; }
.dd-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.dd-radio-option:hover { border-color: #bcdcd4; background: #fafcfb; }
.dd-radio-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--dd-teal); flex: none; }
.dd-radio-stack label { font-size: 0.92rem; }

.dd-alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  line-height: 1.9;
}
.dd-alert-error { background: #fff0f0; border: 1px solid #f0caca; }
.dd-alert-success { background: #eaf7f4; border: 1px solid #cfe9e2; }

/* =====================================================
   ACCOUNT HERO
===================================================== */

.dd-account-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  background: linear-gradient(140deg, #0f766e 0%, #123f3d 100%);
  border-radius: 22px;
  padding: 22px 24px;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: var(--dd-shadow-lift);
}
.dd-account-hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.dd-account-hero-text { flex: 1 1 auto; min-width: 0; }
.dd-account-hero-eyebrow {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .75);
}
.dd-account-hero h1 {
  margin: 0;
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.5;
  color: #fff;
  overflow-wrap: anywhere;
}
.dd-account-hero-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  overflow-wrap: anywhere;
}
.dd-account-hero .dd-account-nav-wrap { width: 100%; }
.dd-account-hero .dd-account-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.dd-account-hero .dd-account-nav-toggle {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  box-shadow: none;
}
.dd-account-hero .dd-nav-toggle-text small { color: rgba(255, 255, 255, .72); }
.dd-account-hero .dd-nav-toggle-text strong { color: #fff; }
.dd-account-hero .dd-nav-toggle-bars,
.dd-account-hero .dd-nav-toggle-bars::before,
.dd-account-hero .dd-nav-toggle-bars::after { background: #fff; }
.dd-account-hero .dd-nav-toggle-caret { border-color: rgba(255, 255, 255, .75); }
.dd-account-hero .dd-account-nav-link,
.dd-account-hero .dd-account-nav-logout {
  color: rgba(255, 255, 255, .92);
}
.dd-account-hero .dd-account-nav-link:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.dd-account-hero .dd-account-nav-link.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--dd-dark);
}
.dd-account-hero .dd-account-nav-group { border-top-color: rgba(255, 255, 255, .18); }
.dd-account-hero .dd-account-nav-group-title { color: rgba(255, 255, 255, .7); }
.dd-account-hero .dd-account-nav-logout {
  border-top-color: rgba(255, 255, 255, .18);
  color: #ffd9d6;
}
.dd-account-hero .dd-account-nav-logout:hover { background: rgba(255, 255, 255, .1); }

/* =====================================================
   AVATARS
===================================================== */

.dd-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  background: var(--dd-teal-soft);
  color: var(--dd-dark);
  border: 1px solid rgba(18, 63, 61, .08);
}
.dd-avatar-lg { width: 60px; height: 60px; border-radius: 18px; font-size: 26px; }
.dd-avatar-teal  { background: #e3f4f0; color: #0d6157; }
.dd-avatar-amber { background: #fdf1dc; color: #8a5a15; }
.dd-avatar-plum  { background: #f6eaf3; color: #7b3568; }
.dd-avatar-sky   { background: #e6f1fb; color: #1d5480; }
.dd-avatar-moss  { background: #edf5e4; color: #4a6b2c; }

/* =====================================================
   ACCOUNT LAYOUT & NAVIGATION
===================================================== */

.dd-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.dd-account-nav-wrap { min-width: 0; }
.dd-account-nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: 16px;
  padding: 12px 16px;
  font: inherit;
  color: var(--dd-text);
  text-align: right;
  cursor: pointer;
  box-shadow: var(--dd-shadow);
}
.dd-nav-toggle-bars {
  position: relative;
  flex: none;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--dd-teal);
}
.dd-nav-toggle-bars::before,
.dd-nav-toggle-bars::after {
  content: "";
  position: absolute;
  right: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--dd-teal);
}
.dd-nav-toggle-bars::before { top: -6px; }
.dd-nav-toggle-bars::after { top: 6px; }
.dd-nav-toggle-text { flex: 1; min-width: 0; display: block; }
.dd-nav-toggle-text small { display: block; font-size: 11px; color: var(--dd-muted); }
.dd-nav-toggle-text strong { display: block; font-size: 15px; color: var(--dd-dark); }
.dd-nav-toggle-caret {
  flex: none;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--dd-muted);
  border-bottom: 2px solid var(--dd-muted);
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
.dd-account-nav-wrap.is-open .dd-nav-toggle-caret { transform: rotate(135deg); }

.dd-account-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--dd-border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--dd-shadow);
}
.dd-account-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dd-account-nav-link,
.dd-account-nav-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  color: var(--dd-text);
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.dd-account-nav-link:hover { background: #f5faf8; border-color: #e0efea; }
.dd-account-nav-link.is-active {
  background: var(--dd-teal-soft);
  border-color: #cfe9e2;
  color: var(--dd-dark);
  font-weight: 800;
}
.dd-nav-icon { flex: none; font-size: 17px; line-height: 1; width: 22px; text-align: center; }
.dd-nav-label { min-width: 0; overflow-wrap: anywhere; flex: 1; }
.dd-account-nav-link .dd-unread-badge { margin-inline-start: auto; }
.dd-account-nav-group { margin-top: 6px; padding-top: 10px; border-top: 1px dashed #e6efec; }
.dd-account-nav-group-title {
  margin: 0 4px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--dd-muted);
}
.dd-account-nav-logout {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed #e6efec;
  border-radius: 0 0 12px 12px;
  color: #8b4a4a;
  font-weight: 700;
}
.dd-account-nav-logout:hover { background: #fdf4f4; }

/* Legacy nav selectors — kept so other portals reusing this file stay intact. */
.dd-account-nav a.active { background: var(--dd-teal-soft); border-color: #cfe9e2; }

/* =====================================================
   TAB HEADINGS
===================================================== */

.dd-tab-head { margin-bottom: 18px; }
.dd-tab-head h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 3.2vw, 26px);
  line-height: 1.6;
  color: var(--dd-dark);
  overflow-wrap: anywhere;
}
.dd-tab-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--dd-muted);
}
.dd-tab-head-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dd-tab-head-row > div { min-width: 0; }
.dd-tab-subtitle {
  margin: 26px 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--dd-dark);
}

/* =====================================================
   STAT CARDS
===================================================== */

.dd-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.dd-stat-card {
  display: block;
  border: 1px solid var(--dd-border);
  border-radius: 16px;
  padding: 16px 14px;
  background: #fff;
  text-decoration: none;
  color: var(--dd-text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dd-stat-card:hover { transform: translateY(-2px); box-shadow: var(--dd-shadow-lift); }
.dd-stat-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 17px;
  line-height: 1;
  margin-bottom: 10px;
  background: #f2f6f5;
}
.dd-stat-value {
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dd-dark);
}
.dd-stat-label { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 700; }
.dd-stat-hint {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dd-muted);
}
.dd-stat-card-teal    { border-color: #cfe9e2; background: linear-gradient(180deg, #f4fbf9, #fff); }
.dd-stat-card-teal .dd-stat-icon    { background: #e3f4f0; }
.dd-stat-card-teal .dd-stat-value   { color: #0d6157; }
.dd-stat-card-amber   { border-color: #f0dfc0; background: linear-gradient(180deg, #fffaf1, #fff); }
.dd-stat-card-amber .dd-stat-icon   { background: #fdf1dc; }
.dd-stat-card-amber .dd-stat-value  { color: #8a5a15; }
.dd-stat-card-sky     { border-color: #d3e4f3; background: linear-gradient(180deg, #f5faff, #fff); }
.dd-stat-card-sky .dd-stat-icon     { background: #e6f1fb; }
.dd-stat-card-sky .dd-stat-value    { color: #1d5480; }
.dd-stat-card-moss    { border-color: #dbe8cd; background: linear-gradient(180deg, #f9fcf5, #fff); }
.dd-stat-card-moss .dd-stat-icon    { background: #edf5e4; }
.dd-stat-card-moss .dd-stat-value   { color: #4a6b2c; }
.dd-stat-card-warning { border-color: #f2d3bd; background: linear-gradient(180deg, #fff6f0, #fff); }
.dd-stat-card-warning .dd-stat-icon  { background: #fdeadd; }
.dd-stat-card-warning .dd-stat-value { color: #b4551f; }

/* =====================================================
   CALLOUTS & QUICK ACTIONS
===================================================== */

.dd-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--dd-border);
  background: #fff;
}
.dd-callout-icon { flex: none; font-size: 20px; line-height: 1.4; }
.dd-callout-body { flex: 1 1 200px; min-width: 0; }
.dd-callout-body strong { display: block; font-size: 14.5px; color: var(--dd-dark); }
.dd-account-card .dd-callout-body p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dd-muted);
}
.dd-callout-warning { border-color: #f2d3bd; background: #fff8f3; }
.dd-callout-soft { border-color: #cfe9e2; background: #f5fbf9; }

.dd-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.dd-quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--dd-border);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: var(--dd-text);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.dd-quick-card:hover { border-color: #bcdcd4; box-shadow: var(--dd-shadow); transform: translateY(-2px); }
.dd-quick-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--dd-teal-soft);
  font-size: 17px;
  line-height: 1;
}
.dd-quick-text { min-width: 0; }
.dd-quick-text strong { display: block; font-size: 14.5px; color: var(--dd-dark); }
.dd-quick-text small { display: block; margin-top: 2px; font-size: 12px; color: var(--dd-muted); }

/* =====================================================
   CARD LISTS
===================================================== */

.dd-list { display: grid; gap: 12px; }
.dd-card {
  border: 1px solid var(--dd-border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  min-width: 0;
}
.dd-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dd-list-item:hover { border-color: #cfe0db; box-shadow: var(--dd-shadow); }
.dd-list-item-link { text-decoration: none; color: inherit; }
.dd-inbox-heading {
  margin: 28px 0 12px;
  font-size: 15px;
  font-weight: 800;
}
.dd-inbox-heading:first-of-type { margin-top: 4px; }
.dd-inbox-item.is-unread {
  border-color: #f0dfc0;
  background: #fffdf8;
}
.dd-inbox-link { margin: 8px 0 0; }
.dd-inbox-link a { font-weight: 700; color: var(--dd-teal, #0f766e); }
.dd-list-body { flex: 1 1 220px; min-width: 0; }
.dd-list-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.7;
  color: var(--dd-dark);
  overflow-wrap: anywhere;
}
.dd-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.dd-account-card .dd-list-preview {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dd-muted);
  overflow-wrap: anywhere;
}
.dd-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dd-list-chevron { flex: none; color: var(--dd-muted); font-size: 20px; line-height: 1; align-self: center; }

.dd-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f7f6;
  font-size: 12px;
  color: #566664;
  white-space: nowrap;
}
.dd-meta-chip-accent { background: #e3f4f0; color: #0d6157; font-weight: 700; }

.dd-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f3f7f6;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.dd-status-badge-neutral { background: #f1f3f3; border-color: #e2e6e6; color: #5a6564; }
.dd-status-badge-info    { background: #e6f1fb; border-color: #d3e4f3; color: #1d5480; }
.dd-status-badge-success { background: #e7f4e6; border-color: #cfe6cd; color: #2f6b34; }
.dd-status-badge-warning { background: #fdf1dc; border-color: #f0dfc0; color: #8a5a15; }
.dd-status-badge-danger  { background: #fdeaea; border-color: #f3d2d2; color: #9c3535; }

.dd-dash-pending {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--dd-muted, #667);
  background: #f7faf9;
  border: 1px dashed #dfe8e6;
  border-radius: 10px;
  padding: 7px 11px;
}
.dd-empty-state {
  border: 1px dashed #d6e4e0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  line-height: 1.9;
  background: #fbfdfc;
}
.dd-empty-icon { display: block; font-size: 30px; margin-bottom: 10px; }
.dd-account-card .dd-empty-state p { margin: 0 0 8px; font-size: 14px; }
.dd-empty-state .dd-btn-primary,
.dd-empty-state .dd-btn-outline { margin-top: 12px; display: inline-flex; }
.dd-empty-state-inline { margin-bottom: 16px; padding: 20px; }

.dd-coord-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--dd-muted, #667);
  background: #f7fbf9;
  border: 1px solid #dfece7;
  border-radius: 12px;
  padding: 11px 13px;
}
.dd-account-card .dd-offer-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: #4a5654;
  overflow-wrap: anywhere;
}
.dd-back-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--dd-teal);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.dd-back-link:hover { text-decoration: underline; }

.dd-feedback-card { display: grid; gap: 16px; scroll-margin-top: 88px; }
.dd-feedback-card-head { display: flex; align-items: flex-start; gap: 12px; }
.dd-feedback-form { display: grid; gap: 16px; }
.dd-feedback-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--dd-teal);
}
.dd-feedback-lead {
  margin: 6px 0 0;
  color: var(--dd-muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}
.dd-feedback-card.is-highlight {
  border-color: #7cbdb6;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .08);
}
.dd-feedback-saved,
.dd-feedback-done-label {
  color: #1f6b52;
  font-weight: 800;
}
.dd-feedback-saved {
  background: #f3faf8;
  border: 1px solid #d7ebe6;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.dd-feedback-saved p {
  margin: 6px 0 0;
  font-weight: 500;
  color: var(--dd-muted);
}
.dd-feedback-form .dd-optional {
  color: var(--dd-muted);
  font-weight: 600;
  font-size: 12px;
}
.dd-trust-helper-cta,
.dd-trust-helper-done {
  margin: 14px 0 0;
}
.dd-trust-helper-done {
  font-weight: 700;
  color: #1f6b52;
}

/* =====================================================
   LEGACY LIST CLASSES — still used by the management portal
===================================================== */

.dd-request-list { display: grid; gap: 12px; margin-top: 16px; }
.dd-request-item {
  border: 1px solid var(--dd-border);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
}
.dd-dash-item { align-items: flex-start; }
.dd-dash-main { flex: 1 1 220px; min-width: 0; }
.dd-dash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--dd-muted, #667);
}
.dd-dash-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dd-offer-count { font-weight: 700; color: #2d6a4f; }
.dd-offer-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.dd-offer-manage-item { align-items: flex-start; flex-direction: column; gap: 12px; }
@media (min-width: 640px) {
  .dd-offer-manage-item { flex-direction: row; justify-content: space-between; }
}
.dd-conv-item { text-decoration: none; color: inherit; transition: border-color .2s; }
.dd-conv-item:hover { border-color: #2d6a4f; }
.dd-account-quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.dd-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.dd-dash-stat {
  background: #f8fbf9;
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.dd-dash-stat strong { display: block; font-size: 1.4rem; color: var(--dd-teal); }
.dd-dash-stat span { font-size: 0.85rem; color: var(--dd-muted); }
.dd-dash-stat-warn strong { color: #c45a2a; }
.dd-dash-stat a { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--dd-teal); }
.dd-feedback-form-wrap { margin-bottom: 20px; }

/* =====================================================
   CONVERSATION THREAD
===================================================== */

.dd-messenger-intro p { max-width: 42em; }
.dd-messenger-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4ee;
  border: 1px solid #f0d2c4;
  color: #8a3b22;
  font-weight: 600;
}
.dd-account-card:has([data-dd-messenger]) { overflow: hidden; }
.dd-messenger {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: min(72vh, 720px);
  max-height: min(72vh, 720px);
  height: min(72dvh, 720px);
  max-height: min(72dvh, 720px);
  min-height: 0;
  border: 1px solid var(--dd-border, #d7e6e2);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  direction: rtl;
  max-width: 100%;
}
.dd-messenger-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-inline-end: 1px solid var(--dd-border, #d7e6e2);
  background: #f7fbf9;
}
.dd-messenger-search { padding: 12px; flex: 0 0 auto; }
.dd-messenger-search-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7e6e2;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  background: #fff;
}
.dd-messenger-search-input:focus {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}
.dd-messenger-notices {
  margin: 0 12px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e3ece9;
}
.dd-messenger-notices summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 700;
  color: #0f766e;
}
.dd-messenger-notice {
  padding: 10px 12px;
  border-top: 1px solid #eef4f2;
  font-size: 13px;
  line-height: 1.8;
}
.dd-messenger-notice.is-unread { background: #eaf7f4; }
.dd-messenger-notice-title {
  display: block;
  margin-bottom: 4px;
  color: var(--dd-dark);
}
.dd-messenger-notice time,
.dd-messenger-notice a { display: inline-block; margin-inline-end: 8px; font-size: 12px; }
.dd-messenger-notice-cta {
  font-weight: 800;
  color: #0f766e;
  text-decoration: none;
}
.dd-messenger-notice-cta:hover { text-decoration: underline; }
.dd-messenger-notice-cta:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}
.dd-conversation-items {
  flex: 1 1 0;
  overflow-y: auto;
  min-height: 0;
}
.dd-conversation-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eef4f2;
  min-height: 72px;
}
.dd-conversation-item:hover,
.dd-conversation-item:focus-visible {
  background: #eef8f5;
  outline: none;
}
.dd-conversation-item.is-current { background: #e7f4f1; }
.dd-conversation-item.has-unread { background: #f3faf8; }
.dd-conversation-item.has-unread .dd-conversation-name { font-weight: 800; }
.dd-conversation-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.dd-conversation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dd-conversation-name {
  font-weight: 700;
  color: #143c39;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dd-conversation-time,
.dd-conversation-preview {
  font-size: 12px;
  color: #6b807c;
}
.dd-conversation-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.dd-messenger-search-empty,
.dd-messenger-empty,
.dd-messenger-pick { padding: 28px 18px; text-align: center; }
.dd-messenger-chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #fbfdfc;
}
.dd-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e3ece9;
  background: #fff;
  flex: 0 0 auto;
}
.dd-chat-back {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: #0f766e;
  font-size: 20px;
}
.dd-chat-back:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; }
.dd-chat-header-text { min-width: 0; }
.dd-chat-header-text h3 { margin: 0; font-size: 1.05rem; color: #143c39; }
.dd-chat-history-link {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
}
.dd-chat-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 10px 16px;
  background: #f3f8f6;
  border-bottom: 1px solid #e3ece9;
  font-size: 13px;
  color: #3d6b66;
  flex: 0 0 auto;
}
.dd-chat-context a { font-weight: 700; color: #0f766e; }
.dd-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 16px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f7fbf9;
}
.dd-chat-load-older {
  align-self: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #cfe9e2;
  border-radius: 999px;
  background: #fff;
  color: #0f766e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dd-chat-load-older:disabled { opacity: .6; }
.dd-chat-bubble {
  max-width: min(78%, 420px);
  padding: 10px 14px 8px;
  border-radius: 16px;
  line-height: 1.9;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.dd-chat-bubble.mine {
  align-self: flex-start;
  background: #d7efe9;
  border: 1px solid #b7ddd4;
  border-bottom-right-radius: 6px;
}
.dd-chat-bubble.theirs {
  align-self: flex-end;
  background: #fff;
  border: 1px solid var(--dd-border, #d7e6e2);
  border-bottom-left-radius: 6px;
}
.dd-chat-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  font-size: 11px;
  color: var(--dd-muted, #667);
  margin: 6px 0 0;
}
.dd-chat-status { font-weight: 700; color: #3d6b66; }
.dd-chat-bubble.mine[data-status="read"] .dd-chat-status { color: #0f766e; }
.dd-chat-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin: 0;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #e3ece9;
  flex: 0 0 auto;
}
.dd-chat-form textarea {
  flex: 1;
  width: auto;
  min-height: 48px;
  max-height: 140px;
  max-width: 100%;
  border: 1px solid var(--dd-border, #d7e6e2);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  resize: none;
}
.dd-chat-form textarea:focus {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}
.dd-chat-send {
  min-width: 72px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #0f766e;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.dd-chat-send:hover { background: #0b5c56; }
.dd-chat-send:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; }
.dd-chat-form.is-sending .dd-chat-send { opacity: .65; pointer-events: none; }
.dd-chat-new {
  display: inline-flex;
  align-self: center;
  flex: 0 0 auto;
  margin: 8px auto;
  border: 1px solid #cfe9e2;
  background: #fff;
  color: #0f766e;
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.dd-chat-new:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}
.dd-chat-form-error {
  flex-basis: 100%;
  margin: 0;
  color: #8a3b22;
  font-size: 13px;
  font-weight: 700;
}
.dd-messenger-chat > .dd-empty-state { margin: auto; }

@media (max-width: 900px) {
  .dd-messenger {
    grid-template-columns: 1fr;
    height: min(78vh, 820px);
    max-height: min(78vh, 820px);
    height: min(78dvh, 820px);
    max-height: min(78dvh, 820px);
  }
  .dd-messenger.has-list .dd-messenger-chat { display: none; }
  .dd-messenger.has-chat .dd-messenger-list { display: none; }
  .dd-messenger.has-chat {
    height: calc(100vh - 12.5rem);
    max-height: calc(100vh - 12.5rem);
    height: calc(100dvh - 12.5rem);
    max-height: calc(100dvh - 12.5rem);
  }
  .dd-chat-back { display: inline-flex; }
  .dd-chat-bubble { max-width: 88%; }
}

@media (max-width: 510px) {
  .dd-messenger,
  .dd-messenger.has-chat {
    height: calc(100vh - 11rem);
    max-height: calc(100vh - 11rem);
    height: calc(100dvh - 11rem);
    max-height: calc(100dvh - 11rem);
    border-radius: 16px;
  }
  .dd-chat-form { padding: 10px; }
  .dd-chat-send { min-width: 64px; }
}
.dd-request-success {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(247, 251, 249, .92);
  backdrop-filter: blur(6px);
  transition: opacity .25s ease;
}
.dd-request-success.is-done { opacity: 0; pointer-events: none; }
.dd-request-success-card {
  width: min(440px, 100%);
  text-align: center;
  background: #fff;
  border: 1px solid #cfe9e2;
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 18px 40px rgba(18, 63, 61, .12);
}
.dd-request-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf7f4;
  color: #0f766e;
}
.dd-request-success-icon svg { width: 36px; height: 36px; display: block; }
.dd-request-success-text {
  margin: 0;
  font-size: clamp(20px, 4.4vw, 26px);
  font-weight: 800;
  line-height: 1.8;
  color: #0f766e;
}
.dd-request-success-sub {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #3d6b66;
  font-weight: 600;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (min-width: 901px) {
  .dd-account-hero .dd-account-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dd-account-hero .dd-account-nav-group .dd-account-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dd-account-hero .dd-account-nav-logout {
    margin-top: 0;
    padding-top: 11px;
    border-top: 0;
    border-radius: 12px;
  }
}

@media (max-width: 900px) {
  .dd-account-nav-wrap.is-collapsible .dd-account-nav-toggle { display: flex; }
  .dd-account-nav-wrap.is-collapsible .dd-account-nav { display: none; }
  .dd-account-nav-wrap.is-collapsible.is-open .dd-account-nav {
    display: flex;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .dd-account-page { padding: 20px 0 56px; }
  .dd-account-wrap { width: calc(100% - 24px); }
  .dd-account-card { padding: 18px 16px; border-radius: 18px; }
  .dd-account-hero { padding: 18px; gap: 14px; border-radius: 18px; }
  .dd-form-grid.two { grid-template-columns: minmax(0, 1fr); }
  .dd-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dd-stat-card { padding: 14px 12px; }
  .dd-stat-value { font-size: 23px; }
  .dd-quick-grid { grid-template-columns: minmax(0, 1fr); }
  .dd-list-item { gap: 12px; padding: 14px; }
  .dd-list-actions { width: 100%; }
  .dd-list-actions .dd-btn-outline,
  .dd-list-actions .dd-btn-primary { flex: 1 1 auto; }
  .dd-chat-bubble { max-width: 92%; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
}
