.f4-website-checker__form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.f4-website-checker__url {
    flex: 1 1 16rem;
    min-width: 0;
}

.f4-website-checker__analysis-box {
    --f4-website-checker-analysis-background: var(--color--tertiary, #170129);
    --f4-website-checker-analysis-text: var(--color--tertiary--accent, #fafafa);
    --f4-website-checker-analysis-progress-track: rgba(250, 250, 250, 0.16);
    --f4-website-checker-analysis-progress-fill: var(--color--secondary, #5d26fa);
    --f4-website-checker-analysis-completed: #92e5a1;
    --f4-website-checker-analysis-active: #8f7cff;
    --f4-website-checker-analysis-pending: rgba(250, 250, 250, 0.55);

    background: var(--f4-website-checker-analysis-background);
    color: var(--f4-website-checker-analysis-text);
    display: grid;

    p{
        margin: 0;
    }
}

.f4-website-checker__analysis-header {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-between;
    >*{
        margin-bottom: 0;
    }
}

.f4-website-checker__progress-bar {
    background: var(--f4-website-checker-analysis-progress-track);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.f4-website-checker__progress-fill {
    background: var(--f4-website-checker-analysis-progress-fill);
    border-radius: inherit;
    height: 100%;
    transition: width 0.3s ease-out;
}

ul.f4-website-checker__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.f4-website-checker__step {
    align-items: center;
    color: var(--f4-website-checker-analysis-pending);
    display: flex;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.f4-website-checker__step-icon {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.5rem;
    justify-content: center;
    position: relative;
    width: 1.5rem;
}

.f4-website-checker__step.is-completed {
    color: var(--f4-website-checker-analysis-completed);
}

.f4-website-checker__step.is-completed .f4-website-checker__step-icon {
    border-color: transparent;
}

.f4-website-checker__step.is-completed .f4-website-checker__step-icon::before {
    content: "✓";
    font-size: 1.5rem;
    line-height: 1;
}

.f4-website-checker__step.is-active {
    color: var(--f4-website-checker-analysis-active);
}

.f4-website-checker__step.is-active .f4-website-checker__step-icon {
    border-color: transparent;
}

.f4-website-checker__step.is-active .f4-website-checker__step-icon::after {
    animation: f4-website-checker-step-spin 0.9s linear infinite;
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-radius: inherit;
    content: "";
    inset: -0.18rem;
    position: absolute;
}

.f4-website-checker__report-grid {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.f4-website-checker__report-pill {
    display: inline-block;
}

.f4-website-checker__deep-analysis-teaser {
    background: color-mix(in srgb, var(--color--secondary, #5d26fa) 10%, transparent);
    /*border-left: 4px solid var(--color--secondary, #5d26fa);*/
    margin-top: 1.5rem;
    padding: 1.25rem;
}

.f4-website-checker__deep-analysis-teaser h3,
.f4-website-checker__deep-analysis-teaser p {
    margin-top: 0;
}

.f4-website-checker__deep-analysis-teaser .button {
    margin-top: 0.5rem;
}

.f4-website-checker__honeypot {
    height: 1px;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

@media (prefers-reduced-motion: reduce) {
    .f4-website-checker__progress-fill,
    .f4-website-checker__step,
    .f4-website-checker__step-icon::after {
        transition: none;
    }

    .f4-website-checker__step-icon::after {
        animation: none;
    }
}

@keyframes f4-website-checker-step-spin {
    to {
        transform: rotate(360deg);
    }
}
