/* 通用表单美化（删除信息 / 发布页补充） */
.panel { padding:10px 0; margin:10px 0; }
.panel-title { font-size:18px; color:#333; border-left:4px solid #e4393c; padding-left:10px; margin-bottom:16px; }
.del-table { width:100%; }
.del-table th { text-align:right; padding:10px; color:#555; font-weight:normal; }
.del-table td { padding:10px; }
.del-table input[type=text] { border:1px solid #ccc; border-radius:3px; width:220px; }
.msg-ok { background:#e8f8e8; color:#2e7d32; border:1px solid #b7e4b7; padding:10px; border-radius:3px; margin-bottom:12px; }
.msg-error { background:#fdecea; color:#c62828; border:1px solid #f5c6cb; padding:10px; border-radius:3px; margin-bottom:12px; }
.tip { color:#999; font-size:12px; padding:8px 0 0 130px; }
.del-form .tip { padding-left:130px; }
.btn-normal { background:#e4393c; color:#fff; border:none; border-radius:3px; }

/* 发布页图片上传 */
.img-item { display:inline-block; margin:0 8px 8px 0; border:1px solid #eee; padding:2px; }
.img-item img { display:block; }
.posttable { width:100%; }
.posttable th { text-align:right; padding:10px; color:#555; font-weight:normal; width:120px; }
.posttable td { padding:10px; }
.posttable input[type=text], .posttable textarea, .posttable select { border:1px solid #ccc; border-radius:3px; }
.posttable input:focus, .posttable textarea:focus, .posttable select:focus { outline:none; border-color:#e4393c; }

/* 首页分类图标网格：适配页面宽度（老站1280px可能溢出，这里限制在容器内）*/
.info_gezi { max-width:100%; }
.info_gezi .infobox { box-sizing:border-box; }
.info_gezi .info_cont img { width:128px; height:128px; }

/* 登录/注册/删除/发布统一表单样式（首页风格，无内框）*/
.login_box { padding:10px 0; margin:10px 0; max-width:640px; }
.login-form .del-table input[type=text],
.login-form .del-table input[type=password] { border:1px solid #ccc; border-radius:3px; width:240px; }
.login-form .del-table input:focus { outline:none; border-color:#e4393c; }
.post_box { padding:10px 0; margin:10px 0 40px; min-height:480px; }
.post_box .posttable { width:100%; }
.post_box .posttable th { text-align:right; padding:12px; color:#555; font-weight:normal; }
.post_box .posttable td { padding:12px; }
.post_box .posttable input[type=text], .post_box .posttable textarea, .post_box .posttable select { border:1px solid #ccc; border-radius:3px; }
.post_box .posttable input:focus, .post_box .posttable textarea:focus { outline:none; border-color:#e4393c; }

/* 快速发信息：分类按钮组 */
.cat-select { display:flex; flex-wrap:wrap; gap:8px; }
.cat-btn { display:inline-block; padding:8px 18px; background:#f5f5f5; border:1px solid #ddd; border-radius:4px; color:#333; cursor:pointer; font-size:14px; transition:.2s; }
.cat-btn:hover { border-color:#e4393c; color:#e4393c; }
.cat-btn.selected { background:#e4393c; border-color:#e4393c; color:#fff; }

/* 快速发信息：图片预览 */
.img-preview { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.img-preview .img-item { position:relative; display:inline-block; border:1px solid #eee; padding:2px; }
.img-preview .img-item img { display:block; }
.img-preview .img-del { position:absolute; top:2px; right:2px; width:18px; height:18px; line-height:16px; text-align:center; background:rgba(0,0,0,.6); color:#fff; border-radius:50%; cursor:pointer; font-size:14px; }

/* 快速发信息页面美化 */
.post_box .posttable { width:100%; table-layout:fixed; }
.post_box .posttable th { text-align:right; width:120px; padding:14px 12px; color:#444; font-weight:normal; vertical-align:top; line-height:34px; }
.post_box .posttable th em { color:#e4393c; font-style:normal; margin-right:3px; }
.post_box .posttable td { padding:14px 8px; vertical-align:top; text-align:left; }
.post_box .ipt-text { width:100%; max-width:560px; padding:8px 10px; border:1px solid #ccc; border-radius:3px; font-size:14px; font-family:inherit; box-sizing:border-box; text-align:left; display:block; margin:0; }
.post_box .ipt-text:focus { outline:none; border-color:#e4393c; }
.post_box .ipt-mid { max-width:320px; }
.post_box .ipt-short { max-width:140px; }
.post_box textarea.ipt-text { min-height:160px; line-height:1.7; resize:vertical; }
.post_box .tip-inline { color:#999; font-size:12px; margin-left:10px; }
.post_box .file-btn { display:inline-block; padding:7px 16px; background:#fff; border:1px solid #ccc; border-radius:3px; cursor:pointer; color:#333; }
.post_box .file-btn:hover { border-color:#e4393c; color:#e4393c; }
.post_box .file-btn input[type=file] { display:none; }
.post_box .file-btn-text { font-size:14px; }
.post_box .captcha-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.post_box .captcha-img { width:90px; height:32px; cursor:pointer; border:1px solid #ddd; vertical-align:middle; }
.post_box .captcha-tip { color:#999; font-size:12px; }
.post_box .captcha-tip:hover { color:#e4393c; }
.post_box .btn-submit-post { background:#e4393c; color:#fff; border:none; padding:10px 32px; font-size:15px; border-radius:3px; cursor:pointer; }
.post_box .btn-submit-post:hover { background:#c53030; }
.post_box .form-note { color:#999; font-size:12px; margin-left:14px; }
.post_box .form-note em { color:#e4393c; font-style:normal; margin:0 2px; }

/* 内容详情页：老站全宽布局（information.css）在 body1000 容器内居中适配 */
.information_bd { width:1279px; max-width:none; margin-left:calc((100% - 1279px)/2); }
.information_bd .bd_left { width:950px; }
.information_bd .bd_right { width:310px; }

/* 关于/帮助/公告等静态页面样式 */
.about_sidebar { float:left; width:220px; }
.about_menu { background:#fff; border:1px solid #E8E8E8; }
.about_menu h3 { background:#f5f5f5; padding:12px 15px; font-size:15px; color:#333; border-bottom:1px solid #E8E8E8; }
.about_menu ul { list-style:none; padding:0; margin:0; }
.about_menu li { border-bottom:1px solid #f0f0f0; }
.about_menu li a { display:block; padding:12px 15px; color:#555; text-decoration:none; }
.about_menu li a:hover { background:#fafafa; color:#e4393c; }
.about_menu li.current a { background:#e4393c; color:#fff; }
.about_main { float:right; width:760px; background:#fff; border:1px solid #E8E8E8; min-height:500px; }
.about_content { padding:20px 25px; }
.about_content h1 { font-size:20px; color:#333; border-bottom:2px solid #e4393c; padding-bottom:12px; margin-bottom:20px; }
.about_section { margin-bottom:30px; }
.about_section h2 { font-size:16px; color:#444; margin-bottom:12px; padding-left:10px; border-left:3px solid #e4393c; }
.about_section p { line-height:2; color:#666; margin-bottom:10px; }
.about_list { list-style:none; padding:0; margin:10px 0; }
.about_list li { padding:8px 0 8px 20px; color:#555; position:relative; }
.about_list li:before { content:'•'; color:#e4393c; position:absolute; left:5px; }

/* FAQ样式 */
.faq_section { margin-bottom:25px; padding-bottom:20px; border-bottom:1px dashed #eee; }
.faq_section:last-child { border-bottom:none; }
.faq_section h2 { font-size:15px; color:#333; margin-bottom:10px; }
.faq_section p { line-height:1.8; color:#666; padding-left:10px; }

/* 公告列表样式 */
.announce_list { padding:10px 0; }
.announce_item { padding:15px 0; border-bottom:1px dashed #eee; }
.announce_item h3 { font-size:15px; margin-bottom:8px; }
.announce_item h3 a { color:#333; text-decoration:none; }
.announce_item h3 a:hover { color:#e4393c; }
.announce_time { color:#999; font-size:12px; }
.announce_summary { color:#666; line-height:1.8; margin-top:8px; }

/* 友情链接样式 */
.friendlink_section h2 { font-size:16px; color:#444; margin-bottom:15px; padding-bottom:10px; border-bottom:1px solid #eee; }
.link_list { padding:15px 0; }
.link_list a { display:inline-block; margin:0 15px 10px 0; padding:5px 12px; background:#f5f5f5; border:1px solid #ddd; border-radius:3px; color:#555; text-decoration:none; }
.link_list a:hover { border-color:#e4393c; color:#e4393c; }
.link_apply { margin-top:30px; padding:20px; background:#fafafa; border-radius:5px; }
.link_apply h3 { font-size:14px; color:#333; margin-bottom:10px; }
.link_apply p { color:#666; line-height:1.8; }
.link_apply ul { margin:10px 0 15px 20px; color:#666; }
.link_apply ul li { line-height:1.8; }
.empty_tip { color:#999; font-style:italic; }

/* 网站地图样式 */
.sitemap_section h2 { font-size:16px; color:#444; margin-bottom:15px; padding-bottom:10px; border-bottom:1px solid #eee; }
.sitemap_block { margin-bottom:25px; }
.sitemap_block h3 { font-size:14px; color:#333; margin-bottom:12px; padding-left:10px; border-left:3px solid #e4393c; }
.sitemap_list { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; }
.sitemap_list li { width:25%; margin-bottom:10px; }
.sitemap_list li a { color:#555; text-decoration:none; }
.sitemap_list li a:hover { color:#e4393c; }

/* 后台管理样式优化 */
.admin-wrapper { display:flex; gap:20px; }
.admin-wrapper .about_sidebar { flex-shrink:0; width:200px; }
.admin-wrapper .about_main { flex:1; width:auto; float:none; }
.admin-wrapper .about_menu { border-radius:5px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.admin-wrapper .about_menu h3 { background:linear-gradient(135deg, #e4393c 0%, #c53030 100%); color:#fff; }
.admin-wrapper .about_menu li.current a { background:#e4393c; }
.admin-wrapper .data-table { box-shadow:0 1px 3px rgba(0,0,0,0.05); }
.admin-wrapper .data-table th { background:#fafafa; font-weight:600; color:#444; }
.admin-wrapper .data-table tr:hover { background:#f8f9fa; }
.admin-wrapper .btn-action { display:inline-block; padding:5px 12px; margin:0 3px; border-radius:3px; font-size:12px; text-decoration:none; transition:all 0.2s; }
.admin-wrapper .btn-action:hover { opacity:0.85; transform:translateY(-1px); }
.admin-wrapper .btn-edit { background:#2196f3; color:#fff; }
.admin-wrapper .btn-delete { background:#f44336; color:#fff; border:none; cursor:pointer; }
.admin-wrapper .btn-approve { background:#4caf50; color:#fff; }
.admin-wrapper .btn-reject { background:#ff9800; color:#fff; }
.admin-wrapper .filter-bar { background:#f8f9fa; padding:15px; border-radius:5px; margin-bottom:20px; }
.admin-wrapper .filter-bar a { display:inline-block; padding:6px 16px; margin-right:8px; border-radius:20px; text-decoration:none; font-size:13px; transition:all 0.2s; }
.admin-wrapper .filter-bar a:hover { background:#e4393c; color:#fff; }
.admin-wrapper .filter-bar a.active { background:#e4393c; color:#fff; }
.admin-wrapper .stat-card { transition:transform 0.2s, box-shadow 0.2s; }
.admin-wrapper .stat-card:hover { transform:translateY(-3px); box-shadow:0 4px 12px rgba(0,0,0,0.1); }
.admin-wrapper .pagination { display:flex; justify-content:center; gap:5px; margin-top:20px; }
.admin-wrapper .pagination a, .admin-wrapper .pagination span { display:inline-block; padding:8px 14px; border:1px solid #ddd; border-radius:3px; text-decoration:none; color:#555; }
.admin-wrapper .pagination a:hover { background:#e4393c; color:#fff; border-color:#e4393c; }
.admin-wrapper .pagination .current { background:#e4393c; color:#fff; border-color:#e4393c; }
.admin-wrapper .search-box { display:flex; gap:10px; margin-bottom:20px; }
.admin-wrapper .search-box input { flex:1; padding:10px 15px; border:1px solid #ddd; border-radius:5px; }
.admin-wrapper .search-box button { padding:10px 25px; background:#e4393c; color:#fff; border:none; border-radius:5px; cursor:pointer; }
