/* 全局公共样式 */

page{
    font-size: $global-font-size-base;
    color: $global-text-color;
    width: 100%;
    min-height: calc(100% - calc(50px + constant(safe-area-inset-bottom)));
    min-height: calc(100% - calc(50px + env(safe-area-inset-bottom)));
    background-color: $global-bg-color;
    padding-bottom: calc(50px + constant(safe-area-inset-bottom));
    padding-bottom: calc(50px + env(safe-area-inset-bottom));
}
view{
    box-sizing: border-box;
}
.flex{
    display: flex;
}

/* 卡片列表样式 */
.global-list-card{
    border: 1px solid rgba(112, 112, 112, 0.05);
    box-shadow: 3rpx 3rpx 12rpx rgba(161, 161, 161, 0.14);
    border-radius: 16rpx;
    overflow: hidden;
}

/* 公共按钮 */
.global-btn-yellow-change{
    background: linear-gradient(270deg, #EEC795 0%, #D9A360 100%);
    border-radius: 35rpx;
    color: $global-text-color-white;
    text-align: center;
    line-height: 70rpx;
}
.global-btn-yellow-plain{
    text-align: center;
    color: $global-text-color-main;
    border-radius: 35rpx;
    border: 1px solid $global-text-color-main;
    line-height: 70rpx;
}
.global-btn-disable{
    text-align: center;
    color:$global-text-color-white;
    background-color: #E6E6E6;
    border-radius: 35rpx;
    line-height: 70rpx;
}

/* 公共弹窗 */
.global-pup{
    background-color: #fff;
    width: 90vw;
    min-height: 200rpx;
    font-size: $global-font-size-lg;
    .content{
        padding: 34rpx;
        text-align: center;
        min-height: 250rpx;
        display: flex;
        align-items: center;
        text-align: center;
        line-height: 1.7;
        rich-text{
            flex: 1;
        }
    }
    .bot{
        border-top: 1px solid $global-border-color;
        view{
            line-height: 96rpx;
            flex: 1;
            text-align: center;
            border-right: 1px solid $global-border-color;
            color:$global-text-color-main;
        }
        view:last-child {
            border: none;
        }
    }
}

/* 报告模块公共空白页 */
.report-empty-box{
    text-align: center;
    font-size: 32rpx;
    color: #999;
    padding-top: 150rpx;
    image{
        width: 346rpx;
        margin-bottom: 57rpx;
    }
}

.text_oneLine {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 问答模块单个问答样式*/
.question-item {
    margin-bottom: 20rpx;
    &::after{
        content: '';
        display: block;
        height:10rpx;
        margin:0 -30rpx;
        background-color: #F9F9F9;
    }
    &:last-child{
        &::after{
            background-color: #FFFFFF;
        }
    }
    .question-info{
        display: flex;
        padding: 10rpx 0;
        .question-title{
            font-size: 32rpx;
            color:#333333;
            .item-label{
                padding:7rpx 12rpx;
                font-size: 22rpx;
                text-align: center;
                background-color: #333333;
                color: #E4B478;	
                border-radius: 21rpx;
                margin-right:15rpx ;		
            }
        }
        .item-answer {
            display: flex;
            align-items: center;
            .answer {
                width:150rpx;
                height: 97rpx;
                box-sizing: border-box;
                padding:30rpx 15rpx;
                border-radius: 18rpx;
                background:linear-gradient(253deg, #E3B377 0%, #FBCA8E 100%);
                display: flex;
                justify-content: space-around;
                align-items: center;
                color: #FFFFFF;
                font-size: 24rpx;
                .load-img{
                    width: 34rpx;
                    height: 34rpx;
                    margin-right: 10rpx;
                    animation: circle 1s linear infinite;
                }
                .music-img{
                    width: 25rpx;
                    height: 34rpx;
                    margin-right: 10rpx;
                }
                @keyframes circle {
                    0%{
                        transform: rotateZ(0);
                    }
                    100%{
                        transform: rotateZ(360deg);
                    }
                }
            }
        }
    }
    .item-time {
        color: #999999;
        font-size: 24rpx;
        margin:20rpx 0;
        display: block;
    }
    
}
/* 问答模块无权限样式 */
.noAuth-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    .auth-text{
        color:#999999;
        text-align: center;
        text{
            margin-left: 15rpx;
            color:#E6B77D;
        }
    }
    .apply{
        margin-top: 40rpx;
        width:390rpx;
        height:80rpx;
        background-color: #E6B77D;
        color: #FFFFFF;
        text-align: center;
        line-height: 80rpx;
        border-radius: 40rpx;
    }
}

// 跳转去提问的悬浮按钮
.to-question-fixed-box{
    width: 162rpx;
    height: 145rpx;
    background: #FFFFFF;
    box-shadow: 0px 4px 17px 0px rgba(0,0,0,0.08);
    border: 1px solid #F2F2F2;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-radius: 16rpx;
    image{
        width: 84rpx;
        height: 84rpx;
    }
    text{
        font-size: 28rpx;
        font-weight: 400;
        color: #E3B377;
    }
}