/**
 * @tkno JZM-2837
 * @content 冠集团名称前端样式（开关/授权文件上传区/集团信息录入弹窗）
 *          抽离自 main.jsp、main_crowngrp.jsp 的元素 inline style，集中管理
 * @author 魏巍
 * @createTime 2026-09-11
 * @param
 * @return
 */

/* 冠集团开关（cjmc_l 内，与国家局链接同行靠左；字号14px、padding-top11px 与链接水平对齐） */
#crownGrpToggleDiv { display:none; float:left; font-size:14px; padding:11px 0 0 0; margin:0; }
#crownGrpNameShow { color:#1f7ab7; margin-left:8px; border:1px solid #8ccffc; border-radius:5px; padding:5px 15px; background-color:#D8E6F9; }
#crownGrpNameShow:empty { display:none; }

/* 授权文件上传区（底色同 mczc_g #D8E6F9、无边框 border:0；两段分行：上传链接黑/格式提示蓝=#qyzh色#1f7ab7） */
#crownGrpFileDiv { display:none; width:500px; margin:8px auto; background-color:#D8E6F9; border:0; padding: 8px 40px; text-align: left; border-radius: 7px;}
#crownAuthFile { display:none; }
#crownGrpFileDiv > a { display:block; color:#000; padding: 10px;}
#crownGrpFileDiv > span { display:block; color:#1f7ab7; padding: 0 10px;}

/* 明示的上传按钮（覆盖上方 a 的 block/large-padding；块级定宽 + 左右 auto 居中，尺寸同弹窗按钮 .h_b） */
#crownGrpFileDiv > a.crownAuthFileBtn { display:block; width:88px; height:32px; line-height:30px; margin:0 auto 8px; padding:0; text-align:center; background:#fff; color:#333; border:1px solid #a9a9a9; border-radius:2px; font-size:14px; text-decoration:none; box-sizing:border-box; }
#crownGrpFileDiv > a.crownAuthFileBtn:hover { background:#f2f2f2; }
#crownFileList { margin-top:8px; }

/* 集团信息录入弹窗（覆盖全局 .reveal-modal，蓝标题条+浅蓝内衬面板+居中按钮） */
#crownGrpPopup { width:720px; margin-left:-360px; top:40px; background:#fff; border-radius:4px; }
#crownGrpPopup .modal-header { background:#466bb3; border-radius:4px 4px 0 0; padding:0 15px; }
#crownGrpPopup .modal-header h2 { color:#fff; font-size:15px; margin:0; line-height:40px; text-align:left; }
#crownGrpPopup .modal-body { background:#fff; padding:25px 30px 20px; text-align:left; }
#crownGrpPopup .crownPanel { background:#eef7fd; padding:25px 20px; }

/* 字段行：标签列 150px 右对齐 + 输入列撑满 */
#crownGrpPopup .crownFieldRow { margin-bottom:18px; }
#crownGrpPopup .crownFieldRow > span:first-child { display:inline-block; width:150px; text-align:right; vertical-align:middle; }
#crownGrpPopup .crownFieldRow > span:first-child em { color:#e4393c; font-style:normal; margin-right:2px; }
#crownUniscid, #crownGrpNameInput { width:430px; height:32px; border:1px solid #ccc; border-radius:2px; background:#fff; padding:0 8px; box-sizing:border-box; vertical-align:middle; }
#crownUniscidTip { color:#e4393c; display:none; margin-left:8px; vertical-align:middle; }

/* 单选行：去"集团类型"标签，与输入列左对齐（显式 left，防继承居中） */
#crownGrpPopup .crownRadioRow { padding-left:150px; text-align:left; }
#crownGrpPopup .crownRadioRow label { display:block; margin-bottom:8px; line-height:20px; text-align:left; }
#crownGrpPopup .crownRadioRow input[type=radio] { vertical-align:-2px; margin:0 4px 0 0; accent-color:#3598db; }
#crownNoHymsTip { display:none; color:#e4393c; line-height:1.6; }
#crownVerifyTip { color:#e4393c; display:none; line-height:1.6; margin-top:-6px; }

/* 按钮区：面板外居中，取消(白底橙框)/确定(深蓝底白字) */
.crownPopupActions { text-align:center; margin-top:20px; }
.crownPopupActions .h_b { display:inline-block; width:88px; height:32px; line-height:32px; text-align:center; font-size:14px; text-decoration:none; border-radius:2px; margin:0 6px; }
.crownPopupActions .h_b_cancel { background:#fff; color:#f08300; border:1px solid #f0ad4e; box-sizing:border-box; }
.crownPopupActions .h_b_ok { background:#466bb3; color:#fff; border:1px solid #466bb3; box-sizing:border-box; }
.crownPopupActions .h_b_plain { background:#fff; color:#333; border:1px solid #ccc; box-sizing:border-box; }

/* 取消冠集团确认弹窗（温馨提示：与录入弹窗同风格，蓝标题条+白底+居中提示与按钮） */
#crownCancelModal { top:160px; background:#fff; border-radius:4px; }
#crownCancelModal .modal-header { background:#466bb3; border-radius:4px 4px 0 0; padding:0 15px; }
#crownCancelModal .modal-header h2 { color:#fff; font-size:15px; margin:0; line-height:40px; text-align:left; }
#crownCancelModal .modal-body { background:#fff; padding:30px 20px 20px; text-align:center; }
#crownCancelModal .crownCancelText { margin:0 0 25px; font-size:14px; color:#333; line-height:1.6; }
#crownCancelModal .crownPopupActions { margin-top:0; }

/* 三要素全空提交提示弹窗（温馨提示：蓝色 #466bb3） */
#crownThreeReqModal { top:160px; background:#fff; border-radius:4px; }
#crownThreeReqModal .modal-header { background:#466bb3; border-radius:4px 4px 0 0; padding:0 15px; }
#crownThreeReqModal .modal-header h2 { color:#fff; font-size:15px; margin:0; line-height:40px; text-align:left; }
#crownThreeReqModal .modal-body { background:#fff; padding:25px 20px 20px; text-align:left; }
#crownThreeReqModal .crownCancelText { margin:0 0 20px; font-size:14px; color:#333; line-height:1.8; }
#crownThreeReqModal .crownPopupActions { margin-top:0; text-align:center; }
.crownPopupActions .h_b_three_ok { background:#466bb3; color:#fff; border:1px solid #466bb3; box-sizing:border-box; }

/* 冠集团名称前缀段（mcgs result li 内，冠集团启用填 GRPNAME） */
.f_grpname { display:none; }

/* 授权文件缩略图项（JS 动态生成，class 由 crownFileItemHtml 写入） */
.crownFileItem { width:80px; height:80px; position:relative; margin:4px; display:inline-block; }
.crownFileItem img { width:80px; height:80px; object-fit:cover; border:1px solid #ddd; border-radius:4px; }
.crownFileItem a { position:absolute; top:-8px; right:-8px; background:#e74c3c; color:#fff; border-radius:50%; width:20px; height:20px; line-height:18px; text-align:center; text-decoration:none; font-size:14px; }
