/* Dark theme, orange text, responsive, RTL-friendly */
.psh-kyc-container {
  --accent: #ff6a00;
  --bg: #0a0a0a;
  --muted: #222;
  --text: #f5f5f5;
  direction: rtl;
  color: var(--accent);
  background: var(--bg);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
}
.psh-kyc-form h2 {
  color: var(--accent);
  margin: 0 0 12px;
  font-size: 20px;
}
.psh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.psh-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--accent);
}
.psh-grid input {
  background: #111;
  color: var(--text);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 10px 12px;
}
.req { color: #ffae00; margin-right: 6px; }

.psh-terms{display:flex;align-items:center;gap:8px;margin-top:8px;color:var(--text)}
.psh-terms input{transform: scale(1.2)}

.psh-captcha {
  margin-top: 12px;
  background: var(--muted);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.psh-captcha input {
  background: #111;
  color: var(--text);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 8px 10px;
}

.psh-previews { display:flex; flex-wrap: wrap; gap:10px; margin-top:10px; }
.psh-previews .prev { width: 100px; height: 100px; overflow: hidden; border-radius: 10px; border:1px solid #333; }
.psh-previews img { width: 100%; height: 100%; object-fit: cover; }

.psh-step { display:none; }
.psh-step.active { display:block; }

.psh-video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid #333;
}
.psh-video-wrap video {
  width: 100%;
  display: block;
}
#psh-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--text);
  background: rgba(0,0,0,0.15);
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.psh-controls, .psh-nav, .psh-final { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.psh-btn {
  background: #1a1a1a;
  color: var(--accent);
  border: 1px solid #333;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.psh-btn:hover { background: #222; border-color:#444; transform: translateY(-1px); }
.psh-btn:disabled { opacity: .5; cursor:not-allowed; transform:none; }
.psh-btn.ghost { background: transparent; border-color:#444; }
.psh-btn.primary { background: var(--accent); color:#111; border: none; }

#psh-msg { margin-top:10px; display:none; padding:10px 12px; border-radius:10px; }
#psh-msg.ok { background:#0d2b12; color:#a4ffb0; }
#psh-msg.err { background:#2b0d0d; color:#ffb0b0; }

.psh-countdown{min-width:64px;text-align:center;border:1px dashed #444;border-radius:10px;padding:6px 8px;align-self:center}

.hint { color:#ccc; font-size:12px; }

@media (max-width: 700px) {
  .psh-grid { grid-template-columns: 1fr; }
}

.psh-btn[data-loading]{opacity:.8;pointer-events:none}


/* Success modal */
.psh-modal{position:fixed;inset:0;display:none;z-index:9999}
.psh-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6)}
.psh-modal-card{position:relative;max-width:520px;margin:10vh auto;background:#111;border:1px solid #333;border-radius:16px;padding:20px;color:#f5f5f5;text-align:right}
.psh-modal-card h3{margin:0 0 10px;color:#ff6a00}
.psh-modal-card p{margin:0 0 14px;color:#ddd}

.psh-quota{margin-top:6px;color:#ffd4a6}
