:root {
    --van-primary-color: @prim;
    --van-tabbar-item-active-background-color: @bg;
    --van-tabbar-background-color: @bg;
    --van-nav-bar-background-color: @bg;
    --van-cell-background-color: @bg;
    --van-text-color: #fff;
    --van-gray-6: #939599;
    --van-gray-3: @bg3;
    --van-tabbar-item-active-color: #fff;
    --van-button-plain-background-color: transparent;
    --van-grid-item-content-background-color: transparent;
    --van-button-mini-height: 26px;
    --van-button-mini-font-size: 14px;
    --van-tabs-nav-background-color: @bg;
    --van-tabs-default-color: @prim;
    --van-tabs-bottom-bar-color: @prim;
    --van-tab-active-text-color: @prim;
    --van-tab-disabled-text-color: #fff;
    --van-cell-border-color: @bg3;
    --van-cell-background-color: transparent;
    --van-cell-group-background-color: transparent;
    --van-font-size-lg: 14px;
    --van-divider-border-color: #202122;
    --van-divider-text-color: #202122;
    --van-divider-margin: 0;
    --van-field-error-message-color: #fdfb60;
    --van-action-sheet-item-text-color: #000;
    --van-uploader-upload-active-color: transparent;
    --van-uploader-upload-background-color: transparent;
    --van-uploader-file-background-color: transparent;
    --van-active-color: @bg3;
    --van-image-placeholder-background-color: @bg3;
    --van-search-background-color: #181818;
    --van-search-content-background-color: #0f0f0f;
    // --van-picker-background-color: @bg;
}

[contenteditable='true'],
input,
textarea {
    -webkit-user-select: auto !important;
    -khtml-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    -o-user-select: auto !important;
    user-select: auto !important;
}

.van-divider::after,
.van-divider::before {
    height: 5px;
}

html,
body,
#app,
.scroll-wrapper {
    padding: 0;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}
.scroll-wrapper {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
::-webkit-scrollbar {
    display: none;
    opacity: 0;
}
body {
    font-size: 14px;
    color: var(--van-text-color);
}

input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px @bg inset;
    -webkit-text-fill-color: #fff;
}

.van-dialog {
    color: #000;
}

.flex1 {
    flex-grow: 1;
}
.van-dialog {
    border-radius: 8px;
    .van-dialog__header {
        font-size: 16px;
        font-weight: bold;
        padding-top: 20px;
    }
    .van-hairline--left::after {
        border-color: #f2f4f5;
    }
    .van-hairline--top::after {
        border-color: #f2f4f5;
    }

    .van-dialog__message--has-title {
        padding: 20px 40px 30px;
    }
}
.van-dialog__footer {
    .van-button--default {
        color: #626366;
    }
    .van-dialog__confirm {
        .van-button__text {
            color: #ffa746;
        }
    }
}

.tabbar-placeholder {
    height: 50px;
    padding-bottom: env(safe-area-inset-bottom);
}
