:root:root {
    --van-blue: #0052D9;
    --van-red:#C54322;
    --van-green:#2BA471; 
    --van-gray-3:#DCDFE6;
    --van-button-round-radius:6PX;
}

html,body,#app{
    font-size: 30px;
    color: #333;
}

@media screen and (min-width:650px){
    html,body,#app{
        font-size: 16px;
        color: #333;
    }
}

div,ul,li{
    box-sizing: border-box;
}

input{
    display: block;
    border: none;
    box-sizing: border-box;
}
P{
    margin: 0;
    padding: 0;
}

img {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

// 全局滚动条样式
::-webkit-scrollbar {
    width: 1PX;
    background-color: rgba(0, 0, 0, 0.05);
}
  
::-webkit-scrollbar-thumb {
    background: #7a7a7a;
    border-radius: 5PX;
}

//禁止复制文本
.select-text-disabled{
    user-select: none;
    -moz-user-select:-moz-none;
    moz-user-select: none;
    -o-user-select:none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select:none;
}

//英文数字强制换行
.en-text-wrap{
    word-break: break-all;
    word-wrap: break-word;
}

// 列表无数据占位图
.list-empty-img{
    width: 400px;
    display: block;
    margin: 0 auto;
}
@media screen and (min-width:650px){
    .list-empty-img{
        width: 300px;
    }
}

// 全局公共弹窗
.global-pop-wrap_mobile{
    background-color: #fff;
    .head-box{
        border-bottom: 1px solid $border-color;
    }
    .bot-btn-box{
        border-top: 20px solid #F2F6FA;
    }
}

// vant按钮次级的
.primary2{
    background-color: #F2F3FF !important;
    border-color: #F2F3FF !important;
    color: $theme-color;
}

// 报告详情样式
.report-html-wrap{
    line-height: 1.8;
    font-size: 36px;
    img{
        width: 100% !important;
    }
    span{
        font-size: 36px !important;
        line-height: 1.8 !important;
        background-color: rgba(255, 255, 255, 0) !important;
    }
    p{
        font-size: 36px !important;
        line-height: 1.8 !important;
        background-color: rgba(255, 255, 255, 0) !important;
    }
    iframe{
        width: 100% !important;
    }
    li{
        list-style: inherit !important;
        list-style-position: inside !important;
    }   
}
@media screen and (min-width:650px){
    .report-html-wrap{
        font-size: 18px;
        span{
            font-size: 18px !important;
        }
        p{
            font-size: 18px !important;
        }
    }
}

// froala样式
.fr-second-toolbar {
    display: none !important;
}
a[href="https://froala.com/wysiwyg-editor"], a[href="https://www.froala.com/wysiwyg-editor?k=u"]{ border:1px solid #eaeaea; background:#fff !important; color:#ccc !important; }


.rename-wrap{
    padding:48px;
    input{
        padding: 24px 32px;
        border-radius: 12px;
        background-color: #F6F6F6;
        width: 100%;
    }
    .label{
        color: #666666;
        margin-bottom: 32px;
        text-align: center;
    }
}
@media screen and (min-width:650px){
    .rename-wrap{
        padding:24px;
        input{
            padding: 12px 16px;
            border-radius: 6px;
            background-color: #F6F6F6;
            width: 100%;
        }
        .label{
            margin-bottom: 16px;
        }
    }
}

//edb计算指标公式说明弹窗样式
.edb-formula-tips-html-box{
    font-size: var(--van-dialog-font-size);
    color: $font-grey;
    line-height: 1.5;
    padding: 36px;
    max-height: 60vh;
    overflow-y: auto;
}
@media screen and (min-width:650px){
    .edb-formula-tips-html-box{
        padding: 18px;
    }
}

//图表底部来源和图表说明
.chart-bottom-insruction-info {
    display: flex;
    gap: 0 20px;
    .chart-source {
        width: 30%;
        min-width: 150px;
    }

    .chart-instruction {
        flex: 1;
        text-align: right;
    }
}