.wphc-form {
  padding: 16px;
  border-radius: 10px;
  max-width: 520px;
}
.wphc-field {
  margin-bottom: 12px;
}
.wphc-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.wphc-field input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.wphc-user input {
  border: 1px solid #d5d5d5 !important;
  border-radius: 10px !important;
}
.wphc-amount-btn.inc {
  background: url(../img/plus.svg);
  background-size: cover;
}
.wphc-amount-btn.dec {
  background: url(../img/minus.svg);
  background-size: cover;
}
.wphc-row {
  display: flex;
  gap: 10px;
}
.wphc-row .wphc-field {
  flex: 1;
}
.wphc-amount-btn:hover {
  cursor: pointer;
  scale: 0.9;
}
.wphc-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: #1e88e5;
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.wphc-note {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
}
.wphc-ok {
  color: #16a34a;
  font-weight: 700;
  margin: 8px 0;
}
.wphc-bad {
  color: #dc2626;
  font-weight: 700;
  margin: 8px 0;
}
.wphc-warn {
  color: #a16207;
  font-weight: 600;
}
.wphc-disabled {
  opacity: 0.6;
  pointer-events: none;
}
/* Grid */
.wphc-grid {
  display: flex;
  gap: 18px;
  direction: rtl;
  flex-direction: column;
}
.wphc-user {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
@media (max-width: 700px) {
}

/* Amount box */
.wphc-amount-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f6f9;
  border: 1px solid #e6ecf2;
  border-radius: 12px;
  padding: 12px;
}
.wphc-amount-btn {
  border: none !important;
  background: white;
  box-shadow: 0px 0px 4px 0px #cbcbcb4f;
  padding: 0px;
  display: flex;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  border-radius: 12px !important;
  transition: 0.4s;
}
button.wphc-preset:focus {
  background: #eff8ff;
  border-color: #1fb0f0;
  color: #4d4d4d;
}
.wphc-presets button:hover {
  background: #1fb0f0;
  color: white;
}
.wphc-btn:hover {
  background: #1780af !important;
}
span.wphc-currency {
  position: absolute;
  left: 60px;
  font-weight: bold;
  color: #454545;
}

.wphc-amount-btn svg {
  width: 35px;
  height: 35px;
}
.wphc-amount-display {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  position: relative;
}
.wphc-currency {
  color: #6b7280;
  min-width: 2.5rem;
  text-align: center;
}
.wphc-amount-input {
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  outline: none;
  width: 100%;
  border: none !important;
}

/* Help & presets */
.wphc-presets {
  display: flex;
  justify-content: space-between;
}
.wphc-help {
  margin-bottom: 20px;
  margin-top: 5px;
  color: #6b7280;
  font-size: 12px;
  text-align: center;
}
.wphc-presets button {
  background: #f3f6f9;
  color: #4f4f4f;
  font-weight: 400;
  border: 1px solid transparent;
  height: 60px;
  border-radius: 8px;
}
.wphc-preset.is-active {
  outline: 2px solid #9bd1ff;
  background: #eff8ff;
}

/* Right column fields */
.wphc-field {
  display: block;
  margin-bottom: 12px;
}
.wphc-field > span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 13px;
}
.wphc-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cdd6e1;
  border-radius: 12px;
  background: #fff;
}

/* Submit */
button.wphc-btn {
  width: 100%;
  background: #1fb0f0;
  color: white;
  border-radius: 11px;
  border: none;
  height: 50px;
}
.wphc-ok,
.wphc-bad,
.wphc-warn {
  margin: 8px 0;
}
.wphc-progress-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.wphc-progress-badge {
  background: #f3f4f6;
  color: #111827;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}
.wphc-progress-thanks {
  color: #10b981;
  font-weight: 700;
  font-size: 13px;
}
.wphc-progress-bar {
  height: var(--wphc-bar-h, 6px);
  background: #dadada;
  border-radius: var(--wphc-bar-radius, 9999px);
  overflow: hidden;
}
.wphc-progress-bar > span {
  display: block;
  height: 100%;
  background: var(--wphc-bar-fg, #10b981);
  border-radius: inherit;
  transition: width 0.35s ease;
}
.wphc-progress-bar {
    width: 200px !important;
}