/* DPI Converter Pro WordPress Native */
.dcp-app{
  max-width:1200px;
  margin:0 auto 24px;
  font-family:Arial,Helvetica,sans-serif;
  color:#111827;
}
.dcp-header{
  width:100%;
  padding:24px 20px;
  margin:0 auto 18px;
  border-radius:0 0 18px 18px;
  background:#111827;
  color:#fff;
  text-align:center;
  box-sizing:border-box;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.dcp-header h1{margin:0 0 8px;font-size:38px;line-height:1.1;color:#fff!important}
.dcp-header p{margin:0 0 10px;font-size:16px;color:#e5e7eb}
.dcp-meta{font-size:13px;color:#cbd5e1;margin-top:4px}
.dcp-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.dcp-drop{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:3px dashed #94a3b8;
  border-radius:16px;
  background:#f8fafc;
  padding:34px;
  text-align:center;
  cursor:pointer;
}
.dcp-drop input{display:none}
.dcp-drop strong{font-size:22px}
.dcp-drop span{font-size:14px;color:#475569}
.dcp-controls{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.dcp-controls label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:13px}
.dcp-controls select{padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
.dcp-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.dcp-btn{
  border:0;
  border-radius:12px;
  padding:12px 16px;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.dcp-btn:disabled{opacity:.45;cursor:not-allowed}
.dcp-blue{background:#2563eb}
.dcp-green{background:#16a34a}
.dcp-purple{background:#7c3aed}
.dcp-red{background:#dc2626}
.dcp-status{margin-top:16px;padding:12px;border-radius:12px;background:#f1f5f9;color:#334155;font-weight:700}
.dcp-results{margin-top:14px;display:grid;gap:10px}
.dcp-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:14px;padding:10px}
.dcp-item img{width:64px;height:64px;object-fit:contain;background:#f8fafc;border-radius:10px}
.dcp-item a{background:#0f172a;color:#fff!important;text-decoration:none;border-radius:10px;padding:9px 12px;font-weight:700}
.dcp-warning{color:#b45309;font-weight:700}

/* Hidden edit panel */
#dcpEditorOverlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.72);
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
#dcpEditorOverlay.dcp-open{display:flex}
#dcpEditorBox{
  width:min(720px,96vw);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  padding:22px;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
  color:#111827;
  box-sizing:border-box;
}
#dcpEditorBox h2{margin:0 0 8px;font-size:24px;color:#111827!important}
#dcpEditorBox p{margin:0 0 16px;color:#64748b}
#dcpEditorBox label{display:block;font-weight:700;margin:12px 0 6px}
#dcpEditorBox input,#dcpEditorBox textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;padding:11px;font-size:15px}
#dcpEditorBox textarea{min-height:84px;resize:vertical}
.dcp-editor-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.dcp-editor-actions button{border:0;border-radius:10px;padding:11px 14px;font-weight:800;cursor:pointer;color:#fff}
#dcpEditorLoginBtn{background:#2563eb}
#dcpEditorSaveBtn{background:#16a34a}
#dcpEditorResetBtn{background:#7c3aed}
.dcpEditorClose{background:#dc2626}
#dcpEditorError{display:none;color:#dc2626;font-weight:700;margin-top:10px}
#dcpEditorAdmin{display:none;border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px}
.dcp-note{font-size:12px;color:#64748b;margin-top:10px}
@media(max-width:700px){
  .dcp-controls{grid-template-columns:1fr}
  .dcp-item{grid-template-columns:48px 1fr}
  .dcp-item a{grid-column:1/-1;text-align:center}
}
