#eldalil-mobile-settings {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #f5d0dc;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #fdf8f5);
  font-family: 'Cairo', 'Almarai', system-ui, sans-serif;
  direction: rtl;
  box-shadow: 0 8px 28px rgba(235, 95, 125, 0.12);
}

#eldalil-mobile-settings .em-hd {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

#eldalil-mobile-settings .em-sub {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

#eldalil-mobile-settings .em-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

#eldalil-mobile-settings .em-row:last-child {
  border-bottom: 0;
}

#eldalil-mobile-settings .em-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

#eldalil-mobile-settings .em-hint {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 3px;
}

#eldalil-mobile-settings select,
#eldalil-mobile-settings input[type='range'] {
  min-width: 120px;
}

#eldalil-mobile-settings .em-btn {
  background: linear-gradient(135deg, #eb5f7d, #c94068);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Almarai', sans-serif;
}

#eldalil-mobile-settings .em-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: #eff6ff;
  border-radius: 8px;
  font-size: 12px;
  color: #1e40af;
  line-height: 1.5;
}

#eldalil-mobile-settings .em-toggle {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

#eldalil-mobile-settings .em-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

#eldalil-mobile-settings .em-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}

#eldalil-mobile-settings .em-slider:before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

#eldalil-mobile-settings .em-toggle input:checked + .em-slider {
  background: #1f93ff;
}

#eldalil-mobile-settings .em-toggle input:checked + .em-slider:before {
  transform: translateX(20px);
}

/* ── Dark mode ── */
body.dark #eldalil-mobile-settings {
  background: linear-gradient(160deg, #1e1e22, #1a1c1f);
  border-color: rgba(235, 95, 125, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

body.dark #eldalil-mobile-settings .em-hd {
  color: #e2e8f0;
}

body.dark #eldalil-mobile-settings .em-sub {
  color: #64748b;
}

body.dark #eldalil-mobile-settings .em-row {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark #eldalil-mobile-settings .em-label {
  color: #cbd5e1;
}

body.dark #eldalil-mobile-settings .em-hint {
  color: #4b5563;
}

body.dark #eldalil-mobile-settings .em-note {
  background: rgba(30, 64, 175, 0.15);
  color: #93c5fd;
}

body.dark #eldalil-mobile-settings .em-slider {
  background: #3a3d45;
}

body.dark #eldalil-mobile-settings .em-slider:before {
  background: #e2e8f0;
}
