/*
 * Frozberries newsletter signup (.fz-nl).
 *
 * Copies the look the old WPForms form had: label above, a 43px white field
 * with a 3px corner, the button under it. In the footer the footer's own CSS
 * (white label, full width pink uppercase button) and the Design Polish plugin
 * (Poppins, 10px button corners) style it further through the WPForms class
 * names the form also carries, exactly as they styled the old form.
 */

.fz-nl {
    --fz-nl-accent: #d6335a;
    --fz-nl-accent-dark: #b02646;
    --fz-nl-error: #d63637;
    position: relative;
    margin: 24px 0;
    padding: 0;
}

.fz-nl__form {
    margin: 0;
}

.fz-nl__hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: 0;
}

.fz-nl__field {
    padding: 15px 0;
    margin: 0;
}

.fz-nl__label {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 19px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(0, 0, 0, 0.85);
}

.fz-nl__req {
    color: var(--fz-nl-error);
    font-weight: 400;
    margin-left: 2px;
}

.fz-nl .fz-nl__input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 43px;
    margin: 0;
    padding: 0 14px;
    font-size: 16px;
    line-height: 19px;
    color: rgba(0, 0, 0, 0.7);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    box-shadow: none;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fz-nl .fz-nl__input::placeholder {
    color: rgba(0, 0, 0, 0.35);
    opacity: 1;
}

.fz-nl .fz-nl__input:focus {
    border-color: var(--fz-nl-accent);
    box-shadow: 0 0 0 1px var(--fz-nl-accent);
}

.fz-nl .fz-nl__input[aria-invalid="true"] {
    border-color: var(--fz-nl-error);
    box-shadow: 0 0 0 1px var(--fz-nl-error);
}

.fz-nl__msg {
    font-size: 14px;
    line-height: 17px;
    color: var(--fz-nl-error);
}

.fz-nl__msg:not(:empty) {
    margin-top: 5px;
}

.fz-nl__check {
    margin: 0 0 10px;
}

.fz-nl__actions {
    margin-top: 10px;
}

.fz-nl .fz-nl__submit {
    display: inline-block;
    box-sizing: border-box;
    height: 41px;
    padding: 0 15px;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    background: var(--fz-nl-accent);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.2s ease;
}

.fz-nl .fz-nl__submit:hover,
.fz-nl .fz-nl__submit:focus-visible {
    background: var(--fz-nl-accent-dark);
}

.fz-nl .fz-nl__submit[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.fz-nl__alert {
    margin: 0 0 10px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 3px;
}

.fz-nl__alert--error {
    color: #ffffff;
    background: #b42318;
}

/* The old form's thank-you box. */
.fz-nl__done {
    margin: 15px 0 0;
    padding: 15px;
    font-size: 16px;
    line-height: 1.4;
    color: #333333;
    background: #e0ffc7;
    border: 1px solid #b4d39b;
    border-radius: 3px;
}

.fz-nl__done:focus {
    outline: none;
}
