/* ============================================================
   Public deposit wizard — isolated from the shared admin/account UI
   ============================================================ */

body.public-page.public-wizard-page {
  --dw-navy-950: #0d2f4a;
  --dw-navy-900: #123a5c;
  --dw-navy-800: #173f63;
  --dw-navy-700: #24567e;
  --dw-navy-100: #eaf2f8;
  --dw-navy-50: #f4f8fb;
  --dw-burgundy-700: #9f1038;
  --dw-burgundy-600: #b41442;
  --dw-burgundy-500: #c61a4d;
  --dw-burgundy-100: #fde8ee;
  --dw-burgundy-50: #fff5f7;
  --dw-ink: #11253a;
  --dw-muted: #687d92;
  --dw-muted-light: #8fa2b5;
  --dw-line: #d9e4ed;
  --dw-line-soft: #e9eff5;
  --dw-surface: #ffffff;
  --dw-canvas: #f4f7fa;
  --dw-success: #18845b;
  --dw-success-light: #e8f7f1;
  --dw-danger: #c52a43;
  --dw-danger-light: #fff0f2;
  --dw-shadow-lg: 0 24px 64px rgba(20, 52, 81, .12), 0 4px 14px rgba(20, 52, 81, .06);
  --dw-shadow-sm: 0 8px 22px rgba(26, 62, 93, .08);
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--dw-ink);
  background:
    radial-gradient(circle at -6% 38%, rgba(23, 63, 99, .06) 0 7.5rem, transparent 7.6rem),
    radial-gradient(circle at -6% 38%, transparent 0 10rem, rgba(23, 63, 99, .035) 10.1rem 10.3rem, transparent 10.4rem),
    linear-gradient(145deg, #fafcfd 0%, var(--dw-canvas) 58%, #f1f5f9 100%);
}

.dw-app,
.dw-app *,
.dw-app *::before,
.dw-app *::after {
  box-sizing: border-box;
}

.dw-app {
  min-height: 100vh;
  color: var(--dw-ink);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.dw-app button,
.dw-app input,
.dw-app textarea {
  font: inherit;
}

.dw-app button,
.dw-app a {
  -webkit-tap-highlight-color: transparent;
}

.dw-app button {
  cursor: pointer;
}

.dw-app button:disabled {
  cursor: not-allowed;
}

.dw-app svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dw-app [hidden] {
  display: none !important;
}

/* ---------- Header ---------- */

.dw-topbar {
  position: relative;
  z-index: 10;
  padding: 0;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(219, 229, 238, .9);
  box-shadow: 0 3px 18px rgba(20, 52, 81, .04);
  backdrop-filter: blur(18px);
}

.dw-topbar-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  overflow: hidden;
  background: var(--dw-navy-800);
}

.dw-topbar-accent span {
  display: block;
  width: 49.5%;
  height: 100%;
  margin-inline-start: auto;
  background: var(--dw-burgundy-600);
}

.dw-topbar-inner {
  width: min(1320px, calc(100% - 48px));
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dw-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dw-ink);
  text-decoration: none;
}

.dw-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(17, 49, 75, .18);
}

.dw-brand-copy {
  min-width: 0;
  display: grid;
}

.dw-brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.3px;
}

.dw-brand-copy small {
  margin-top: 2px;
  color: var(--dw-muted);
  font-size: .7rem;
  font-weight: 600;
}

.dw-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dw-login-link,
.dw-help-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 11px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.dw-login-link {
  color: var(--dw-navy-800);
  background: var(--dw-navy-50);
  border: 1px solid var(--dw-line);
}

.dw-help-link {
  color: var(--dw-navy-700);
  background: transparent;
  border: 1px solid transparent;
}

.dw-login-link:hover,
.dw-help-link:hover {
  color: var(--dw-burgundy-600);
  background: var(--dw-burgundy-50);
  border-color: #f4ccd8;
  transform: translateY(-1px);
}

.dw-login-link svg,
.dw-help-link svg {
  width: 19px;
  height: 19px;
}

/* ---------- Page layout and brand panel ---------- */

.dw-page-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 30px auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  grid-template-areas: "form panel";
  gap: 24px;
  direction: ltr;
  align-items: stretch;
}

.dw-brand-panel {
  grid-area: panel;
  min-width: 0;
  min-height: 790px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 28px;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(15, 50, 78, .45), rgba(15, 50, 78, 0)),
    linear-gradient(160deg, var(--dw-navy-950) 0%, #164d78 64%, #254b70 100%);
  border-radius: 26px;
  box-shadow: 0 28px 64px rgba(18, 58, 92, .2);
  direction: rtl;
  isolation: isolate;
}

.dw-brand-panel::after {
  content: "";
  position: absolute;
  inset: auto -110px -160px auto;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(180, 20, 66, .5), rgba(180, 20, 66, 0) 68%);
}

.dw-panel-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
}

.dw-panel-orb-one {
  width: 280px;
  height: 280px;
  inset: -135px auto auto -95px;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .018), 0 0 0 94px rgba(255, 255, 255, .014);
}

.dw-panel-orb-two {
  width: 180px;
  height: 180px;
  inset: 390px -120px auto auto;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, .018);
}

.dw-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.dw-panel-brand img {
  width: 51px;
  height: 51px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .94);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.dw-panel-brand strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

.dw-panel-intro {
  padding: 40px 0 25px;
}

.dw-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7c3d2;
  font-size: .72rem;
  font-weight: 800;
}

.dw-panel-kicker i {
  width: 7px;
  height: 7px;
  background: #ea678c;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(234, 103, 140, .12);
}

.dw-panel-intro h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 2.7vw, 2.65rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -1.3px;
}

.dw-panel-intro h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 19px;
  background: var(--dw-burgundy-500);
  border-radius: 9px;
}

.dw-panel-intro p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.9;
}

.dw-trust-list {
  display: grid;
  gap: 9px;
}

.dw-trust-item {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 17px;
  background: rgba(255, 255, 255, .035);
}

.dw-trust-icon,
.dw-support-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
}

.dw-trust-icon {
  width: 48px;
  height: 48px;
}

.dw-trust-icon svg {
  width: 24px;
  height: 24px;
}

.dw-trust-item > span:last-child,
.dw-panel-support > span:last-child {
  display: grid;
}

.dw-trust-item strong {
  font-size: .82rem;
  font-weight: 800;
}

.dw-trust-item small {
  color: rgba(255, 255, 255, .64);
  font-size: .68rem;
  line-height: 1.65;
}

.dw-panel-support {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  scroll-margin-top: 100px;
}

.dw-support-icon {
  width: 40px;
  height: 40px;
  border-color: transparent;
  background: rgba(255, 255, 255, .08);
}

.dw-support-icon svg {
  width: 21px;
  height: 21px;
}

.dw-panel-support small {
  color: rgba(255, 255, 255, .58);
  font-size: .65rem;
}

.dw-panel-support strong {
  font-size: .75rem;
  font-weight: 700;
}

/* ---------- Wizard shell ---------- */

.dw-form-column {
  grid-area: form;
  min-width: 0;
  direction: rtl;
}

.dw-wizard-card {
  min-height: 790px;
  overflow: hidden;
  background: rgba(255, 255, 255, .99);
  border: 1px solid #d8e2eb;
  border-radius: 26px;
  box-shadow: var(--dw-shadow-lg);
}

.dw-wizard-head {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 34px 20px;
}

.dw-form-kicker {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 0;
  color: var(--dw-burgundy-600);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .7rem;
  font-weight: 800;
}

.dw-wizard-head h2 {
  margin: 0;
  color: var(--dw-ink);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.7px;
}

.dw-wizard-head p {
  margin: 5px 0 0;
  color: var(--dw-muted);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.8;
}

.dw-secure-badge {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding: 0 12px;
  color: var(--dw-navy-700);
  background: var(--dw-navy-50);
  border: 1px solid #d9e6f0;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 800;
}

.dw-secure-badge svg {
  width: 16px;
  height: 16px;
}

/* ---------- Stepper ---------- */

.dw-stepper {
  min-height: 98px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 34px 16px;
  background: #fbfcfe;
  border-top: 1px solid var(--dw-line-soft);
  border-bottom: 1px solid var(--dw-line-soft);
}

.dw-step-item {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  color: var(--dw-muted-light);
  background: none;
  border: 0;
  text-align: right;
}

.dw-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 7px;
  width: calc(100% - 124px);
  height: 2px;
  background: var(--dw-line);
  transform: translateY(-50%);
  transition: background .18s ease;
}

.dw-step-item.is-complete:not(:last-child)::after {
  background: var(--dw-burgundy-600);
}

.dw-step-number {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: #edf3f8;
  border: 2px solid #edf3f8;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #fbfcfe;
  font-size: .82rem;
  font-weight: 800;
  transition: all .18s ease;
}

.dw-step-number svg {
  display: none;
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.dw-step-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  max-width: 126px;
  display: grid;
  padding-inline-end: 2px;
  background: #fbfcfe;
}

.dw-step-copy strong {
  color: inherit;
  font-size: .73rem;
  font-weight: 800;
  white-space: nowrap;
}

.dw-step-copy small {
  margin-top: 2px;
  color: var(--dw-muted-light);
  font-size: .6rem;
  font-weight: 600;
  white-space: nowrap;
}

.dw-step-item:not(:disabled):hover .dw-step-number {
  border-color: #cbd9e5;
}

.dw-step-item:disabled {
  opacity: .68;
}

.dw-step-item.is-active {
  color: var(--dw-burgundy-600);
  opacity: 1;
}

.dw-step-item.is-active .dw-step-number {
  color: #fff;
  background: var(--dw-burgundy-600);
  border-color: var(--dw-burgundy-600);
  box-shadow: 0 6px 15px rgba(180, 20, 66, .22), 0 0 0 5px #fbfcfe;
}

.dw-step-item.is-complete {
  color: var(--dw-navy-700);
  opacity: 1;
}

.dw-step-item.is-complete .dw-step-number {
  color: #fff;
  background: var(--dw-success);
  border-color: var(--dw-success);
}

.dw-step-item.is-complete .dw-step-number b {
  display: none;
}

.dw-step-item.is-complete .dw-step-number svg {
  display: block;
}

/* ---------- Form messages and panels ---------- */

.public-wizard-page .dw-app #msg.msg {
  display: none;
  margin: 16px 34px 0;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 700;
}

.public-wizard-page .dw-app #msg.msg.show {
  display: block;
}

.public-wizard-page .dw-app #msg.msg.error {
  color: var(--dw-danger);
  background: var(--dw-danger-light);
  border-color: #f4c7cf;
}

.public-wizard-page .dw-app #msg.msg.ok {
  color: var(--dw-success);
  background: var(--dw-success-light);
  border-color: #cce8de;
}

.public-wizard-page .dw-app #depositForm {
  padding: 0;
}

.dw-wizard-step {
  min-height: 560px;
  padding: 25px 34px 28px;
  animation: dw-step-in .22s ease;
}

@keyframes dw-step-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.dw-section-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.dw-section-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: var(--dw-navy-100);
  border: 1px solid #d3e3ef;
  border-radius: 12px;
}

.dw-section-icon svg {
  width: 21px;
  height: 21px;
}

.dw-section-heading > div {
  display: grid;
}

.dw-section-heading > div > span {
  color: var(--dw-muted-light);
  font-size: .63rem;
  font-weight: 800;
}

.dw-section-heading h3 {
  margin: 0;
  color: var(--dw-ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}

.dw-section-heading h3:focus {
  outline: 2px solid rgba(36, 86, 126, .2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Fields ---------- */

.public-wizard-page .dw-app .dw-field {
  min-width: 0;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
}

.public-wizard-page .dw-app .dw-field > label,
.public-wizard-page .dw-app .dw-field > legend {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: #26394c;
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
}

.dw-field label em,
.dw-field legend em {
  color: var(--dw-burgundy-500);
  font-style: normal;
}

.dw-field label > span {
  color: var(--dw-muted-light);
  font-size: .68rem;
  font-weight: 600;
}

.dw-form-grid {
  display: grid;
  gap: 13px;
}

.dw-two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dw-input-wrap {
  min-height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.dw-input-wrap:focus-within {
  background: #fff;
  border-color: var(--dw-navy-700);
  box-shadow: 0 0 0 4px rgba(36, 86, 126, .08);
}

.dw-input-icon {
  flex: 0 0 auto;
  width: 46px;
  display: grid;
  place-items: center;
  color: #8fa2b5;
}

.dw-input-icon svg {
  width: 19px;
  height: 19px;
}

.public-wizard-page .dw-app .dw-input-wrap input,
.public-wizard-page .dw-app .dw-field textarea {
  width: 100%;
  color: var(--dw-ink);
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  font-size: .82rem;
  font-weight: 600;
}

.public-wizard-page .dw-app .dw-input-wrap input {
  min-width: 0;
  height: 48px;
  padding: 0 0 0 14px;
}

.dw-input-wrap input::placeholder,
.dw-field textarea::placeholder {
  color: #a7b5c4;
  opacity: 1;
}

.dw-input-wrap input[readonly] {
  color: var(--dw-muted);
  cursor: default;
}

.dw-input-wrap:has(input[readonly]) {
  background: #fbfcfd;
}

.dw-phone-wrap input,
.dw-amount-wrap input {
  direction: ltr;
  text-align: right;
}

.dw-input-unit {
  flex: 0 0 auto;
  position: static;
  padding: 0 14px;
  color: var(--dw-navy-700);
  border-inline-start: 1px solid var(--dw-line-soft);
  font-size: .72rem;
  font-weight: 800;
  pointer-events: none;
}

.dw-date-wrap input {
  padding: 0 14px !important;
  color: var(--dw-muted);
  direction: ltr;
  text-align: right;
}

.dw-field-help,
.dw-field-feedback {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: var(--dw-muted-light);
  font-size: .67rem;
  font-weight: 600;
}

/* ---------- Banks ---------- */

.public-wizard-page .dw-app .dw-bank-field {
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

.dw-bank-picker {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--dw-line);
  border-radius: 16px;
}

.dw-bank-field.has-error .dw-bank-picker {
  background: var(--dw-danger-light);
  border-color: #f1b7c1;
  box-shadow: 0 0 0 3px rgba(197, 42, 67, .06);
}

.dw-bank-picker-head {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dw-bank-title-icon {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: var(--dw-navy-100);
  border-radius: 10px;
}

.dw-bank-title-icon svg {
  width: 18px;
  height: 18px;
}

.dw-bank-picker-head > span:nth-child(2) {
  display: grid;
}

.dw-bank-picker-head strong {
  font-size: .76rem;
  font-weight: 800;
}

.dw-bank-picker-head small {
  color: var(--dw-muted);
  font-size: .65rem;
  font-weight: 600;
}

.dw-single-choice {
  margin-inline-start: auto;
  padding: 5px 9px;
  color: var(--dw-navy-700);
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
}

.public-wizard-page .dw-app .dw-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.public-wizard-page .dw-app .dw-bank-grid .bank-opt {
  min-width: 0;
  min-height: 69px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  color: var(--dw-ink);
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
  text-align: right;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.dw-bank-grid .bank-opt:last-child:nth-child(odd) {
  grid-column: auto;
}

.dw-bank-grid .bank-opt:hover {
  transform: translateY(-1px);
  border-color: #b9cad9;
  box-shadow: 0 6px 16px rgba(25, 59, 88, .07);
}

.dw-bank-grid .bank-opt:focus-within {
  outline: 3px solid rgba(36, 86, 126, .16);
  outline-offset: 2px;
}

.dw-bank-grid .bank-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.public-wizard-page .dw-app .dw-bank-grid .bank-opt-logo {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dw-line-soft);
  border-radius: 9px;
}

.dw-bank-grid .bank-opt-logo .bank-logo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.dw-bank-grid .bank-opt-logo .bank-logo.has-img {
  padding: 4px;
  box-shadow: none;
}

.dw-bank-grid .bank-opt-copy {
  min-width: 0;
  display: grid;
}

.public-wizard-page .dw-app .dw-bank-grid .bank-opt-name {
  overflow: hidden;
  color: var(--dw-ink);
  font-size: .69rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-wizard-page .dw-app .dw-bank-grid .bank-opt-code {
  color: var(--dw-muted);
  font-size: .6rem;
  font-weight: 600;
}

.dw-bank-grid .bank-opt .check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1.5px solid #cdd8e2;
  border-radius: 50%;
}

.dw-bank-grid .bank-opt .check svg {
  display: none;
}

.public-wizard-page .dw-app .dw-bank-grid .bank-opt.selected {
  background: #fff;
  border-color: var(--dw-burgundy-500);
  box-shadow: 0 0 0 2px rgba(180, 20, 66, .07);
}

.dw-bank-grid .bank-opt.selected .check {
  background: var(--dw-burgundy-600);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1.5px var(--dw-burgundy-600);
}

.public-wizard-page .dw-app .dw-bank-grid .bank-skeleton {
  min-height: 69px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
}

.dw-bank-grid .bank-skeleton span,
.dw-bank-grid .bank-skeleton i {
  background: linear-gradient(90deg, #edf2f6 25%, #f7f9fb 50%, #edf2f6 75%);
  background-size: 220% 100%;
  animation: dw-bank-shimmer 1.2s infinite linear;
}

.dw-bank-grid .bank-skeleton span {
  width: 43px;
  height: 43px;
  border-radius: 9px;
}

.dw-bank-grid .bank-skeleton i {
  width: 55%;
  height: 11px;
  border-radius: 999px;
}

@keyframes dw-bank-shimmer {
  to { background-position: -220% 0; }
}

.public-wizard-page .dw-app .dw-bank-grid .bank-load-state {
  grid-column: 1 / -1;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  color: var(--dw-muted);
  background: #fff;
  border: 1px dashed var(--dw-line);
  border-radius: 12px;
  font-size: .76rem;
  font-weight: 700;
}

.dw-bank-grid .bank-load-state.is-error {
  color: var(--dw-danger);
  border-color: #f2c4cc;
}

.dw-bank-grid .bank-retry {
  min-height: 36px;
  padding: 0 11px;
  color: var(--dw-navy-700);
  background: var(--dw-navy-50);
  border: 1px solid #d2e1ec;
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 800;
}

.public-wizard-page .dw-app .dw-bank-feedback {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 9px 3px 0;
  color: var(--dw-muted);
  font-size: .66rem;
  font-weight: 700;
}

.dw-feedback-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: #aab8c5;
  border-radius: 50%;
}

.dw-bank-feedback.is-selected {
  color: var(--dw-success);
}

.dw-bank-feedback.is-selected .dw-feedback-dot {
  background: var(--dw-success);
  box-shadow: 0 0 0 3px var(--dw-success-light);
}

.dw-bank-feedback.is-error {
  color: var(--dw-danger);
}

.dw-bank-feedback.is-error .dw-feedback-dot {
  background: var(--dw-danger);
  box-shadow: 0 0 0 3px var(--dw-danger-light);
}

/* ---------- Upload ---------- */

.public-wizard-page .dw-app .dw-upload-zone {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 20px;
  color: var(--dw-navy-700);
  background: linear-gradient(145deg, #f9fbfd, var(--dw-navy-50));
  border: 1.5px dashed #b7cad9;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.dw-upload-zone:hover,
.dw-upload-zone.over {
  background: #f5f9fc;
  border-color: var(--dw-navy-700);
  box-shadow: inset 0 0 0 3px rgba(36, 86, 126, .05);
}

.dw-upload-zone:focus-within {
  outline: 3px solid rgba(36, 86, 126, .18);
  outline-offset: 2px;
}

.dw-upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.dw-upload-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 15px;
  box-shadow: 0 7px 17px rgba(31, 70, 102, .08);
}

.dw-upload-icon svg {
  width: 27px;
  height: 27px;
}

.dw-upload-copy {
  display: grid;
  gap: 4px;
  text-align: right;
}

.dw-upload-copy strong {
  color: var(--dw-ink);
  font-size: .8rem;
  font-weight: 800;
}

.dw-upload-copy small {
  color: var(--dw-muted);
  font-size: .66rem;
  font-weight: 600;
}

.dw-file-badge {
  margin-inline-start: auto;
  padding: 6px 9px;
  color: var(--dw-muted);
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 800;
  direction: ltr;
}

.public-wizard-page .dw-app .dw-file-preview {
  min-width: 0;
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
  background: var(--dw-success-light);
  border: 1px solid #cbe9dd;
  border-radius: 12px;
}

.dw-file-preview-art {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--dw-success);
  background: #fff;
  border: 1px solid #d7ebe4;
  border-radius: 10px;
}

.dw-file-preview-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.dw-pdf-preview {
  width: 100%;
  height: 100%;
  display: none;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: var(--dw-burgundy-600);
  font-size: .58rem;
  font-weight: 900;
}

.dw-pdf-preview svg {
  width: 25px;
  height: 25px;
}

.dw-file-info {
  min-width: 0;
  display: grid;
}

.dw-file-info small {
  color: var(--dw-muted);
  font-size: .62rem;
  font-weight: 700;
}

.dw-file-info strong {
  overflow: hidden;
  max-width: 420px;
  font-size: .75rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-file-info em {
  color: var(--dw-success);
  font-size: .62rem;
  font-style: normal;
  font-weight: 700;
}

.dw-remove-file {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  color: var(--dw-burgundy-600);
  background: #fff;
  border: 1px solid #f0ced8;
  border-radius: 9px;
  order: 3;
}

.dw-remove-file svg {
  width: 17px;
  height: 17px;
}

.public-wizard-page .dw-app .dw-field textarea {
  min-height: 92px;
  display: block;
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.8;
  border: 1px solid var(--dw-line);
  border-radius: 12px;
}

.dw-field textarea:focus {
  border-color: var(--dw-navy-700) !important;
  box-shadow: 0 0 0 4px rgba(36, 86, 126, .08) !important;
}

/* ---------- Actions ---------- */

.dw-form-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--dw-line-soft);
}

.dw-single-action .dw-primary-btn,
.dw-submit-actions .dw-primary-btn {
  min-width: 55%;
}

.public-wizard-page .dw-app .dw-primary-btn,
.public-wizard-page .dw-app .dw-secondary-btn,
.public-wizard-page .dw-app .dw-text-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.public-wizard-page .dw-app .dw-primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--dw-burgundy-500), var(--dw-burgundy-700));
  border: 1px solid var(--dw-burgundy-600);
  box-shadow: 0 10px 22px rgba(180, 20, 66, .2);
}

.dw-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(180, 20, 66, .27);
}

.dw-primary-btn:disabled {
  opacity: .65;
  box-shadow: none;
}

.dw-primary-btn svg,
.dw-secondary-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.public-wizard-page .dw-app .dw-secondary-btn {
  color: var(--dw-navy-700);
  background: #fff;
  border: 1px solid var(--dw-line);
}

.dw-secondary-btn:hover {
  background: var(--dw-navy-50);
  border-color: #bfd0df;
}

.public-wizard-page .dw-app .dw-text-btn {
  color: var(--dw-navy-700);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dw-text-btn:hover {
  color: var(--dw-burgundy-600);
}

.dw-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  color: var(--dw-muted);
  font-size: .66rem;
  font-weight: 600;
}

.dw-privacy-note svg {
  width: 15px;
  height: 15px;
  color: var(--dw-navy-700);
}

/* ---------- Review ---------- */

.dw-review-step {
  padding-top: 22px;
}

.dw-review-step .dw-section-heading {
  margin-bottom: 13px;
}

.dw-review-intro {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 9px 12px;
  color: var(--dw-navy-800);
  background: linear-gradient(135deg, var(--dw-navy-50), #fbfdff);
  border: 1px solid #d7e5ef;
  border-radius: 13px;
}

.dw-review-intro-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: #fff;
  border: 1px solid #d9e6ef;
  border-radius: 10px;
}

.dw-review-intro-icon svg {
  width: 19px;
  height: 19px;
}

.dw-review-intro > span:last-child {
  display: grid;
}

.dw-review-intro strong {
  font-size: .75rem;
  font-weight: 800;
}

.dw-review-intro small {
  color: var(--dw-muted);
  font-size: .66rem;
  font-weight: 600;
  line-height: 1.65;
}

.dw-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dw-review-card {
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(28, 63, 92, .035);
}

.dw-review-card-wide {
  grid-column: 1 / -1;
}

.dw-review-card header {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dw-line-soft);
}

.dw-review-card-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dw-review-card-title i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: var(--dw-navy-100);
  border-radius: 8px;
}

.dw-review-card-title i svg {
  width: 16px;
  height: 16px;
}

.dw-review-card-title strong {
  font-size: .72rem;
  font-weight: 800;
}

.dw-review-card header > button {
  min-height: 30px;
  margin-inline-start: auto;
  padding: 4px 9px;
  color: var(--dw-burgundy-600);
  background: var(--dw-burgundy-50);
  border: 1px solid #f1ccd7;
  border-radius: 7px;
  font-size: .62rem;
  font-weight: 800;
}

.dw-review-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 13px;
  margin: 10px 0 0;
}

.dw-review-card dl div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.dw-review-card dt {
  color: var(--dw-muted-light);
  font-size: .61rem;
  font-weight: 700;
}

.dw-review-card dd {
  overflow: hidden;
  margin: 0;
  color: var(--dw-ink);
  font-size: .7rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-review-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.dw-review-file-icon {
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: var(--dw-navy-50);
  border: 1px solid #dce8f1;
  border-radius: 9px;
}

.dw-review-file-icon svg {
  width: 20px;
  height: 20px;
}

.dw-review-file-row > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.dw-review-file-row small,
.dw-review-notes > span {
  color: var(--dw-muted-light);
  font-size: .61rem;
  font-weight: 700;
}

.dw-review-file-row strong {
  overflow: hidden;
  max-width: 430px;
  font-size: .7rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-review-file-status {
  margin-inline-start: auto;
  padding: 5px 8px;
  color: var(--dw-success);
  background: var(--dw-success-light);
  border: 1px solid #cce8de;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  white-space: nowrap;
}

.dw-review-notes {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--dw-line-soft);
}

.dw-review-notes p {
  overflow: hidden;
  margin: 0;
  color: var(--dw-ink);
  font-size: .68rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-send-notice {
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 8px 11px;
  color: var(--dw-navy-800);
  background: #fffaf4;
  border: 1px solid #f0dfca;
  border-radius: 12px;
}

.dw-send-notice > svg {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  padding: 5px;
  color: #95611f;
  background: #fff2df;
  border-radius: 8px;
}

.dw-send-notice > span {
  display: grid;
}

.dw-send-notice strong {
  font-size: .7rem;
  font-weight: 800;
}

.dw-send-notice small {
  color: #8a745a;
  font-size: .62rem;
  font-weight: 600;
}

.dw-review-step .dw-form-actions {
  margin-top: 11px;
  padding-top: 12px;
}

/* ---------- Success ---------- */

.public-wizard-page .dw-app .dw-success {
  min-height: 650px;
  display: none;
  padding: 78px 34px 38px;
  text-align: center;
  animation: dw-step-in .28s ease;
}

.dw-success:focus {
  outline: 3px solid rgba(36, 86, 126, .18);
  outline-offset: -3px;
}

.dw-success-icon {
  width: 84px;
  height: 84px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #fff;
  background: linear-gradient(145deg, #22a16f, #137a52);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(24, 132, 91, .25), 0 0 0 10px var(--dw-success-light);
}

.dw-success-icon span {
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(24, 132, 91, .15);
  border-radius: 50%;
}

.dw-success-icon svg {
  width: 39px;
  height: 39px;
  stroke-width: 2.4;
}

.dw-success-kicker {
  display: inline-flex;
  padding: 5px 11px;
  color: var(--dw-success);
  background: var(--dw-success-light);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}

.dw-success h2 {
  margin: 11px 0 6px;
  color: var(--dw-ink);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.5px;
}

.dw-success > p {
  margin: 0;
  color: var(--dw-muted);
  font-size: .78rem;
  font-weight: 600;
}

.dw-reference-card {
  width: min(370px, 100%);
  position: relative;
  display: grid;
  justify-items: center;
  margin: 25px auto 14px;
  padding: 15px 48px;
  background: var(--dw-navy-50);
  border: 1px dashed #adc2d3;
  border-radius: 15px;
}

.dw-reference-card > span {
  color: var(--dw-muted);
  font-size: .64rem;
  font-weight: 700;
}

.dw-reference-card > strong {
  color: var(--dw-navy-800);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  direction: ltr;
}

.dw-reference-card button {
  width: 36px;
  height: 36px;
  position: absolute;
  inset: 50% auto auto 12px;
  display: grid;
  place-items: center;
  color: var(--dw-navy-700);
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 9px;
  transform: translateY(-50%);
}

.dw-reference-card button svg {
  width: 18px;
  height: 18px;
}

.dw-reference-card button.is-copied {
  color: #fff;
  background: var(--dw-success);
  border-color: var(--dw-success);
}

.dw-success-note {
  width: min(460px, 100%);
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 auto 22px;
  padding: 10px 13px;
  color: var(--dw-navy-800);
  background: #f8fafc;
  border: 1px solid var(--dw-line-soft);
  border-radius: 13px;
  text-align: right;
}

.dw-success-note > svg {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 6px;
  color: var(--dw-success);
  background: var(--dw-success-light);
  border-radius: 9px;
}

.dw-success-note > span {
  display: grid;
}

.dw-success-note strong {
  font-size: .72rem;
  font-weight: 800;
}

.dw-success-note small {
  color: var(--dw-muted);
  font-size: .62rem;
  font-weight: 600;
}

.dw-new-deposit-btn {
  min-width: 250px;
}

.dw-wizard-card.is-complete .dw-wizard-head,
.dw-wizard-card.is-complete .dw-stepper,
.dw-wizard-card.is-complete #msg,
.dw-wizard-card.is-complete #depositForm {
  display: none !important;
}

/* ---------- Footer ---------- */

.dw-page-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 13px 0 0;
  color: var(--dw-muted);
  font-size: .68rem;
  font-weight: 600;
}

.dw-page-note svg {
  width: 17px;
  height: 17px;
  color: var(--dw-navy-700);
}

.dw-footer {
  width: min(1320px, calc(100% - 48px));
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  color: #91a0ae;
  font-size: .65rem;
  font-weight: 600;
}

.dw-footer b {
  font-weight: 700;
}

.dw-footer i {
  width: 4px;
  height: 4px;
  background: #c4ced7;
  border-radius: 50%;
}

.dw-app button:focus-visible,
.dw-app a:focus-visible,
.dw-app input:focus-visible,
.dw-app textarea:focus-visible {
  outline: 3px solid rgba(36, 86, 126, .22);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .dw-page-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .dw-brand-panel {
    padding-inline: 25px;
  }

  .public-wizard-page .dw-app .dw-bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-step-copy small {
    display: none;
  }

  .dw-step-item:not(:last-child)::after {
    width: calc(100% - 101px);
  }
}

@media (max-width: 940px) {
  .dw-page-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "panel"
      "form";
  }

  .dw-brand-panel {
    min-height: auto;
    padding: 26px;
  }

  .dw-panel-brand {
    padding-bottom: 20px;
  }

  .dw-panel-intro {
    padding: 24px 0 18px;
  }

  .dw-panel-intro h1 {
    margin-top: 10px;
    font-size: 1.9rem;
  }

  .dw-panel-intro h1 br {
    display: none;
  }

  .dw-panel-intro p {
    max-width: 620px;
  }

  .dw-trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dw-trust-item {
    min-height: 110px;
    align-items: flex-start;
    flex-direction: column;
  }

  .dw-panel-support {
    margin-top: 22px;
  }

  .dw-wizard-card {
    min-height: 740px;
  }
}

@media (max-width: 680px) {
  .dw-topbar-inner,
  .dw-page-shell,
  .dw-footer {
    width: min(calc(100% - 20px), 620px);
  }

  .dw-topbar-inner {
    height: 70px;
  }

  .dw-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .dw-brand-copy strong {
    font-size: .82rem;
  }

  .dw-brand-copy small {
    display: none;
  }

  .dw-login-link,
  .dw-help-link {
    width: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
  }

  .dw-login-link svg,
  .dw-help-link svg {
    width: 20px;
    height: 20px;
  }

  .dw-page-shell {
    margin-top: 12px;
    gap: 12px;
  }

  .dw-brand-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .dw-panel-brand,
  .dw-trust-list {
    display: none;
  }

  .dw-panel-intro {
    padding: 0 0 15px;
  }

  .dw-panel-intro h1 {
    margin: 8px 0;
    font-size: 1.65rem;
  }

  .dw-panel-intro h1::after {
    width: 36px;
    margin-top: 12px;
  }

  .dw-panel-intro p {
    font-size: .72rem;
  }

  .dw-panel-support {
    margin-top: 0;
    padding-top: 14px;
  }

  .dw-wizard-card {
    min-height: auto;
    border-radius: 20px;
  }

  .dw-wizard-head {
    min-height: 105px;
    padding: 20px 18px 17px;
  }

  .dw-wizard-head h2 {
    font-size: 1.35rem;
  }

  .dw-wizard-head p {
    max-width: 285px;
    font-size: .7rem;
  }

  .dw-secure-badge {
    display: none;
  }

  .dw-stepper {
    min-height: 76px;
    padding: 13px 17px;
  }

  .dw-step-item {
    justify-content: center;
  }

  .dw-step-number {
    width: 36px;
    height: 36px;
  }

  .dw-step-copy {
    display: none;
  }

  .dw-step-item:not(:last-child)::after {
    top: 50%;
    left: calc(-50% + 19px);
    width: calc(100% - 38px);
  }

  .public-wizard-page .dw-app #msg.msg {
    margin: 13px 16px 0;
    font-size: .74rem;
  }

  .dw-wizard-step,
  .public-wizard-page .dw-app .dw-success {
    min-height: 530px;
    padding: 22px 17px 25px;
  }

  .dw-section-heading {
    margin-bottom: 18px;
  }

  .dw-two-cols,
  .dw-review-grid {
    grid-template-columns: 1fr;
  }

  .public-wizard-page .dw-app .dw-input-wrap input,
  .public-wizard-page .dw-app .dw-field textarea {
    font-size: 16px;
  }

  .dw-bank-picker {
    padding: 11px;
  }

  .dw-upload-zone {
    min-height: 175px;
    flex-direction: column;
    text-align: center;
  }

  .dw-upload-copy {
    text-align: center;
  }

  .dw-file-badge {
    margin-inline-start: 0;
  }

  .dw-file-info strong {
    max-width: 210px;
  }

  .dw-review-card-wide {
    grid-column: auto;
  }

  .dw-review-file-row {
    flex-wrap: wrap;
  }

  .dw-review-file-row strong {
    max-width: 190px;
  }

  .dw-form-actions,
  .dw-single-action,
  .dw-submit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dw-primary-btn,
  .dw-secondary-btn,
  .dw-single-action .dw-primary-btn,
  .dw-submit-actions .dw-primary-btn,
  .dw-new-deposit-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }

  .dw-text-btn {
    min-height: 42px;
  }

  .dw-success-icon {
    margin-top: 22px;
  }

  .dw-footer {
    min-height: 54px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .public-wizard-page .dw-app .dw-bank-grid {
    grid-template-columns: 1fr;
  }

  .dw-bank-grid .bank-opt:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .dw-review-card dl {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .dw-topbar-actions {
    gap: 5px;
  }

  .dw-brand-copy strong {
    max-width: 155px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dw-wizard-head p {
    max-width: 235px;
  }

  .dw-stepper {
    padding-inline: 11px;
  }

  .dw-wizard-step {
    padding-inline: 14px;
  }

  .dw-review-card dl {
    grid-template-columns: 1fr;
  }

  .dw-review-file-status {
    margin-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dw-app *,
  .dw-app *::before,
  .dw-app *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .dw-topbar,
  .dw-brand-panel,
  .dw-form-actions,
  .dw-page-note,
  .dw-footer {
    display: none !important;
  }

  .dw-page-shell {
    display: block;
    width: 100%;
    margin: 0;
  }

  .dw-wizard-card {
    border: 0;
    box-shadow: none;
  }
}

/* ============================================================
   تعديلات الاتجاه عند التبديل للإنجليزي (LTR)
   .dw-form-column له direction: rtl ثابت أصلاً (بغض النظر عن لغة
   الصفحة) — بنلغيه هنا فقط لما html[dir="ltr"] عشان الفورم العام
   يتحول فعليًا لـ LTR مع الإنجليزي
   ============================================================ */
html[dir="ltr"] .dw-form-column { direction: ltr; }

html[dir="ltr"] .dw-step-item,
html[dir="ltr"] .bank-opt,
html[dir="ltr"] .dw-upload-copy,
html[dir="ltr"] .dw-success-note {
  text-align: left;
}

html[dir="ltr"] .dw-phone-wrap input,
html[dir="ltr"] .dw-amount-wrap input,
html[dir="ltr"] .dw-date-wrap input {
  text-align: left;
}
