/*
文件名称：yingye_zhizhao.css
文件职责：只负责师傅详情页“营业执照安全卡与查看弹层”样式。
维护要求：本文件不维护师傅摘要、平台价值、证书、评价、右侧栏等其他模块。
*/

.yingye-zhizhao-kapian {
    width: 100%;
    max-width: 286px;
    justify-self: end;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 11px;
    border-radius: 22px;
    border: 1px solid rgba(232, 218, 198, 0.92);
    background: radial-gradient(circle at 100% 0%, rgba(255, 236, 207, 0.72), transparent 34%), linear-gradient(180deg, #fffefb 0%, #fff8ef 100%);
    box-shadow: 0 16px 34px rgba(74, 53, 31, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.shifu-zhaiyao-buju .yingye-zhizhao-kapian {
    margin-bottom: 0;
}

.yingye-zhizhao-tou {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.yingye-zhizhao-biaoti {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3f3126;
    font-size: 12px;
    font-weight: 800;
}

.yingye-zhizhao-zhuangtai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #eadfce;
    background: rgba(255, 255, 255, 0.86);
    color: #8a5a2f;
    font-size: 10px;
    font-weight: 800;
}

.yingye-zhizhao-kuang {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid rgba(226, 210, 189, 0.9);
    background: linear-gradient(180deg, #fff 0%, #fff8ef 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 18px rgba(116, 77, 39, 0.045);
    overflow: hidden;
}

.yingye-zhizhao-yulan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 8.6;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 246, 232, 0.98), #fffdf9 62%);
    cursor: pointer;
}

.yingye-zhizhao-yulan:disabled {
    cursor: default;
    opacity: 1;
}

.yingye-zhizhao-tu-ke {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px;
    border-radius: 10px;
    background: #fffdf9;
    overflow: hidden;
}

.yingye-zhizhao-kapian.shi-weishangchuan .yingye-zhizhao-tu-ke {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.yingye-zhizhao-kapian.shi-weishangchuan .yingye-zhizhao-tu-ke::after {
    opacity: 0;
}

.yingye-zhizhao-kapian.shi-weishangchuan .yingye-zhizhao-tupian {
    display: none;
}

.shifu-zhaiyao-youcezu .yingye-zhizhao-kapian.shi-weishangchuan .yingye-zhizhao-yulan::after {
    display: none;
}

.yingye-zhizhao-tu-ke::after,
.yingye-zhizhao-tanchuang-tu::after {
    content: '\5929\8695\5230\5BB6\20\00B7\20\4EC5\4F9B\6838\9A8C\20\20\20TIANCAN VERIFY';
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(151, 98, 51, 0.18);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.8;
    text-align: center;
    transform: rotate(-24deg);
    pointer-events: none;
    user-select: none;
}

.yingye-zhizhao-tupian {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    border-radius: 0;
    background: #fdfaf6;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.yingye-zhizhao-kong {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 0;
    width: 100%;
    height: 100%;
    padding: 14px 12px;
    border: none;
    border-radius: 0;
    background: linear-gradient(180deg, #fffdf9 0%, #fff7ea 100%);
    text-align: center;
    pointer-events: none;
}

.yingye-zhizhao-kapian.shi-weishangchuan .yingye-zhizhao-kong {
    position: absolute;
    inset: 0;
    z-index: 2;
    min-height: 0;
}

.yingye-zhizhao-kong strong {
    color: #3f3126;
    font-size: 13px;
    font-weight: 800;
}

.yingye-zhizhao-kong span {
    max-width: 180px;
    color: #8b7965;
    font-size: 10px;
    line-height: 1.5;
}

.yingye-zhizhao-zhuangtai-ka {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid rgba(202, 231, 211, 0.9);
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fffa 0%, #eef9f2 100%);
    color: #267c48;
}

.yingye-zhizhao-kapian.shi-weishangchuan .yingye-zhizhao-zhuangtai-ka {
    border-color: rgba(238, 222, 199, 0.92);
    background: linear-gradient(180deg, #fffaf2 0%, #fff4e6 100%);
    color: #9a6535;
}

.yingye-zhizhao-zhuangtai-tubiao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.yingye-zhizhao-zhuangtai-wenzi strong,
.yingye-zhizhao-zhuangtai-wenzi span {
    display: block;
}

.yingye-zhizhao-zhuangtai-wenzi strong {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
}

.yingye-zhizhao-zhuangtai-wenzi span {
    margin-top: 2px;
    color: #6f5f4f;
    font-size: 9.5px;
    line-height: 1.42;
}

.yingye-zhizhao-anquan {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 13px;
    border: 1px solid rgba(238, 222, 199, 0.82);
    background: rgba(255, 248, 236, 0.9);
    color: #82694f;
    font-size: 9.5px;
    line-height: 1.42;
}

.yingye-zhizhao-anquan i {
    flex-shrink: 0;
    margin-top: 1px;
    color: #c27d43;
}

.yingye-zhizhao-tanchuang {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.yingye-zhizhao-tanchuang.shi-dakai {
    display: flex;
}

.yingye-zhizhao-zhezhao {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(22, 16, 10, 0.48);
}

.yingye-zhizhao-duihua {
    position: relative;
    z-index: 1;
    width: min(90vw, 860px);
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(226, 210, 189, 0.9);
    background: #fffdf9;
    box-shadow: 0 24px 70px rgba(25, 18, 11, 0.22);
}

.yingye-zhizhao-duihua-tou {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.yingye-zhizhao-duihua-tou strong {
    color: #46382b;
    font-size: 14px;
    font-weight: 700;
}

.yingye-zhizhao-guanbi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: #fff7ec;
    color: #8f5e32;
}

.yingye-zhizhao-tanchuang-tu {
    position: relative;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(228, 206, 177, 0.9);
    background: #fff;
    overflow: hidden;
}

.yingye-zhizhao-tanchuang-tupian {
    display: block;
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.yingye-zhizhao-tanchuang-tishi {
    margin-top: 8px;
    color: #7d6a58;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 1024px) {
    .yingye-zhizhao-kapian {
        width: 100%;
        max-width: 100%;
        justify-self: start;
        padding: 14px;
    }

    .yingye-zhizhao-tupian {
        max-height: none;
    }

    .yingye-zhizhao-kong {
        min-height: 150px;
    }
}

@media (max-width: 640px) {
    .yingye-zhizhao-kapian {
        width: 100%;
        max-width: none;
        padding: 12px;
    }

    .yingye-zhizhao-tou {
        flex-direction: row;
        align-items: center;
    }

    .yingye-zhizhao-kuang {
        min-height: 0;
        padding: 8px;
    }

    .yingye-zhizhao-tupian {
        max-height: none;
    }

    .yingye-zhizhao-kong {
        min-height: 0;
        padding: 12px;
    }

    .yingye-zhizhao-tanchuang {
        padding: 16px;
    }

    .yingye-zhizhao-duihua {
        width: 100%;
        padding: 12px;
    }
}
