.sp-real-before-start {
    .sp-real-setup-steps {
        justify-content: center;
    }

    .sp-real-setup-step {
        >svg {
            margin-left: 20px;
        }
    }

    .sp-real-setup-step-title {
        font-size: 14px;
        line-height: 1.3;
    }
}

.sp-real-before-start__card {
    width: 645px;
    margin: 24px auto;
    padding: 48px;
    border: 3px solid #BCCEEB;
    border-radius: 12px;
    background-color: #fff;

    * {
        margin: 0;
    }

    .sp-real-before-start__title {
        font-weight: 500;
        font-size: 22px;
        line-height: 1;
    }

    .sp-real-before-start__subtitle {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.4;
    }

    // input.
    .sp-real-before-start__label {
        font-weight: 500;
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .sp-real-before-start__autocomplete {
        position: relative;
    }

    .sp-real-before-start__input {
        border: 1px solid #DDDDDD;
        padding: 12px 16px;
        border-radius: 4px;

        &.has-error {
            border-color: #D63638;
        }
    }

    .sp-real-before-start__spinner {
        position: absolute;
        top: 50%;
        right: 14px;
        width: 16px;
        height: 16px;
        margin-top: -8px;
        border: 2px solid #DDDDDD;
        border-top-color: #18976B;
        border-radius: 50%;
        animation: sp-real-bs-spin 0.7s linear infinite;
    }

    .sp-real-before-start__help {
        color: #757575;
        margin-top: 10px;
        font-weight: 400;
        font-size: 12px;
        line-height: 1.4;
    }

    // location results (below input).
    .sp-real-before-start__results {
        list-style: none;
        margin: 16px 0 0;
        padding: 0;

        li {
            margin: 0;
        }
    }

    .sp-real-before-start__result,
    .sp-real-before-start__selected {
        width: 100%;
        padding: 8px 0;
        background: transparent;
        border: none;
        text-align: left;
        cursor: pointer;
    }

    .sp-real-before-start__result-thumb,
    .sp-real-before-start__selected-thumb {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
    }

    .sp-real-before-start__result-thumb--ph {
        background-color: #E5E7EB;
    }

    .sp-real-before-start__result-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .sp-real-before-start__result-name {
        font-weight: 600;
        font-size: 15px;
        line-height: 1.3;
        color: #1E1E1E;
    }

    .sp-real-before-start__result-address {
        font-weight: 400;
        font-size: 13px;
        line-height: 1.4;
        color: #757575;
    }

    .sp-real-before-start__error {
        margin-top: 10px;
        color: #D63638;
        font-weight: 400;
        font-size: 12px;
        line-height: 1.4;
    }

    .sp-real-before-start__selected {
        margin-top: 16px;
        cursor: default;
    }

    // button.
    .sp-real-before-start__actions {
        margin-top: 10px;
    }

    .sp-real-before-start__connect {
        padding: 12px 20px;
        color: #fff;
        background-color: #18976B;
        border: 1px solid #18976B;
        border-radius: 4px;
        font-weight: 600;
        font-size: 13px;
        line-height: 1;
    }

    // card design picker.
    .sp-real-card-design-picker-popup {
        margin-top: 28px;
    }

    .sp-real-card-design-picker-popup_wrapper {
        width: 420px;
    }
}

.sp-real-design-picker-actions {
    margin-top: 32px;

    .sp-real-block-preview-button {
        font-size: 14px;
        height: 48px;
    }

    .sp-real-card-design-skip-button {
        color: #757575;
        font-weight: 500;
        font-size: 14px;
        line-height: 1;
        padding: 16px;
    }
}

@keyframes sp-real-bs-spin {
    to {
        transform: rotate(360deg);
    }
}