.core-wizard {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1080;
    width: min(380px, calc(100vw - 24px));
    color: #1f2933;
}

.core-wizard-panel {
    background: #ffffff;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(18, 38, 63, 0.24);
    overflow: hidden;
}

.core-wizard-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
    background: #f7f9fc;
    border-bottom: 1px solid #e4e9f0;
}

.core-wizard-eyebrow,
.core-wizard-label {
    color: #697386;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.core-wizard h2 {
    margin: 2px 0 0;
    font-size: 16px;
    line-height: 1.25;
}

.core-wizard-actions,
.core-wizard-next-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.core-wizard-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #3f4d5f;
    border: 1px solid #cfd7e2;
    border-radius: 6px;
    background: #ffffff;
}

.core-wizard-icon-link:hover {
    color: #111827;
    text-decoration: none;
    background: #eef3f8;
}

.core-wizard-icon-link.is-danger:hover {
    color: #9f1d1d;
    border-color: #efb5b5;
    background: #fff1f1;
}

.core-wizard-icon-link svg,
.core-wizard-bubble svg {
    width: 16px;
    height: 16px;
}

.core-wizard-progress {
    padding: 12px 14px 0;
}

.core-wizard-progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #4b5563;
    font-size: 12px;
}

.core-wizard-progress-bar {
    height: 7px;
    overflow: hidden;
    background: #e8edf3;
    border-radius: 999px;
}

.core-wizard-progress-bar span {
    display: block;
    height: 100%;
    background: #2563a9;
}

.core-wizard-next {
    margin: 12px 14px;
    padding: 12px;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    background: #fbfcfe;
}

.core-wizard-next strong {
    display: block;
    margin-top: 2px;
    font-size: 15px;
}

.core-wizard-next p {
    margin: 6px 0 12px;
    color: #526173;
    font-size: 13px;
    line-height: 1.35;
}

.core-wizard-next.is-complete {
    border-color: #b9dfc7;
    background: #f2fbf5;
}

.core-wizard-steps {
    max-height: 260px;
    margin: 0;
    padding: 0 14px 14px;
    list-style: none;
    overflow: auto;
}

.core-wizard-step {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    align-items: start;
    padding: 7px 0;
    color: #65758a;
    font-size: 13px;
}

.core-wizard-step a {
    color: inherit;
}

.core-wizard-step-dot {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border: 2px solid #bac4d2;
    border-radius: 50%;
    background: #ffffff;
}

.core-wizard-step.is-current {
    color: #1d4f86;
    font-weight: 700;
}

.core-wizard-step.is-current .core-wizard-step-dot {
    border-color: #2563a9;
    background: #2563a9;
}

.core-wizard-step.is-complete {
    color: #286140;
}

.core-wizard-step.is-complete .core-wizard-step-dot {
    border-color: #2f8f56;
    background: #2f8f56;
}

.core-wizard-step.is-page-step a {
    text-decoration: underline;
}

.core-wizard-optional {
    display: inline-block;
    margin-left: 6px;
    color: #7d8794;
    font-size: 11px;
    font-weight: 600;
}

.core-wizard-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: #ffffff;
    background: #243b53;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(18, 38, 63, 0.22);
}

.core-wizard-bubble:hover {
    color: #ffffff;
    text-decoration: none;
    background: #102a43;
}

@media (max-width: 575.98px) {
    .core-wizard {
        right: 12px;
        bottom: 12px;
    }
}
