/* Complete form layout. Bundled here so the connector also works with
 * Pridgen theme builds that still contain only form placeholders. */
.pps-form {
    width: 100%;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid #dce3e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(11, 31, 51, 0.12);
    color: var(--ink, #16202b);
}

.pps-form__intro {
    margin-bottom: 30px;
}

.pps-form__intro h3 {
    margin: 10px 0;
    font-family: Oswald, Arial, sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    text-transform: uppercase;
}

.pps-form__intro p {
    margin: 0;
    color: var(--muted, #59656f);
}

.pps-form__section-title {
    margin: 32px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dce3e8;
    color: var(--navy, #0b1f33);
    font-family: Oswald, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pps-form__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px 14px;
}

.pps-field {
    grid-column: span 12;
    min-width: 0;
}

.pps-field--full {
    grid-column: span 12;
}

.pps-field--half {
    grid-column: span 6;
}

.pps-field--quarter {
    grid-column: span 3;
}

.pps-field label,
.pps-options legend {
    display: block;
    margin: 0 0 7px;
    color: #3f4851;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.pps-field label span,
.pps-options legend span {
    margin-left: 2px;
    color: var(--orange, #ee6a24);
}

.pps-field input[type="text"],
.pps-field input[type="email"],
.pps-field input[type="tel"],
.pps-field input[type="file"],
.pps-field select,
.pps-field textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    border: 1px solid #bdc9d1;
    border-radius: 4px;
    background: #fff;
    color: var(--ink, #16202b);
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pps-field input[type="text"],
.pps-field input[type="email"],
.pps-field input[type="tel"],
.pps-field select {
    padding: 0 14px;
}

.pps-field textarea {
    min-height: 130px;
    padding: 13px 14px;
    resize: vertical;
}

.pps-field input[type="file"] {
    min-height: 50px;
    padding: 7px;
    background: #f7f9fa;
}

.pps-field input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    padding: 0 13px;
    border: 0;
    border-radius: 3px;
    background: var(--navy, #0b1f33);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.pps-field input::placeholder,
.pps-field textarea::placeholder {
    color: #89959f;
}

.pps-field input[type="text"]:focus,
.pps-field input[type="email"]:focus,
.pps-field input[type="tel"]:focus,
.pps-field input[type="file"]:focus,
.pps-field select:focus,
.pps-field textarea:focus {
    outline: none;
    border-color: var(--orange, #ee6a24);
    box-shadow: 0 0 0 3px rgba(238, 106, 36, 0.15);
}

.pps-field small {
    display: block;
    margin-top: 7px;
    color: var(--muted, #59656f);
    font-size: 12px;
    line-height: 1.45;
}

.pps-options {
    margin: 4px 0 0;
    padding: 0;
    border: 0;
}

.pps-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.pps-choice {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid #d8e0e5;
    border-radius: 4px;
    background: #f8fafb;
    cursor: pointer;
}

.pps-choice:hover {
    border-color: #f1a073;
    background: #fff8f4;
}

.pps-choice input,
.pps-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--orange, #ee6a24);
}

.pps-choice span {
    margin: 0 !important;
    color: #3f4851 !important;
    font-weight: 600;
    line-height: 1.45;
}

.pps-consent {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 24px 0 18px;
    color: #4b555e;
    font-size: 13px;
    line-height: 1.65;
    cursor: pointer;
}

.pps-form__legal {
    margin: 22px 0 0;
    color: #59656f;
    font-size: 12px;
    line-height: 1.75;
}

.pps-form__legal a {
    color: var(--orange, #ee6a24);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pps-form__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.pps-form__actions .button {
    min-width: 190px;
    cursor: pointer;
}

.pps-form__demo-label {
    color: #7b8790;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pps-form__status {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 4px solid var(--orange, #ee6a24);
    background: #fff5ef;
    color: var(--navy, #0b1f33);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.pps-form__status[hidden] {
    display: none;
}

.section-dark .pps-form {
    background: #fff;
    color: var(--ink, #16202b);
}

.cgw-site .pps-form__actions .button,
.cgw-site .pps-field input[type="file"]::file-selector-button {
    background: var(--cgw, #214f74);
    border-color: var(--cgw, #214f74);
}

.cgw-site .pps-field input[type="text"]:focus,
.cgw-site .pps-field input[type="email"]:focus,
.cgw-site .pps-field input[type="tel"]:focus,
.cgw-site .pps-field input[type="file"]:focus,
.cgw-site .pps-field select:focus,
.cgw-site .pps-field textarea:focus {
    border-color: var(--cgw-accent, #e58a2d);
    box-shadow: 0 0 0 3px rgba(229, 138, 45, 0.16);
}

.cgw-site .pps-choice input,
.cgw-site .pps-consent input {
    accent-color: var(--cgw-accent, #e58a2d);
}

@media (max-width: 700px) {
    .pps-form {
        padding: 26px 20px;
    }

    .pps-field--half,
    .pps-field--quarter {
        grid-column: span 12;
    }

    .pps-choice-grid {
        grid-template-columns: 1fr;
    }

    .pps-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pps-form__actions .button {
        width: 100%;
    }
}

.ppszf-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.pps-form__demo-label.is-live {
    color: #176b3a;
    font-weight: 700;
}

.pps-form.is-submitting button[type="submit"],
.pps-form.is-submitting input[type="submit"] {
    cursor: wait;
    opacity: 0.75;
}

.pps-form__status.is-loading,
.pps-form__status.is-success,
.pps-form__status.is-error {
    display: block;
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 4px solid currentColor;
    border-radius: 3px;
}

.pps-form__status.is-loading {
    color: #173f61;
    background: #edf5fa;
}

.pps-form__status.is-success {
    color: #176b3a;
    background: #edf8f1;
}

.pps-form__status.is-error {
    color: #9f1d1d;
    background: #fff0f0;
}

.pps-form input[type="file"][disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}
