.ppcf-form{border:1px solid #ddd;padding:16px;margin:16px 0;background:#fafafa;}
.ppcf-field{margin-bottom:12px;}
.ppcf-field label{display:block;font-weight:600;margin-bottom:4px;}
.ppcf-error{color:#b70000;font-size:12px;}
.ppcf-message.ppcf-success{margin-top:10px;color:#0a7f1e;}
.ppcf-message.ppcf-error{margin-top:10px;color:#b70000;}

/* Multi-step forms */
/* Multi-step forms */
.ppcf-steps { margin-top: 10px; }
.ppcf-step { display: none; }
.ppcf-step[aria-hidden="false"] { display: block; }

.ppcf-step-title { font-size: 16px; margin: 0 0 10px; font-weight: 600; }

.ppcf-step-nav { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.ppcf-step-nav .ppcf-prev,
.ppcf-step-nav .ppcf-next,
.ppcf-step-nav .ppcf-submit { padding: 10px 14px; }

/* Progress (optional) */
.ppcf-steps-progress {
    margin: 0 0 12px;
    font-size: 12px;
    opacity: .8;
}
.ppcf-steps-progress .ppcf-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(0,0,0,0.12);
    overflow: hidden;
    margin-top: 6px;
}
.ppcf-steps-progress .ppcf-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: rgba(0,0,0,0.55);
    transition: width 180ms ease;
}

/* Bullets (optional) - matches PHP markup: li.ppcf-bullet > button.ppcf-bullet-btn */
.ppcf-steps-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
}
.ppcf-steps-bullets .ppcf-bullet { margin: 0; padding: 0; }

.ppcf-steps-bullets .ppcf-bullet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.85);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
}
.ppcf-steps-bullets .ppcf-bullet-btn:focus {
    outline: 2px solid rgba(0,0,0,0.35);
    outline-offset: 2px;
}

.ppcf-steps-bullets .ppcf-bullet-index {
    display: inline-flex;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(0,0,0,0.2);
    opacity: .8;
}
.ppcf-steps-bullets .ppcf-bullet-text { opacity: .85; }

/* Active + complete states (JS toggles .is-active and .is-complete on li.ppcf-bullet) */
.ppcf-steps-bullets .ppcf-bullet.is-active .ppcf-bullet-btn {
    border-color: rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.06);
}
.ppcf-steps-bullets .ppcf-bullet.is-active .ppcf-bullet-index {
    opacity: 1;
    border-color: rgba(0,0,0,0.45);
}
.ppcf-steps-bullets .ppcf-bullet.is-complete .ppcf-bullet-btn {
    opacity: .9;
}
.ppcf-steps-bullets .ppcf-bullet.is-complete .ppcf-bullet-index {
    opacity: 1;
}

.ppcf-modal {
  position: absolute;
  inset: 0;
  z-index: 9999;
}

.ppcf-form { position: relative; } /* important so modal sits over this form */

.ppcf-modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}

.ppcf-modal-panel{
  position:absolute;
  left:0%;
  top:50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 32px));
  background:#fff;
  border-radius:12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  overflow:hidden;
}

.ppcf-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.ppcf-modal-title{
  font-weight:700;
  font-size:16px;
}

.ppcf-modal-close{
  border:0;
  background:transparent;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  opacity:0.7;
}

.ppcf-modal-body{
  padding:14px 16px;
}

.ppcf-modal-footer{
  padding:12px 16px;
  border-top:1px solid rgba(0,0,0,0.08);
  display:flex;
  justify-content:flex-end;
}

.ppcf-modal-btn{
  padding:10px 14px;
  border:1px solid rgba(0,0,0,0.15);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}

.ppcf-modal.is-success .ppcf-modal-title { color:#0a7f1e; }
.ppcf-modal.is-error .ppcf-modal-title { color:#b70000; }


/* -------------------------------------------------
   Content / Instruction blocks
-------------------------------------------------- */

.ppcf-block { margin: 0px 0px; }

.ppcf-block-heading h2,
.ppcf-block-heading h3,
.ppcf-block-heading h4 {
    margin: 0 0 6px;
    line-height: 1.2;
}

.ppcf-block-paragraph {
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.45;
}

.ppcf-block-divider hr {
    border: 0;
    height: 1px;
    background: rgba(0,0,0,0.12);
    margin: 14px 0;
}

.ppcf-block-image img {
    display: block;
    height: auto;
    border-radius: 8px;
}

.ppcf-block-image.is-align-left img { margin-left: 0; margin-right: auto; }
.ppcf-block-image.is-align-center img { margin-left: auto; margin-right: auto; }
.ppcf-block-image.is-align-right img { margin-left: auto; margin-right: 0; }

.ppcf-block-html {
    font-size: 14px;
    line-height: 1.45;
}

