@charset "utf-8";
/* =========================================================
   auth.css — 会议注册/登录/找回密码 现代化样式（2026-10）
   适用: reg_cn.asp / reg_en.asp / reg_cn_login.asp / reg_en_login.asp
         reg_cn_pws_get.asp / reg_en_pws_get.asp
   主题色由各页面内联注入: :root{--brand:会议配色; --accent:会议文字色}
   依赖 base.css（reset 与 .left/.right/.row 通用类），替换 log-reg.css
   ========================================================= */

:root{
  --brand:#0ca29e;      /* 会议主题色（后台 bgcolor），页面内覆盖 */
  --accent:#1f2937;     /* 会议文字色（后台 textcolor），页面内覆盖 */
  --ink:#1e293b;        /* 正文 */
  --muted:#64748b;      /* 次要文字 */
  --line:#d9e1ec;       /* 边框 */
  --bg:#f2f5f9;         /* 页面底色 */
}

body{background:var(--bg);color:var(--ink)}

/* ---------- 顶栏 ---------- */
.header{height:56px;background:var(--brand);border-bottom:1px solid rgba(0,0,0,.12)}
.header .head-con{max-width:1024px;padding:0 20px}
.header .logo-wrap{float:left;height:56px}
.header .topuser.form-wrap{right:20px;top:0;height:56px;line-height:normal;display:flex;align-items:center;gap:10px}
.header .topuser a{float:none;display:inline-block;height:32px;line-height:32px;padding:0 18px;width:auto;border-radius:999px;font-size:14px;font-weight:600;text-align:center;transition:opacity .15s,background-color .15s}
.header .topuser a.register{background:#fff;color:var(--brand)}
.header .topuser a.login{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.6)}
.header .topuser a.register:hover{color:var(--brand);opacity:.85}
.header .topuser a.login:hover{color:#fff;opacity:.85}

/* ---------- 页面标题条 ---------- */
.price-top{background:#fff;border-bottom:1px solid var(--line);padding:16px 0}
.price-top-con{max-width:1024px;padding:0 20px;font-size:20px;color:var(--ink);line-height:1.5}
.price-top-con strong{font-weight:700;position:relative;padding-left:12px}
.price-top-con strong::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:18px;border-radius:2px;background:var(--accent)}
.meeting-title{display:inline-block;max-width:100%;vertical-align:middle;font-size:14px;color:var(--muted)}
@media(max-width:768px){.meeting-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60vw}}

/* ---------- 表单卡片 ---------- */
.log-wrap{max-width:640px;margin:28px auto 48px;padding:0 20px}
.reg-lt{padding:0}
.reg-int{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(15,23,42,.06);padding:30px 30px 26px}
.reg-int>p{font-size:13px;color:var(--muted);background:#f8fafc;border-radius:8px;padding:10px 12px;margin-bottom:18px;line-height:1.6}
.reg-int>.row{font-size:14px;font-weight:500;color:var(--ink);line-height:22px;margin:0 0 6px}

/* ---------- 输入控件 ---------- */
.log-int .label,.reg-int .label{position:relative;border:1px solid var(--line);border-radius:8px;background:#fff;display:block;transition:border-color .15s,box-shadow .15s}
.log-int .label:focus-within,.reg-int .label:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,23,42,.07)}
.log-int .int,.reg-int .int{width:100%;border:0;margin:0;height:44px;font-size:15px;color:var(--ink);padding:0 12px;background:transparent}
.log-int .int:focus,.reg-int .int:focus{outline:0}
.reg-int select.int,.log-int select.int{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;padding-right:34px}
.reg-point{line-height:1;font-size:0;margin:0 0 16px}
.reg-int .reg-del,.reg-int .right-btn{display:none!important}
/* 旧版输入框装饰图标已废弃，禁用其背景图避免 404 请求 */
.btn-bg,.btn03-bg{background-image:none!important}

/* ---------- 验证码 ---------- */
.reg-verify{display:flex;align-items:center;gap:10px;height:auto;font-size:15px}
.reg-verify .reg-get{order:0;float:none;width:150px;height:44px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;cursor:pointer}
.reg-verify .reg-num{order:1;float:none;flex:1;min-width:0;width:auto;height:44px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font-size:15px;color:var(--ink)}
.reg-verify .reg-num:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,23,42,.07)}

/* ---------- 提交按钮 ---------- */
.log-btn{padding:6px 0 0}
.log-btn .btn{-webkit-appearance:none;appearance:none;width:100%;display:block;height:46px;line-height:46px;font-size:16px;font-weight:600;text-align:center;color:#fff;background:var(--brand);border:0;border-radius:8px;cursor:pointer;transition:filter .15s,transform .08s}
.log-btn .btn:hover{filter:brightness(.9)}
.log-btn .btn:active{transform:translateY(1px)}

/* ---------- 指引链接 ---------- */
.log-rt,.reg-rt{position:static;width:auto;padding:0}
.log-other,.reg-other{padding:18px 0 6px;line-height:24px}
.log-other .other-ft{float:none;line-height:24px;font-size:13px;color:var(--muted);letter-spacing:2px}
.log-down,.reg-down{line-height:32px;font-size:14px}
.log-down a{color:var(--brand);font-weight:500}
.log-down a:hover{text-decoration:underline;color:var(--brand)}

/* ---------- 备注 textarea ---------- */
textarea.layui-textarea{box-sizing:border-box;width:100%;min-height:96px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:15px;color:var(--ink);resize:vertical;transition:border-color .15s,box-shadow .15s}
textarea.layui-textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,23,42,.07)}
.layui-textarea::placeholder{font-size:13px;color:#9aa6b5;opacity:1}

/* ---------- 复选框（参会日程/分论坛等） ---------- */
input[type="checkbox"]{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:20px;height:20px;border:2px solid #cbd5e1;border-radius:5px;outline:0;cursor:pointer;vertical-align:middle;position:relative;background:#fff}
input[type="checkbox"]:checked{background:var(--brand);border-color:var(--brand)}
input[type="checkbox"]:checked::after{content:"✓";color:#fff;font-size:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
label{vertical-align:middle;margin-left:5px}

/* ---------- 自定义附加报名字段 ---------- */
.custom-fields-section{margin:20px 0;padding:18px 16px 2px;background:#f8fafc;border:1px solid var(--line);border-radius:10px}
.custom-fields-title{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:14px}
.custom-field{margin-bottom:16px}
.custom-field-label{display:block;margin-bottom:6px;font-size:14px;color:var(--ink)}
.custom-required{color:#e53935;margin-right:2px}
.custom-control{box-sizing:border-box;width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:15px;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.custom-control:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,23,42,.07)}
.custom-textarea{min-height:96px;resize:vertical}
.custom-choice-group{line-height:34px}
.custom-choice{display:inline-block;margin-right:18px;font-size:14px;color:var(--ink)}
.custom-field-help{margin-top:5px;color:var(--muted);font-size:12px}

/* ---------- 错误提示（保留旧类名兼容） ---------- */
.reg-error{position:relative;font-size:13px;color:#e74c3c;line-height:22px;margin:6px 0 14px;padding-left:22px}

/* ---------- 页脚 ---------- */
.footer{margin-top:24px}
.foot{height:52px;line-height:52px;text-align:center;color:#fff;font-size:13px;background:var(--brand)}

/* 旧类名兼容：手机端底部留白 */
@media only screen and (max-width:768px){.row2{padding-bottom:8px}}

/* ---------- 服务端弹窗（inc_msg.asp：Back2 错误返回 / Msg2Go 成功跳转） ---------- */
.msg2-mask{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:20px;animation:msg2in .18s ease}
@keyframes msg2in{from{opacity:0}to{opacity:1}}
.msg2-mask.msg2-out{opacity:0;transition:opacity .18s}
.msg2-box{background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(15,23,42,.25);max-width:340px;width:100%;padding:28px 24px 20px;text-align:center;font-size:15px;color:var(--ink);animation:msg2pop .2s ease}
@keyframes msg2pop{from{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}
.msg2-icon{width:52px;height:52px;line-height:52px;margin:0 auto 14px;border-radius:50%;font-size:26px;font-weight:700;color:#fff}
.msg2-error .msg2-icon{background:#ef4444}
.msg2-success .msg2-icon{background:var(--brand)}
.msg2-info .msg2-icon{background:#64748b}
.msg2-text{line-height:1.7;word-break:break-word}
.msg2-btns{margin-top:18px}
.msg2-btn{-webkit-appearance:none;appearance:none;min-width:120px;height:40px;border:0;border-radius:8px;background:var(--brand);color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:filter .15s}
.msg2-btn:hover{filter:brightness(.9)}
.msg2-btn:focus{outline:0;box-shadow:0 0 0 3px rgba(15,23,42,.12)}
.msg2-error .msg2-btn{background:#ef4444}
@media (max-width:640px){.msg2-box{max-width:86vw;padding:24px 18px 16px}}

/* ---------- 响应式（手机端） ---------- */
@media (max-width:640px){
  .header{height:50px}
  .header .logo-wrap{height:50px}
  .header .topuser.form-wrap{right:12px;height:50px}
  .header .topuser a{width:auto;height:30px;line-height:30px;padding:0 14px;font-size:13px}
  .price-top{padding:12px 0}
  .price-top-con{font-size:17px}
  .log-wrap{margin:16px auto 32px;padding:0 12px}
  .reg-int{padding:20px 16px 18px;border-radius:12px}
  .reg-verify .reg-get{width:44%;min-width:118px;height:42px}
  .reg-verify .reg-num{height:42px;font-size:14px}
  .log-btn .btn{height:44px;line-height:44px;font-size:15px}
  .foot{height:44px;line-height:44px;font-size:12px}
}
