.ReactModal__Content.ReactModal__Content--after-open {
    border-radius: 10px !important;
}

.close-button-container {
    align-items: center;
    display: flex;
    height: 20px;
    justify-content: flex-end;
    margin-right: -10px;
    margin-top: -10px;

    .close-button {
        align-items: center;
        cursor: pointer;
        display: flex;
        height: 100%;
        justify-content: center;
        width: 20px;
    }
}

.steps-modal-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    max-height: 100%;
    min-height: 300px;
    overflow: auto;
    width: 310px;
    height: 350px;

    .icon-container {
        align-items: center;
        display: flex;
        height: 62px;
        justify-content: center;
        margin-bottom: 1em;
    
        svg {
            height: 45px;
            width: 45px;
        }
        margin-top: auto;
    }
}

.steps-modal-p {
    color: black;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}

.steps-title {
    color: var(--linkcolor);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 25px;
    text-align: center;
}

.modal-text-clickable {
    color: #999;
    cursor: pointer;
    text-decoration: underline;
}

.modal-status-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    padding: 20px 20px 0;
    text-align: center;

    .light {
        color: #999;
        margin-bottom: 0px;
        padding: 0;
    }
}

.metamask-icon-large {
    margin-bottom: 30px;
}

.icon-spin {
    animation: rotation 2s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

.icon-spin svg {
    height: 52px;
    width: 52px;
}

.steps-progress-wrapper {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: auto;
    padding-top: 22px;
    width: 100%;

    .starting-dot {
        background: var(--linkcolor);
        border-radius: 50%;
        flex-grow: 0;
        flex-shrink: 0;
        height: 12px;
        width: 12px;
    }

    .step {
        align-items: center;
        display: flex;
        flex-grow: 1;

        .long {
            flex-grow: 4 ;
        }

        .step-line-container {
            flex-grow: 1;
            margin: 0 3px;
            position: relative;

            .step-title {
                color: #000;
                font-size: 12px;
                font-weight: 500;
                line-height: 1.2;
                margin: 0;
                position: absolute;
                text-align: center;
                top: -25px;
                white-space: nowrap;
                width: 100%;
            }

            .step-line {
                background: var(--linkcolor);
                height: 3px;
                margin: 0;
                position: relative;
            }
        }

        .step-dot {
            border-radius: 50%;
            flex-shrink: 0;
            height: 16px;
            width: 16px;
            background: var(--linkcolor);
            
            .long_step {
                background: black;
            }

            svg {
                left: 3px;
                position: relative;
                top: -4px;
            }

            path {
                stroke: #202123;
            }
        }
    }
}