/* Scoped to this plugin so Divi and other forms keep their own styling. */
.web29-rbf,
.web29-rbf * { box-sizing: border-box; }
.web29-rbf {
    --w29-accent: #003e6b;
    --w29-background: #ececf3;
    width: 100%;
    padding: 30px;
    background: var(--w29-background);
    color: #44546a;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
.web29-rbf [hidden] { display: none !important; }
.web29-rbf .web29-rbf__form { margin: 0; padding: 0; }
.web29-rbf .web29-rbf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 15px; }
.web29-rbf .web29-rbf__field { min-width: 0; }
.web29-rbf .web29-rbf__full { grid-column: 1 / -1; }
.web29-rbf .web29-rbf__field input,
.web29-rbf .web29-rbf__field select,
.web29-rbf .web29-rbf__field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid #d6d8de;
    border-radius: 7px;
    background-color: #fff;
    color: #34485c;
    font: inherit;
    line-height: 1.5;
    box-shadow: none;
    opacity: 1;
}
.web29-rbf .web29-rbf__field input::placeholder,
.web29-rbf .web29-rbf__field textarea::placeholder { color: #69788b; opacity: 1; }
.web29-rbf .web29-rbf__field select { padding-right: 30px; cursor: pointer; }
.web29-rbf .web29-rbf__field textarea { min-height: 90px; resize: vertical; }
.web29-rbf .web29-rbf__date-label,
.web29-rbf .web29-rbf__captcha-label { display: block; margin-bottom: 6px; padding: 0; color: #4c5e73; font-size: 13px; font-weight: 500; }
.web29-rbf .web29-rbf__field input:focus,
.web29-rbf .web29-rbf__field select:focus,
.web29-rbf .web29-rbf__field textarea:focus { border-color: var(--w29-accent); outline: 2px solid var(--w29-accent); outline-offset: 2px; }
.web29-rbf .web29-rbf__field [aria-invalid="true"] { border-color: #ae2536; }
.web29-rbf .web29-rbf__error { display: block; color: #9d1c2d; font-size: 13px; margin-top: 5px; }
.web29-rbf .web29-rbf__error:empty { display: none; }
.web29-rbf .web29-rbf__captcha-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.web29-rbf .web29-rbf__captcha-image { display: block; flex: 0 0 auto; width: 180px; height: 54px; margin: 0; border: 1px solid #ccd5df; border-radius: 6px; }
.web29-rbf .web29-rbf__captcha-row input { flex: 1 1 130px; width: 130px; min-width: 110px; }
.web29-rbf .web29-rbf__refresh { padding: 4px; border: 0; background: transparent; color: var(--w29-accent); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.web29-rbf .web29-rbf__refresh:focus-visible,
.web29-rbf .web29-rbf__submit:focus-visible { outline: 3px solid var(--w29-accent); outline-offset: 3px; }
.web29-rbf .web29-rbf__help { display: block; margin-top: 6px; color: #536477; font-size: 12px; }
.web29-rbf .web29-rbf__footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 20px; }
.web29-rbf .web29-rbf__note { flex: 1; margin: 0; padding: 0; color: #536477; font-size: 12px; }
.web29-rbf .web29-rbf__note a { color: var(--w29-accent); text-decoration: underline; }
.web29-rbf .web29-rbf__submit { flex: 0 0 auto; width: auto; min-height: 42px; padding: 9px 21px; border: 1px solid var(--w29-accent); border-radius: 6px; background: var(--w29-accent); color: white; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: none; }
.web29-rbf .web29-rbf__submit:hover { filter: brightness(1.12); }
.web29-rbf .web29-rbf__submit:disabled,
.web29-rbf .web29-rbf__refresh:disabled { cursor: wait; opacity: .6; }
.web29-rbf .web29-rbf__message { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #96baac; border-radius: 6px; background: #edf8f1; color: #155038; overflow-wrap: anywhere; }
.web29-rbf .web29-rbf__message[data-kind="error"] { border-color: #d9a5ac; background: #fff1f2; color: #8c1c2b; }
.web29-rbf .web29-rbf__loading { margin: 10px 0 0; padding: 0; font-size: 12px; }
.web29-rbf .web29-rbf__sr,
.web29-rbf .web29-rbf__trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 540px) {
    .web29-rbf { padding: 20px; }
    .web29-rbf .web29-rbf__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .web29-rbf .web29-rbf__footer { flex-direction: column; align-items: stretch; gap: 16px; }
    .web29-rbf .web29-rbf__submit { align-self: flex-end; }
    .web29-rbf .web29-rbf__captcha-row { gap: 10px; }
}
