/* ============================================
   Kit form success state (inline confirmation)
   Used by all forms with [data-fyre-kit-form].
   Brand red falls back to #C41E3A if the page
   hasn't defined --accent-red.
   ============================================ */
.fyre-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    background: rgba(196, 30, 58, 0.06);
    border: 1px solid rgba(196, 30, 58, 0.25);
    border-radius: 12px;
    animation: fyreFadeIn 0.45s ease forwards;
}
.fyre-form-success .fyre-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-red, var(--red, #C41E3A));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.55);
    animation: fyrePulse 1.6s ease-out 0.1s infinite;
}
.fyre-form-success .fyre-check svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    animation: fyreDraw 0.5s ease forwards 0.25s;
}
.fyre-form-success .fyre-success-title {
    font-family: var(--font-display, inherit);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white, var(--white, #fff));
    margin: 0;
    text-align: center;
}
.fyre-form-success .fyre-success-sub {
    font-size: 0.9rem;
    color: var(--text-muted, var(--gray-light, rgba(255, 255, 255, 0.65)));
    margin: 0;
    text-align: center;
    line-height: 1.5;
    max-width: 380px;
}
.fyre-form-success .fyre-success-sub strong {
    color: var(--text-white, var(--white, #fff));
    font-weight: 600;
}
@keyframes fyreDraw {
    to { stroke-dashoffset: 0; }
}
@keyframes fyrePulse {
    0%   { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(196, 30, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0); }
}
@keyframes fyreFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
button.fyre-submitting {
    opacity: 0.6;
    cursor: wait;
}
