.cfc-offer-wrap,
.cfc-offer-wrap * {
    box-sizing: border-box;
}

.cfc-offer-wrap {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #173e67;
}

.cfc-offer-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    padding: 26px 28px 24px;
    box-shadow: 0 12px 35px rgba(0, 46, 91, 0.18);
}

.cfc-heading {
    text-align: center;
    margin-bottom: 16px;
}

.cfc-heading h2 {
    margin: 0 0 5px;
    color: #173e67;
    font-size: clamp(28px, 3.1vw, 42px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.cfc-heading p {
    margin: 0;
    color: #4d6780;
    font-size: 17px;
    line-height: 1.35;
}

.cfc-progress {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: #e8eef4;
    border-radius: 50px;
    margin: 18px 0 7px;
}

.cfc-progress-bar {
    display: block;
    height: 100%;
    background: #2399e5;
    border-radius: inherit;
    transition: width .25s ease;
}

.cfc-step-label {
    margin-bottom: 14px;
    color: #60778d;
    text-align: right;
    font-size: 13px;
}

.cfc-step {
    display: none;
}

.cfc-step.is-active {
    display: block;
}

.cfc-field {
    margin-bottom: 12px;
}

.cfc-field label {
    display: block;
    margin: 0 0 5px 2px;
    color: #173e67;
    font-size: 14px;
    font-weight: 700;
}

.cfc-field input,
.cfc-field select {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #cfd9e3;
    border-radius: 5px;
    outline: none;
    background: #fff;
    color: #183f68;
    font: inherit;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(0, 46, 91, 0.06);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.cfc-field select {
    cursor: pointer;
}

.cfc-field select:disabled {
    cursor: not-allowed;
    background: #f4f6f8;
    color: #8695a4;
}

.cfc-field input:focus,
.cfc-field select:focus {
    border-color: #2399e5;
    box-shadow: 0 0 0 3px rgba(35, 153, 229, 0.14);
}

.cfc-field .cfc-invalid {
    border-color: #d63737;
    box-shadow: 0 0 0 3px rgba(214, 55, 55, 0.10);
}

.cfc-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 57px;
    margin: 8px 0 0;
    border: 0;
    border-radius: 5px;
    background: #ffd500;
    color: #102f4d;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    box-shadow: 0 4px 0 #d9b500, 0 7px 13px rgba(0, 0, 0, 0.12);
    transition: transform .12s ease, filter .12s ease;
}

.cfc-button:hover {
    filter: brightness(1.035);
    transform: translateY(-1px);
}

.cfc-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d9b500, 0 4px 8px rgba(0, 0, 0, 0.10);
}

.cfc-button:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.cfc-button span {
    font-size: 25px;
    line-height: 1;
}

.cfc-back {
    display: block;
    margin: 15px auto 0;
    padding: 4px 10px;
    border: 0;
    background: transparent;
    color: #60778d;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.cfc-back:hover {
    color: #173e67;
}

.cfc-message {
    min-height: 0;
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.cfc-message:empty {
    display: none;
}

.cfc-message.is-error {
    color: #bb2525;
}

.cfc-message.is-success {
    color: #1b7b42;
}

.cfc-success {
    padding: 28px 12px 18px;
    text-align: center;
}

.cfc-success-icon {
    display: flex;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2399e5;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.cfc-success h3 {
    margin: 0 0 8px;
    color: #173e67;
    font-size: 30px;
    font-weight: 800;
}

.cfc-success p {
    max-width: 430px;
    margin: 0 auto;
    color: #4d6780;
    font-size: 17px;
    line-height: 1.5;
}

.cfc-hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Helpful when the shortcode sits inside a blue homepage hero/banner. */
.cfc-hero-form .cfc-offer-wrap {
    max-width: 600px;
}

@media (max-width: 680px) {
    .cfc-offer-card {
        padding: 20px 17px 19px;
        border-radius: 6px;
    }

    .cfc-heading h2 {
        font-size: 29px;
    }

    .cfc-heading p {
        font-size: 16px;
    }

    .cfc-field input,
    .cfc-field select {
        height: 52px;
        font-size: 16px;
    }

    .cfc-button {
        min-height: 55px;
        font-size: 17px;
    }
}
