*{
    padding: 0;
    margin: 0;

}

html,body{
    width: 332px !important;
    height: 350px !important;
}
.container{
    position: relative;
    background: rgb(242, 244, 246);
    border: 1px solid transparent;
    border-collapse: collapse;
}

.main{
    overflow: hidden;
    background: #fff !important;
    border:1px solid transparent;
    border-radius: 0 0 15px 15px;
    padding:0 10px;
}

.footer{
    height: 43px;
    padding-left: 16px;
}
select:hover{
    cursor: pointer;
}
select:focus-visible{
    outline: none;
}


.service{
    position: relative;
    background: rgb(242, 244, 246,.7);
    border: 1px solid transparent;
    border-radius: 8px;
    margin-top: 18px;
    margin-bottom: 16px;
    line-height: 34px;
    padding-left: 8px;
}


.min-select-container_{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-radius: 10px;
    height: 44px;
    label{
        font-size: 14px;
        font-weight: 400;
        min-width: 60px;
        color: rgba(31, 41, 67, 0.6);
        display: inline-block;
        margin-bottom: 0px;
        cursor: default;
    }
    select{
        box-sizing: border-box; /* 包括 padding 和 border 在内的宽度计算 */
        font-weight: 500;
        color: rgba(31, 41, 67, 1);
        max-width: 200px;
        width: 220px;
        margin-left: 8px;
        transform: translateX(-7px);
        margin-bottom: 0px;
        flex: 2;
        overflow: hidden;
        font-size: 16px;
        border: none;
        border-radius: 8px;
        text-overflow: ellipsis;
        background-color: transparent;
        box-shadow: unset !important;
        cursor: pointer;
        background-repeat: no-repeat;
    }
}
.horizontal-line {
    width: 284px; /* 设置横线的宽度 */
    height: 1px; /* 设置横线的高度 */
    background-color: rgba(31, 41, 67, 0.05); /* 设置横线的颜色 */
    margin: -2px 0; /* 设置横线上下的间距 */
}

#loading{
    text-align: center;
    border: 1px solid transparent;
    width: 300px;
    height: 20px;
    display: none;color: rgba(255, 71, 115, 1);font-size: 14px;
    margin-bottom: 10px;
    top: 305px;
    left: 16px;
    .lables{
        max-width: 270px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

.options{
    height: 100px;
    font-size: 14px;
    overflow: hidden;
    margin-left: 2px;
    line-height: 20px;
    padding-top: 6px;
    margin-bottom: 8px;
    .alwaysTranslate{
        border: 1px solid transparent;
        margin-bottom: 16px;
        height: 20px;
        #btnOptions{
            flex: unset;
            float: left;
            background: none;
            border: none;
            color: rgb(29, 37, 59);
            margin-left: -4px;
            width: unset !important;
            max-width: unset !important;
            font-size: 14px !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }
        #hoverSelect{
            background: none;
            border: none;
            color: rgb(29, 37, 59);
            max-width: 200px !important;
            font-size: 14px !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }
    }
}

 .main .main-context .alwaysTranslate .hover{
    float: left;
    font-size: 14px;
    margin-left: 4px;
    margin-top: 0.08rem;
}

.main .main-context .last{
    margin-bottom: 16px;
    >div{
        float: left;
        max-width: 252px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    span{
        display: inline-block;
        width: 130px;
        white-space: nowrap; /* 禁止换行 */
        overflow: hidden; /* 溢出部分隐藏 */
        text-overflow: ellipsis; /* 显示省略号 */
    }
}
.disable{
    opacity: 0.5;
    pointer-events: none;
}
.service:hover{
    background: rgb(242, 244, 246,.9);
}

.btn{
    height: 42px;
    margin-bottom: 12px;
    .switchPatten{
        width: 138px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid transparent;
        float: left;
        margin-right: 10px;
        select{
            background: none;
            border: none;
            width: 95% ;
            height: 100%;
            font-size: 14px !important;
            color: #1F2943 !important;
            padding-left: 8px;
            font-weight: 500;
        }
    }
}

.translate{
    width: 152px !important;
    height: 42px;
    background: #00AAB5 !important;
    text-align: center;
    color: #fff;
    font-size: 16px;
    line-height: 42px;
    font-weight: 600;
    margin-left: 4px;
}

.translate:hover{
    background: #00C9D5 !important;
    box-shadow: 0 0 10px -4px;
    cursor: pointer;
}

input[type='checkbox'].switch{
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    width: 35px;
    height: 20px;
    background: #ccc;
    border-radius: 10px;
}

input[type='checkbox'].switch:hover{
    cursor: pointer;
}

input[type='checkbox'].switch::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height:1rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0, 0, 2px, #999;
    top: 2px;
    position: absolute;
    left: 2px;
}

input[type='checkbox'].switch:checked {
    background: rgb(0, 160, 172);
}

input[type='checkbox'].switch:checked::after {
    left: 50%;
}

/* 动画类 */
input[type='checkbox'].switch.animated,
input[type='checkbox'].switch.animated::after {
    transition: all 0.3s;
}

.pdf{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center; /* 水平居中 */
    line-height: 40px;
    background-color: rgba(244, 245, 247, 1);
    border-radius: 8px;
    padding: 10px 8px 10px 2px;
    width: 300px;
    height: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    img{
        margin-right:1.67px;
        vertical-align: middle;
    }
    span{
        vertical-align: middle;
    }
}
.pdf:hover{
    cursor: pointer;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dialog-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    text-align: center;
    border-radius: 8px;
    width: 220px;
}

.hidden {
    display: none;
}

.dialog-content {
    text-align: center;
}

.dialog-content p {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.dialog-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 12px -16px;
}

.dialog-button {
    border: none;
    background-color: transparent;
    color: #2196F3;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

.dialog-buttons {
    display: flex;
    flex-direction: column;
}

/*.dialog-buttons .dialog-button:first-child {*/
/*    border-bottom: 1px solid #e0e0e0;*/
/*}*/