:root{
  --bg: #0f172a;
  --card: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #22c55e;
  --danger: #ef4444;
  --border: #1f2937;
  --accent: #38bdf8;
}

*{box-sizing:border-box}
html,body{height:100%}
body.dp-body{
  margin:0;
  background: radial-gradient(1200px 600px at 20% 10%, #1e293b, transparent),
              radial-gradient(800px 500px at 80% 0%, #0b1020, transparent),
              var(--bg);
  color:var(--text);
  font:16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, IRANSans, Vazirmatn, Arial;
  direction: rtl;
}

.dp-container{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 16px;
}

.dp-card{
  width:100%;
  max-width:720px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}

.dp-title{
  margin:0 0 8px;
  font-size:28px;
  letter-spacing:-0.3px;
}

.dp-text{ margin:0 0 16px; color:var(--muted) }

.dp-hint{ color:var(--muted); font-size:13px; margin:8px 0 0 }

.dp-alert{
  border-radius:10px;
  padding:12px 14px;
  margin:12px 0 18px;
  background:#1f2937;
  border:1px solid #374151;
}
.dp-alert-error{ border-color:#7f1d1d; background:#271517; color:#fecaca }
.dp-alert ul{ margin:0; padding-inline-start:18px }

.dp-form{ margin-top:8px }
.dp-field{ margin-bottom:14px }
.dp-field label{
  display:block;
  margin-bottom:6px;
  color:#cbd5e1;
  font-weight:600;
  font-size:14px;
}
.dp-field input,
.dp-field textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#0b1220;
  color:var(--text);
  outline:none;
}
.dp-field input:focus,
.dp-field textarea:focus{
  border-color: var(--accent);
  box-shadow:0 0 0 3px rgba(56,189,248,0.15);
}
.dp-actions{ margin-top:18px }
.dp-btn{
  background:linear-gradient(135deg, var(--primary), #16a34a);
  color:white;
  padding:12px 18px;
  border:0;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}
.dp-btn:hover{ filter:brightness(1.05) }
