.pcf-form {
    --pcf-green: #e50914;
    --pcf-green-hover: #b40710;
    --pcf-bg: #ffffff;
    --pcf-field-bg: #ffffff;
    --pcf-text: #061b3d;
    --pcf-muted: #667085;
    --pcf-note: #697586;
    --pcf-header-label: #ff0000;
    --pcf-header-title: #061b3d;
    --pcf-header-bg-text: #f6f7fb;
    --pcf-success-bg: #e6f7e7;
    --pcf-success-text: #16641a;
    --pcf-error-bg: #fff0f0;
    --pcf-error-text: #a42525;
    position: relative;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
    padding: 46px;
    border: 0;
    border-radius: 18px;
    background: var(--pcf-bg);
    color: var(--pcf-text);
    box-shadow: 0 30px 95px rgba(15, 23, 42, .11);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pcf-form::before {
    content: "";
    position: absolute;
    top: -190px;
    right: -150px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(229, 9, 20, .1);
    border-radius: 50%;
    box-shadow:
        0 0 0 18px rgba(229, 9, 20, .035),
        0 0 0 38px rgba(229, 9, 20, .025),
        0 0 0 60px rgba(229, 9, 20, .018);
    pointer-events: none;
}

.pcf-form > * {
    position: relative;
    z-index: 1;
}

.pcf-form-header {
    position: relative;
    overflow: hidden;
    margin: 0 0 28px;
    padding: 4px 16px 8px;
    text-align: center;
}

.pcf-form-header-bg {
    position: absolute;
    inset: auto 0 -20px;
    z-index: 0;
    color: var(--pcf-header-bg-text);
    font-size: 94px;
    font-weight: 800;
    line-height: 1;
    opacity: .58;
    pointer-events: none;
    white-space: nowrap;
}

.pcf-form-header-label,
.pcf-form-header h2,
.pcf-form-header-description {
    position: relative;
    z-index: 1;
}

.pcf-form-header-label {
    margin: 0 0 10px;
    color: var(--pcf-header-label);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.pcf-form-header h2 {
    max-width: 760px;
    margin: 0 auto;
    color: var(--pcf-header-title);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.12;
}

.pcf-form-header-description {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--pcf-muted);
    font-size: 16px;
    line-height: 1.55;
}

.pcf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 28px;
    align-items: start;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
}

.pcf-form label {
    display: block;
    margin: 0;
}

.pcf-field-label {
    display: block;
    margin: 0 0 10px;
    color: var(--pcf-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.pcf-field-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 52px;
    min-height: 52px;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    background: var(--pcf-field-bg);
    padding: 0 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pcf-field-control:focus-within {
    border-color: #cfd7e6;
    box-shadow:
        0 0 0 3px rgba(100, 116, 139, .12),
        0 8px 22px rgba(15, 23, 42, .07);
    transform: translateY(-1px);
}

.pcf-field-control.is-error {
    border-color: #ef4444;
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.pcf-field-control.is-error .dashicons {
    color: #dc2626;
}

.pcf-field-error {
    display: none;
    margin: 7px 0 0;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.pcf-field-error.is-visible {
    display: block;
}

.pcf-field-control .dashicons {
    position: relative;
    display: block;
    flex: 0 0 16px;
    align-self: center;
    width: 16px;
    height: 16px;
    margin: 0;
    color: var(--pcf-muted);
    background: transparent;
    font-size: 0;
    line-height: 0;
    pointer-events: none;
}

.pcf-field-control .dashicons::before {
    display: none !important;
}

.pcf-field-control .dashicons::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.pcf-field-control .dashicons-admin-users::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pcf-field-control .dashicons-tag::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.6 2H4a2 2 0 0 0-2 2v8.6a2 2 0 0 0 .6 1.4l7.4 7.4a2 2 0 0 0 2.8 0l8.6-8.6a2 2 0 0 0 0-2.8L14 2.6A2 2 0 0 0 12.6 2Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.6 2H4a2 2 0 0 0-2 2v8.6a2 2 0 0 0 .6 1.4l7.4 7.4a2 2 0 0 0 2.8 0l8.6-8.6a2 2 0 0 0 0-2.8L14 2.6A2 2 0 0 0 12.6 2Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pcf-field-control .dashicons-email-alt::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pcf-field-control .dashicons-phone::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.63 2.62a2 2 0 0 1-.45 2.11L8.09 9.65a16 16 0 0 0 6.26 6.26l1.2-1.2a2 2 0 0 1 2.11-.45c.84.3 1.72.51 2.62.63A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.63 2.62a2 2 0 0 1-.45 2.11L8.09 9.65a16 16 0 0 0 6.26 6.26l1.2-1.2a2 2 0 0 1 2.11-.45c.84.3 1.72.51 2.62.63A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pcf-field-control .dashicons-edit::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pcf-field-control-textarea .dashicons {
    margin-top: 15px;
}

.pcf-field-control-textarea {
    align-items: flex-start;
    height: auto;
    min-height: 190px;
    padding-top: 0;
    padding-bottom: 0;
}

.pcf-field-control-no-icon {
    padding-left: 16px;
}

.pcf-form input,
.pcf-form textarea {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0;
    outline: 0 !important;
    border-radius: 0;
    background: transparent;
    color: var(--pcf-text);
    font-size: 14px;
    line-height: normal;
    padding: 0 !important;
    text-align: left;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.pcf-form input {
    align-self: center;
    height: auto !important;
    min-height: 1px !important;
    line-height: 20px !important;
    vertical-align: middle;
}

.pcf-form input[type="text"],
.pcf-form input[type="email"],
.pcf-form input[type="tel"] {
    display: block;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.pcf-form textarea {
    padding-top: 16px !important;
    line-height: 1.45;
}

.pcf-form input:focus,
.pcf-form textarea:focus {
    border: 0;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none;
}

.pcf-form textarea {
    min-height: 188px;
    resize: vertical;
}

.pcf-form input::placeholder,
.pcf-form textarea::placeholder {
    color: var(--pcf-muted);
    opacity: .86;
}

.pcf-message-field {
    grid-row: span 3;
}

.pcf-note {
    grid-column: 1 / -1;
    margin: 10px auto 6px;
    max-width: 640px;
    color: var(--pcf-note);
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

.pcf-note::before {
    content: "\f160";
    display: inline-block;
    margin-right: 7px;
    color: var(--pcf-muted);
    font-family: dashicons;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    vertical-align: -2px;
}

.pcf-recaptcha {
    grid-column: 1 / -1;
}

.pcf-form button {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 560px);
    margin-top: 4px;
    min-height: 0;
    border: 1px solid var(--pcf-green);
    border-radius: .5em;
    background: var(--pcf-green);
    color: #ffffff;
    padding: .7em 1.7em;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
    transition: all .3s;
}

.pcf-form button::before {
    content: ">";
    display: inline-block;
    margin-right: 9px;
    font-weight: 800;
    transform: rotate(-25deg);
}

.pcf-form button:hover,
.pcf-form button:focus {
    border: 1px solid var(--pcf-green-hover);
    background: var(--pcf-green-hover);
    color: #ffffff;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.pcf-form button:active {
    box-shadow: 4px 4px 12px #c5c5c5, -4px -4px 12px #ffffff;
    transform: none;
}

.pcf-form button[disabled] {
    cursor: wait;
    opacity: .78;
}

.pcf-subscription-form {
    max-width: 720px;
    padding: 30px;
}

.pcf-subscription-form::before {
    display: none;
}

.pcf-subscription-grid {
    display: flex;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.pcf-subscription-grid label {
    flex: 1 1 auto;
    min-width: 0;
}

.pcf-subscription-grid input {
    min-height: 52px;
}

.pcf-subscription-grid button {
    flex: 0 0 150px;
    min-height: 52px;
}

.pcf-alert {
    display: none;
    margin: 0 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 14px;
    line-height: 1.45;
}

.pcf-alert.is-visible {
    display: block;
}

.pcf-alert.is-success {
    border-color: rgba(22, 100, 26, .16);
    background: var(--pcf-success-bg);
    color: var(--pcf-success-text);
}

.pcf-alert.is-error {
    border-color: rgba(164, 37, 37, .16);
    background: var(--pcf-error-bg);
    color: var(--pcf-error-text);
}

.pcf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

@media (max-width: 720px) {
    .pcf-form {
        padding: 22px;
        border-radius: 14px;
    }

    .pcf-form::before {
        display: none;
    }

    .pcf-form-header {
        margin-bottom: 20px;
        padding: 0 4px;
    }

    .pcf-form-header-bg {
        font-size: 54px;
    }

    .pcf-form-header-label {
        font-size: 12px;
    }

    .pcf-form-header h2 {
        font-size: 29px;
    }

    .pcf-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .pcf-message-field {
        grid-row: auto;
    }

    .pcf-note,
    .pcf-recaptcha,
    .pcf-form button {
        grid-column: 1;
    }

    .pcf-subscription-grid {
        flex-direction: column;
    }

    .pcf-subscription-grid button {
        flex-basis: auto;
        width: 100%;
    }
}
