body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

pre {
    background-color: #f6f8fa;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

code {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 85%;
    background-color: #f6f8fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

pre code {
    background-color: transparent;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    text-align: center;
    margin-bottom: 32px;
}

a {
    word-break: break-all;
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

blockquote {
    padding: 0 1em;
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
    margin: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
}

table th, table td {
    border: 1px solid #dfe2e5;
    padding: 6px 13px;
}

table tr:nth-child(2n) {
    background-color: #f6f8fa;
}

.task-list-item {
    list-style-type: none;
}

.task-list-item input[type="checkbox"] {
    margin-right: 0.5em;
}

.version-box {
    display: flex;

    p {
        margin: 0;
    }
}

#version-select {
    cursor: pointer;
}

.dropdown.open {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    width: 221px;
    max-height: 268px;
    overflow: auto;
    font-size: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
    color: #000;

    .dropdown-list {
        position: relative;

        .dropdown-item {
            display: inline-block;
            position: relative;
            padding: 12px 16px;
            cursor: pointer;
            width: 100%;
            text-overflow: ellipsis;
            text-decoration: none;
            box-sizing: border-box;
            color: #000;

            &:hover {
                background: #e6e6e6;
            }
        }

        .dropdown-item.selected {
            color: rgb(7, 193, 96);
        }

        .dropdown-item.selected:after {
            content: "";
            background-size: contain;
            background: url(/src/images/checkmark.svg);
            position: absolute;
            left: 85%;
            top: 17px;
            width: 18px;
            height: 13px;
        }
    }
}

.popup-container.open {
    display: block;
}
.popup-container {
    --popup-overlay-bg-color: rgba(0, 0, 0, 0.6);
    --popup-content-bg-color: #fff;
    --popup-panel-lt-rounded: 12px;
    --popup-panel-rt-rounded: 12px;
    --popup-animation-duration: 0.3s;
    --popup-animation-function: ease-in-out;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    .popup-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--popup-overlay-bg-color);
        opacity: 1;
    }

    .popup-plane {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--popup-content-bg-color);
        border-top-left-radius: var(--popup-panel-lt-rounded);
        border-top-right-radius: var(--popup-panel-rt-rounded);

        .picker-header {
            display: flex;
            padding: 16px;

            .picker-title {
                font-weight: 500;
                font-size: 16px;
                line-height: 24px;
                flex-grow: 1;
                text-align: center;
            }
            .close-button,
            .padding {
                width: 24px;
                height: 24px;
            }
        }

        .picker-body {
            position: relative;
            height: 224px;
            padding: 0 16px;
            overflow: hidden;

            .picker-mask {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 3;
                background-position: top, bottom;
                background-size: 100% 89px;
                background-repeat: no-repeat;
                transform: translateZ(0);
                background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6)), linear-gradient(0deg, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6));
            }

            .picker-indicator {
                position: absolute;
                top: 90px;
                left: 0;
                width: calc(100% - 32px);
                margin: 0 16px;
                height: 46px;
                border-radius: 6px;
                background-color: #F0F0F0;
                z-index: 1;
            }

            .picker-group {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                text-align: center;
                z-index: 2;

                .option {
                    height: 46px;
                    line-height: 40px;
                    font-weight: 400;
                    font-size: 15px;
                }
            }
        }

        .picker-footer {
            height: 114px;
            text-align: center;

            .picker-button {
                margin-top: 10px;
                width: 140px;
                height: 40px;
                padding: 8px 42px;
                border: 0px;
                border-radius: 100px;
                color: white;
                background-color: #3B7AFA;
                font-size: 15px;
                font-weight: 400;
                line-height: 18px;
            }
        }
    }
}
