/**
 * PC 就诊评价弹窗：授权勾选 + 弹窗滚动
 * 用于 hospital.miaoshou.net：pc/views/hospital/jzpj.php、pc/views/shiguan/jzpj.php
 * 引用：Url::getStaticUrl('css/jzpj_myevaluate_pop.css')
 */

/* 授权区：table 两列（勾选|文案），避免父级 flex 下 label 的 min-width:auto 导致中文一字一行 */
.myevaluate_pop .jzpj-auth-agree {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    margin: 14px 0 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    box-sizing: border-box;
    overflow: visible;
}

.myevaluate_pop .jzpj-auth-agree .jzpj-auth-table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.myevaluate_pop .jzpj-auth-agree .jzpj-auth-cell {
    display: table-cell;
    vertical-align: top;
    box-sizing: border-box;
}

.myevaluate_pop .jzpj-auth-agree .jzpj-auth-cell-cb {
    width: 30px;
    padding: 2px 10px 0 0;
    white-space: nowrap;
}

.myevaluate_pop .jzpj-auth-agree .jzpj-auth-cell-cb input[type="checkbox"] {
    display: block;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
    pointer-events: auto !important;
}

.myevaluate_pop .jzpj-auth-agree .jzpj-auth-cell-txt {
    width: auto;
    cursor: pointer;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
    -webkit-tap-highlight-color: transparent;
}

/* 弹窗：遮罩层可滚动；白底 .content 限制高度内滚 */
.myevaluate_pop {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
    padding: 24px 16px 48px !important;
    z-index: 10000 !important;
}

.myevaluate_pop .content {
    max-height: min(90vh, calc(100vh - 48px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.myevaluate_pop .submitEvaluate {
    display: block;
    margin-bottom: 8px;
}
