/* ═══════════════════════════════════════════════════
   Dr. Sherif Hegazy Forms — Frontend Form Styles
   Background #1e1e1e · luxury dark/gold theme
═══════════════════════════════════════════════════ */
/* Cairo font is loaded via PHP for better performance */

.dsh-form-wrap {
  --g:      #C9A96E;
  --gd:     #9E7B45;
  --gl:     #E2C99A;
  --bg:     #1e1e1e;
  --card:   #252525;
  --card2:  #2c2c2c;
  --border: rgba(201,169,110,.18);
  --bh:     rgba(201,169,110,.42);
  --off:    #E8E6E1;
  --muted:  #888;
  --light:  #B8B8B8;
  --error:  #e07a7a;
  --r:      12px;
  --t:      all .22s ease;

  background: var(--bg);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 28px 64px;
  box-sizing: border-box;
}

.dsh-form-wrap { font-family: 'Cairo', system-ui, -apple-system, sans-serif !important; }

/* ════════════════════════════════════════════════════
   CARD
════════════════════════════════════════════════════ */
.dsh-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}

.dsh-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g);
  border-bottom: 1px solid var(--border);
  background: rgba(201,169,110,.03);
}

.dsh-card-header::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, var(--gd), var(--g));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════
   CARD BODY GRID
════════════════════════════════════════════════════ */
.dsh-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}

.dsh-card-body.dsh-photos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px 24px;
}
.dsh-card-body.dsh-photos-grid .dsh-f {
  width: calc(33.333% - 12px);
  min-width: 140px;
}

/* ── Field wrapper ── */
.dsh-f {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.dsh-f.dsh-w-full  { grid-column: 1 / -1; }
.dsh-f.dsh-w-half  { grid-column: span 1; }
.dsh-f.dsh-w-third { grid-column: span 1; }

/* ════════════════════════════════════════════════════
   LABELS
════════════════════════════════════════════════════ */
.dsh-label {
  font-size: calc(var(--dsh-fs, 13.5px) * 0.78);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.dsh-req { color: var(--g); margin-inline-start: 2px; }

/* ════════════════════════════════════════════════════
   INPUTS
════════════════════════════════════════════════════ */
.dsh-input,
.dsh-select,
.dsh-textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--card2);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: var(--dsh-fs, 13.5px);
  color: var(--off);
  outline: none;
  transition: var(--t);
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.dsh-form-wrap[dir="rtl"] .dsh-input,
.dsh-form-wrap[dir="rtl"] .dsh-select,
.dsh-form-wrap[dir="rtl"] .dsh-textarea { text-align: right; }

.dsh-input::placeholder,
.dsh-textarea::placeholder { color: #404040; }

.dsh-input:focus,
.dsh-select:focus,
.dsh-textarea:focus {
  border-color: var(--g);
  background: #303030;
  box-shadow: 0 0 0 3px rgba(201,169,110,.1);
}
.dsh-input.dsh-err,
.dsh-select.dsh-err { border-color: var(--error); box-shadow: 0 0 0 3px rgba(224,122,122,.1); }

/* Select arrow */
.dsh-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23888' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
  cursor: pointer;
}
.dsh-form-wrap[dir="rtl"] .dsh-select {
  background-position: right 14px center;
  padding-left: 14px;
  padding-right: 36px;
}
.dsh-select option { background: #252525; }
.dsh-textarea { resize: none; min-height: 80px; }

/* ════════════════════════════════════════════════════
   CHIPS (radio / checkbox)
════════════════════════════════════════════════════ */
.dsh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dsh-chips input[type="radio"],
.dsh-chips input[type="checkbox"] { display: none; }
.dsh-chips label {
  padding: 8px 16px;
  background: var(--card2);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: calc(var(--dsh-fs, 13.5px) * 0.93);
  color: var(--light);
  cursor: pointer;
  transition: var(--t);
  user-select: none;
  font-family: inherit;
  line-height: 1.4;
}
.dsh-chips input:checked + label {
  background: rgba(201,169,110,.12);
  border-color: var(--g);
  color: var(--g);
}
.dsh-chips label:hover { border-color: var(--bh); color: var(--gl); }

/* ── Hint / Error ── */
.dsh-hint    { font-size: 11px; color: var(--muted); }
.dsh-err-msg { font-size: 11px; color: var(--error); }

/* ════════════════════════════════════════════════════
   EXAMPLES SECTION
════════════════════════════════════════════════════ */
.dsh-examples-wrap {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(201,169,110,0.03);
}
.dsh-examples-head {
  margin-bottom: 20px;
  text-align: center;
}
.dsh-examples-head strong {
  display: block;
  font-size: 14px;
  color: var(--g);
  margin-bottom: 4px;
}
.dsh-examples-head p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.dsh-examples-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}
.dsh-example-item {
  width: 64px !important;
  flex: 0 0 64px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
}
.dsh-example-img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
  background: var(--card2) !important;
}
.dsh-example-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.85 !important;
  display: block !important;
}
.dsh-example-item:hover .dsh-example-img { border-color: var(--g) !important; transform: scale(1.1) !important; z-index: 2; }
.dsh-example-item:hover img { opacity: 1 !important; }
.dsh-example-item small {
  font-size: 8px !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
  text-align: center !important;
  line-height: 1.1 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* ════════════════════════════════════════════════════
   PHOTO UPLOAD
════════════════════════════════════════════════════ */
.dsh-upload-slot { display: flex; flex-direction: column; }

.dsh-upload-box {
  aspect-ratio: 1;
  background: var(--card2);
  border: 1.5px dashed var(--border);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 8px;
}

.dsh-upload-box.dsh-has-img::before { display: none; }


.dsh-upload-box:hover  { border-color: var(--g); background: #303030; }
.dsh-upload-box.dsh-drag { border-color: var(--g); background: rgba(201,169,110,.06); }
.dsh-upload-box.dsh-has-img { border-style: solid; border-color: var(--gd); }
.dsh-upload-slot.dsh-err .dsh-upload-box { border-color: #d63638; box-shadow: 0 0 0 2px rgba(214,54,56,.15); }
.dsh-upload-box.dsh-compressing { opacity: .65; pointer-events: none; }
.dsh-upload-box.dsh-compressing::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px;
  border: 2px solid rgba(201,169,110,.3);
  border-top-color: var(--g);
  border-radius: 50%;
  animation: dsh-spin .8s linear infinite;
  z-index: 2;
}
@keyframes dsh-spin { to { transform: rotate(360deg); } }


.dsh-upload-ico { 
  color: var(--muted);
  margin-bottom: 4px;
  position: relative; 
  z-index: 1; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.dsh-upload-lbl  { font-size: 13px; font-weight: 700; color: var(--off); position: relative; z-index: 1; }

.dsh-upload-hint {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.dsh-up-preview {
  display: none;
  position: absolute; inset: 0;
  border-radius: inherit; overflow: hidden;
}
.dsh-up-preview img { width: 100%; height: 100%; object-fit: cover; }
.dsh-up-preview.dsh-show { display: block; }

.dsh-rm-photo {
  position: absolute; top: 6px; inset-inline-start: 6px;
  width: 24px; height: 24px;
  background: rgba(0,0,0,.82);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t);
  line-height: 1;
}
.dsh-rm-photo:hover { background: #b03333; }

/* ════════════════════════════════════════════════════
   DOCTOR BRIEF
════════════════════════════════════════════════════ */
.dsh-doctor-brief { padding: 20px 24px 24px; }

.dsh-db-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dsh-db-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--g);
}
.dsh-db-badge {
  font-size: 10px;
  background: rgba(201,169,110,.08);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 12px;
  color: var(--muted);
}
.dsh-db-paper {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,.5);
  position: relative;
}
.dsh-db-paper::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent, transparent 37px, rgba(201,169,110,.16) 37px, rgba(201,169,110,.16) 38px);
  background-position: 0 52px;
  pointer-events: none;
}
.dsh-db-topbar {
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #444;
  position: relative; z-index: 1;
  font-family: 'Cairo', sans-serif;
}
.dsh-db-textarea {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 38px;
  padding: 14px 20px 10px;
  min-height: 200px;
  position: relative; z-index: 1;
  font-family: 'Cairo', sans-serif;
}
.dsh-form-wrap[dir="rtl"] .dsh-db-textarea { direction: rtl; text-align: right; }
.dsh-form-wrap[dir="ltr"] .dsh-db-textarea { direction: ltr; text-align: left; }
.dsh-db-textarea::placeholder { color: #bbb; font-style: italic; font-size: 13px; font-weight: 400; }
.dsh-db-count {
  display: block;
  font-size: 10.5px;
  color: #aaa;
  text-align: end;
  padding: 0 20px 6px;
  position: relative; z-index: 1;
  font-family: 'Cairo', sans-serif;
}
.dsh-db-footer {
  background: #f7f7f7;
  border-top: 1px solid #e8e8e8;
  padding: 12px 20px;
  position: relative; z-index: 1;
  display: flex;
  justify-content: flex-end;
}
.dsh-db-footer small {
  font-size: 10px; color: #aaa; letter-spacing: .06em;
  text-transform: uppercase; display: block; margin-bottom: 4px;
  font-family: 'Cairo', sans-serif;
}
.dsh-db-sig-line { width: 160px; border-bottom: 1.5px solid #ccc; height: 24px; }

/* ════════════════════════════════════════════════════
   CONSENT
════════════════════════════════════════════════════ */
.dsh-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  cursor: pointer;
  transition: var(--t);
  margin: 6px 0 16px;
}
.dsh-consent:hover { border-color: var(--bh); }
.dsh-consent.dsh-checked { border-color: var(--gd); background: rgba(201,169,110,.06); }

.dsh-chk-box {
  width: 20px; height: 20px; min-width: 20px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--card2);
  display: flex; align-items: center; justify-content: center;
  color: #000;
  transition: var(--t);
}
.dsh-consent.dsh-checked .dsh-chk-box { background: var(--g); border-color: var(--g); }
.dsh-consent p { font-size: 12.5px; color: var(--light); line-height: 1.7; margin: 0; }
.dsh-consent a { color: var(--g); text-decoration: none; }

/* ════════════════════════════════════════════════════
   ERROR BANNER
════════════════════════════════════════════════════ */
.dsh-err-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,122,122,.1);
  border: 1px solid rgba(224,122,122,.3);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--error);
  margin-bottom: 14px;
}

/* ════════════════════════════════════════════════════
   SUBMIT BUTTON
   High-specificity rules + !important override theme/
   Elementor button resets that hide the text color.
════════════════════════════════════════════════════ */
.dsh-form-wrap .dsh-submit-btn,
.dsh-form-wrap button.dsh-submit-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--gd), var(--g)) !important;
  color: #1a1a1a !important;
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  border: none !important;
  border-radius: var(--r);
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  transition: var(--t);
  box-shadow: 0 4px 22px rgba(201,169,110,.28);
  text-decoration: none !important;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.dsh-form-wrap .dsh-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,.42);
}
.dsh-form-wrap .dsh-submit-btn:active { transform: translateY(0); }
.dsh-form-wrap .dsh-submit-btn:disabled {
  opacity: .6; cursor: not-allowed; transform: none;
}

/* Force text span to always be visible regardless of theme resets */
.dsh-form-wrap .dsh-submit-btn .dsh-btn-txt {
  color: #1a1a1a !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif !important;
  line-height: 1.3 !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}


.dsh-spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(0,0,0,.25);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: dsh-spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes dsh-spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════
   SUCCESS SCREEN
════════════════════════════════════════════════════ */
.dsh-success {
  text-align: center;
  padding: 60px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.dsh-success-ico {
  position: relative;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gd), var(--g));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #000;
  margin: 0 auto 24px;
  will-change: transform;
}
/* GPU-accelerated rings via pseudo-elements — no box-shadow paint on each frame */
.dsh-success-ico::before,
.dsh-success-ico::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}
.dsh-success-ico::before {
  inset: -14px;
  background: rgba(201,169,110,.12);
  animation: dsh-pulse 2s ease infinite;
}
.dsh-success-ico::after {
  inset: -28px;
  background: rgba(201,169,110,.06);
  animation: dsh-pulse 2s ease infinite .25s;
}
@keyframes dsh-pulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.2); opacity: .4; }
}
.dsh-success h2 { font-size: 26px; font-weight: 700; color: var(--off); margin: 0 0 12px; }
.dsh-success p  { font-size: 15px; color: var(--light); line-height: 1.7; max-width: 400px; margin: 0 auto 28px; }
.dsh-ref-box {
  display: inline-block;
  background: rgba(201,169,110,.07);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 40px;
}
.dsh-ref-box small  { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.dsh-ref-box strong { font-size: 24px; color: var(--g); letter-spacing: .1em; }

/* ════════════════════════════════════════════════════
   LIGHT THEME  [data-theme="light"]
════════════════════════════════════════════════════ */
.dsh-form-wrap[data-theme="light"] {
  --bg:     #F5F2EC;
  --card:   #FFFFFF;
  --card2:  #F0EDE7;
  --border: #DDD5C3;
  --bh:     rgba(158,123,69,.55);
  --off:    #1D2027;
  --muted:  #7A746B;
  --light:  #968E83;
  --error:  #c0392b;
}

.dsh-form-wrap[data-theme="light"] .dsh-input::placeholder,
.dsh-form-wrap[data-theme="light"] .dsh-textarea::placeholder { color: #C0B8AF; }

.dsh-form-wrap[data-theme="light"] .dsh-input:focus,
.dsh-form-wrap[data-theme="light"] .dsh-select:focus,
.dsh-form-wrap[data-theme="light"] .dsh-textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(158,123,69,.12);
}

.dsh-form-wrap[data-theme="light"] .dsh-select option { background: #fff; color: #1D2027; }

.dsh-form-wrap[data-theme="light"] .dsh-upload-box:hover { background: #E8E3DB; }
.dsh-form-wrap[data-theme="light"] .dsh-upload-box.dsh-drag { background: rgba(201,169,110,.1); }

.dsh-form-wrap[data-theme="light"] .dsh-rm-photo { background: rgba(0,0,0,.55); }

.dsh-form-wrap[data-theme="light"] .dsh-success { background: #fff; }
.dsh-form-wrap[data-theme="light"] .dsh-success h2 { color: var(--off); }
.dsh-form-wrap[data-theme="light"] .dsh-success p  { color: var(--muted); }
.dsh-form-wrap[data-theme="light"] .dsh-ref-box strong { color: var(--gd); }

/* ════════════════════════════════════════════════════
   TRANSPARENT THEME  [data-theme="transparent"]
════════════════════════════════════════════════════ */
.dsh-form-wrap[data-theme="transparent"] {
  --bg:     transparent;
  --card:   transparent;
  --card2:  rgba(255,255,255,0.05);
  --border: rgba(201,169,110,.22);
  --bh:     rgba(201,169,110,.45);
  --off:    inherit;
  --muted:  rgba(128,128,128,.9);
  --light:  rgba(180,180,180,.9);
  --error:  #e07a7a;
  background: transparent !important;
  padding: 0;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-card {
  background: transparent !important;
  border-color: var(--border) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-card-header {
  background: transparent !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-input,
.dsh-form-wrap[data-theme="transparent"] .dsh-select,
.dsh-form-wrap[data-theme="transparent"] .dsh-textarea {
  background: rgba(255,255,255,0.06) !important;
  border-color: var(--border) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-input:focus,
.dsh-form-wrap[data-theme="transparent"] .dsh-select:focus,
.dsh-form-wrap[data-theme="transparent"] .dsh-textarea:focus {
  background: rgba(255,255,255,0.10) !important;
  box-shadow: 0 0 0 3px rgba(201,169,110,.12) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-chips label {
  background: rgba(255,255,255,0.06) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-upload-box {
  background: rgba(255,255,255,0.04) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-upload-box:hover {
  background: rgba(255,255,255,0.08) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-consent {
  background: transparent !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-examples-wrap {
  background: transparent !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-example-img {
  background: rgba(255,255,255,0.06) !important;
}

.dsh-form-wrap[data-theme="transparent"] .dsh-success {
  background: transparent !important;
  border-color: var(--border) !important;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .dsh-form-wrap   { padding: 28px 18px 50px; }
  .dsh-card-header { padding: 13px 20px; }
  .dsh-card-body   { padding: 20px; gap: 16px; }
  .dsh-card-body.dsh-photos-grid { gap: 14px; }
  .dsh-card-body.dsh-photos-grid .dsh-f { width: calc(50% - 8px); }
}

/* Mobile */
@media (max-width: 520px) {
  .dsh-form-wrap { padding: 16px 12px calc(80px + env(safe-area-inset-bottom, 0px)); }

  .dsh-card-body {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }
  .dsh-f.dsh-w-full,
  .dsh-f.dsh-w-half { grid-column: 1 / -1; }

  /* Photos always stay 2-column on mobile */
  .dsh-card-body.dsh-photos-grid {
    padding: 14px 16px;
    gap: 10px;
  }
  .dsh-card-body.dsh-photos-grid .dsh-f { width: calc(50% - 6px); }

  .dsh-card-header { padding: 12px 16px; font-size: 10px; }
  .dsh-doctor-brief { padding: 14px 16px 18px; }
  .dsh-db-topbar { flex-direction: column; gap: 2px; }

  .dsh-chips label { padding: 7px 12px; font-size: 12px; }
  .dsh-form-wrap .dsh-submit-btn { font-size: 15px !important; padding: 18px 20px !important; margin-bottom: 20px; }
}

/* ════════════════════════════════════════════════════
   THANK YOU PAGE  [dsh_thankyou]
════════════════════════════════════════════════════ */
.dsh-ty-wrap {
  background: #1e1e1e;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.dsh-ty-wrap::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,.1) 0%, transparent 70%);
  pointer-events: none;
}

.dsh-ty-container {
  max-width: 560px;
  width: 100%;
  text-align: center;
  position: relative; z-index: 1;
}

/* Brand mark */
.dsh-ty-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  color: #C9A96E;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: .7;
}

/* Check circle */
.dsh-ty-icon {
  position: relative;
  width: 90px; height: 90px;
  background: linear-gradient(135deg, #9E7B45, #C9A96E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  will-change: transform;
}
.dsh-ty-icon::before,
.dsh-ty-icon::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}
.dsh-ty-icon::before {
  inset: -16px;
  background: rgba(201,169,110,.1);
  animation: dsh-ty-pulse 2.4s ease infinite;
}
.dsh-ty-icon::after {
  inset: -32px;
  background: rgba(201,169,110,.05);
  animation: dsh-ty-pulse 2.4s ease infinite .3s;
}
@keyframes dsh-ty-pulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.2); opacity: .4; }
}
.dsh-ty-icon svg { width: 40px; height: 40px; }

/* Title */
.dsh-ty-title {
  font-size: 32px;
  font-weight: 700;
  color: #E8E6E1;
  margin: 0 0 10px;
  line-height: 1.2;
}
.dsh-ty-subtitle {
  font-size: 15px;
  color: #888;
  margin: 0 0 32px;
  line-height: 1.7;
}

/* Reference box */
.dsh-ty-ref {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #252525;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 14px;
  padding: 18px 48px;
  margin-bottom: 36px;
}
.dsh-ty-ref small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #666;
  margin-bottom: 6px;
}
.dsh-ty-ref strong {
  font-size: 26px;
  font-weight: 700;
  color: #C9A96E;
  letter-spacing: .12em;
}

/* Steps */
.dsh-ty-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  justify-content: center;
}
.dsh-ty-step {
  flex: 1;
  max-width: 160px;
  background: #252525;
  border: 1px solid rgba(201,169,110,.12);
  border-radius: 12px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dsh-ty-step-num {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #9E7B45, #C9A96E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
}
.dsh-ty-step-text {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  text-align: center;
}

/* WhatsApp button */
.dsh-ty-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .22s ease;
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
  margin-bottom: 20px;
}
.dsh-ty-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.38);
  color: #fff;
}
.dsh-ty-wa svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Back link */
.dsh-ty-back {
  display: block;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color .2s;
  margin-top: 8px;
}
.dsh-ty-back:hover { color: #C9A96E; }

/* RTL thank you */
.dsh-ty-wrap { font-family: 'Cairo', sans-serif !important; }

/* Thank you responsive */
@media (max-width: 520px) {
  .dsh-ty-steps { flex-direction: column; align-items: center; }
  .dsh-ty-step  { max-width: 100%; width: 100%; flex-direction: row; text-align: start; }
  .dsh-ty-step-text { text-align: start; }
  .dsh-ty-title { font-size: 26px; }
  .dsh-ty-ref   { padding: 16px 32px; }
  .dsh-ty-ref strong { font-size: 22px; }
}
