/* Promptifyy (Beatifyy style) - White Theme */
.pfy-wrap{
  background:#ffffff;
  color:#111827;
  border-radius:14px;
  max-width:980px;
  margin:24px auto;
  padding:24px;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto;
  border:1px solid #e5e7eb;
}

/* Header */
.pfy-header{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:space-between;
  margin-bottom:16px;
}
.pfy-title{
  margin:0;
  font-size:30px;
  color:#5d17eb; /* Purple accent */
}
.pfy-sub{
  margin:6px 0 0;
  color:#4b5563;
}

/* Buttons */
.pfy-btn{
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  display:inline-block;
}
.pfy-btn-primary{
  background:#5d17eb;
  color:#ffffff;
  border:none;
}
.pfy-btn-ghost{
  background:#ffffff;
  color:#111827;
  border:1px solid #5d17eb;
}

/* Grids */
.pfy-grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:14px;
}
.pfy-grid5{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}

/* Inputs */
.pfy-label{
  display:block;
  margin-bottom:6px;
}
.pfy-input,
.pfy-select,
.pfy-textarea{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #d1d5db;
  background:#ffffff;
  color:#111827;
}

/* Type selector */
.pfy-type{
  padding:12px;
  border-radius:10px;
  border:1px solid #d1d5db;
  background:#f3f4f6;
  color:#111827;
  cursor:pointer;
}
.pfy-type.active{
  border:2px solid #5d17eb;
  background:#ede9fe;
  color:#111827;
  font-weight:600;
}
.pfy-type.disabled{
  border:1px dashed #d1d5db;
  background:#f9fafb;
  color:#9ca3af;
  cursor:not-allowed;
}

/* Details box */
.pfy-details{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:14px;
  margin-bottom:14px;
}

/* Preview area */
.pfy-pre{
  background:#f3f4f6;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:14px;
  white-space:pre-wrap;
  overflow:auto;
  min-height:140px;
  font-family:Menlo,Consolas,monospace;
  font-size:13px;
  line-height:1.55;
  color:#111827;
}

/* Toolbar */
.pfy-toolbar{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
  flex-wrap:wrap;
}

/* Hint */
.pfy-hint{
  color:#6b7280;
  font-size:13px;
  margin-top:6px;
}

/* CTA Row */
.pfy-cta-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

/* Divider */
.pfy-hr{
  border-color:#e5e7eb;
  margin:18px 0;
}