.bp-stealth-wrapper {
    margin: 16px 0 24px;
}

/* Coming Soon badge */
.bp-stealth-badge {
    display: inline-block;
    background: var(--e-global-color-accent, #2d6a4f);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: opacity 0.2s ease-in;
}

/* Intro text */
.bp-stealth-notify-intro {
    margin: 0 0 20px;
    color: var(--e-global-color-primary, #555);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size, 15px);
}

/* Field grid: 2-col for name row */
.bp-stealth-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.bp-stealth-field-full {
    margin-bottom: 16px;
}

/* Label — matches .jet-form-builder__label */
.bp-stealth-label {
    display: block;
    margin: 0 0 6px 0;
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-b82f960-font-family), Sans-serif;
    font-size: var(--e-global-typography-b82f960-font-size, 14px);
    font-weight: var(--e-global-typography-b82f960-font-weight, 600);
    line-height: var(--e-global-typography-b82f960-line-height, 1.4);
}

.bp-stealth-required {
    color: #e74c3c;
    margin-left: 2px;
}

/* Inputs — matches .jet-form-builder__field */
.bp-stealth-wrapper input[type="text"],
.bp-stealth-wrapper input[type="email"],
.bp-stealth-wrapper input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    box-sizing: border-box;
    background: #fff;
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size, 14px);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    line-height: var(--e-global-typography-text-line-height, 1.5);
    border-style: solid;
    border-color: var(--e-global-color-eabea2f, #ddd);
    border-radius: 10px;
    transition: border-color 0.15s;
}

.bp-stealth-wrapper input[type="text"]:focus,
.bp-stealth-wrapper input[type="email"]:focus,
.bp-stealth-wrapper input[type="tel"]:focus {
    outline: none;
    border-color: var(--e-global-color-accent);
}

/* Submit button — matches .jet-form-builder__action-button */
.bp-stealth-submit.button.alt {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background-color: var(--e-global-color-accent) !important;
    color: var(--e-global-color-5c05d43, #fff) !important;
    border-style: none !important;
    border-radius: 50px !important;
    padding: 18px 34px !important;
    font-family: var(--e-global-typography-90b49b2-font-family, inherit) !important;
    font-size: var(--e-global-typography-90b49b2-font-size, 16px) !important;
    font-weight: var(--e-global-typography-90b49b2-font-weight, 600) !important;
    font-style: var(--e-global-typography-90b49b2-font-style, normal) !important;
    line-height: var(--e-global-typography-90b49b2-line-height, 1.2) !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    margin-top: 4px;
}

.bp-stealth-submit.button.alt:hover {
    opacity: 0.88 !important;
}

.bp-stealth-submit.button.alt:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

/* Inline error message */
.bp-stealth-message {
    margin-top: 12px;
    font-size: 14px;
    min-height: 20px;
}

.bp-stealth-message.error {
    color: #e74c3c;
}

/* ─── Success state ───────────────────────────────────────────────── */

.bp-stealth-notify-form-wrap {
    transition: opacity 0.22s ease-in;
}

.bp-stealth-notify-form-wrap.bp-fading-out {
    opacity: 0;
    pointer-events: none;
}

.bp-stealth-success {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 0 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}

.bp-stealth-success.bp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* SVG checkmark */
.bp-stealth-check-svg {
    display: block;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    overflow: visible;
}

.bp-stealth-check-circle {
    fill: none;
    stroke: var(--e-global-color-2aca172);
    stroke-width: 2;
    stroke-linecap: round;
    /* circumference of r=24: 2π×24 ≈ 150.8 */
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: bp-draw-circle 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s forwards;
}

.bp-stealth-check-mark {
    fill: none;
    stroke: var(--e-global-color-2aca172);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* path length ≈ 38 */
    stroke-dasharray: 38;
    stroke-dashoffset: 38;
    animation: bp-draw-check 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0.48s forwards;
}

@keyframes bp-draw-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes bp-draw-check {
    to { stroke-dashoffset: 0; }
}

/* Success text */
.bp-stealth-success-msg {
    margin: 0;
    flex: 1;
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size, 15px);
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    animation: bp-fade-up 0.24s ease-out 0.7s forwards;
}

@keyframes bp-fade-up {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .bp-stealth-notify-form-wrap {
        transition: none;
    }
    .bp-stealth-success {
        transition: none;
    }
    .bp-stealth-check-circle {
        animation: none;
        stroke-dashoffset: 0;
    }
    .bp-stealth-check-mark {
        animation: none;
        stroke-dashoffset: 0;
    }
    .bp-stealth-success-msg {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .bp-stealth-fields-row {
        grid-template-columns: 1fr;
    }
}
