
.cfp-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 420px;
    padding: 34px 0 44px;
    background: linear-gradient(180deg, rgba(193,202,216,.88), rgba(150,163,182,.92));
    background-size: cover;
    background-position: center;
    font-family: Arial, Helvetica, sans-serif;
}

.cfp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.05);
    pointer-events: none;
}

.cfp-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.cfp-title {
    margin: 0 0 18px;
    color: #1f2630;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.cfp-form-shell {
    width: 100%;
}

.cfp-form {
    display: grid;
    gap: 14px;
}

.cfp-top-submit {
    text-align: center;
    margin-bottom: 6px;
}

.cfp-cta {
    appearance: none;
    border: 0;
    background: #d91f26;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .4px;
    border-radius: 9px;
    padding: 14px 28px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 8px 18px rgba(217,31,38,.22);
}

.cfp-cta:hover {
    transform: translateY(-1px);
    background: #c61a21;
}

.cfp-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.cfp-row label {
    text-align: left;
    font-size: 15px;
    color: #1f1f1f;
    font-weight: 600;
    letter-spacing: .2px;
}

.cfp-row input[type="text"],
.cfp-row input[type="email"],
.cfp-row input[type="file"] {
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    padding: 0 18px;
    font-size: 15px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.cfp-row input[type="file"] {
    padding: 11px 18px;
}

.cfp-row input:focus {
    outline: 2px solid rgba(217,31,38,.18);
}

.cfp-file-wrap {
    position: relative;
}

.cfp-file-note {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #777;
    pointer-events: none;
}

.cfp-alert {
    width: 100%;
    margin: 0 auto 16px;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    text-align: left;
    box-sizing: border-box;
}

.cfp-alert-success {
    background: rgba(39,174,96,.16);
    color: #1b6c3d;
}

.cfp-alert-error {
    background: rgba(217,31,38,.12);
    color: #8e1a1f;
}

@media (max-width: 767px) {
    .cfp-wrapper {
        min-height: auto;
        padding: 26px 0 34px;
    }

    .cfp-content {
        padding: 0 16px;
    }

    .cfp-title {
        font-size: 18px;
    }

    .cfp-cta {
        width: 100%;
        max-width: 260px;
        font-size: 16px;
        padding: 13px 20px;
    }

    .cfp-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cfp-row label {
        font-size: 14px;
    }

    .cfp-row input[type="text"],
    .cfp-row input[type="email"],
    .cfp-row input[type="file"] {
        height: 44px;
        font-size: 14px;
    }

    .cfp-file-note {
        position: static;
        display: block;
        transform: none;
        margin-top: 6px;
        text-align: right;
    }
}
