/* ===== 全国最低工资标准查询工具 共享样式 (mw) ===== */

.mw-page { max-width: 1200px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start; padding: 0; box-sizing: border-box; }
.mw-main { flex: 1; min-width: 0; }
.mw-sidebar { width: 300px; flex-shrink: 0; }
.mw-list-page { max-width: 1200px; margin: 0 auto; padding: 0; box-sizing: border-box; }

/* 标题区 */
.mw-header { background: linear-gradient(135deg, #1890ff 0%, #0056b3 100%); color: #fff; padding: 30px 20px; border-radius: 12px 12px 0 0; text-align: center; margin-bottom: 16px; }
.mw-header h1 { font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.mw-header p { font-size: 14px; opacity: 0.9; }

/* 卡片与标题 */
.mw-card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.mw-card-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid #1890ff; display: flex; align-items: center; justify-content: space-between; }
.mw-title-more { font-size: 13px; font-weight: 400; }
.mw-title-more a { color: #666; text-decoration: none; }
.mw-intro { color: #666; line-height: 1.9; font-size: 14px; }
.mw-intro p { margin: 0; }
.mw-intro p + p { margin-top: 10px; }
.mw-excluded { background: #fff7e6; border-radius: 8px; padding: 14px 16px; }
.mw-note { font-size: 12px; color: #999; margin: 12px 0 0; line-height: 1.6; }

/* 行政区按钮 */
.mw-region-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-region-btn { display: inline-block; padding: 8px 16px; background: #f0f7ff; color: #333; border-radius: 20px; text-decoration: none; font-size: 14px; transition: all 0.2s; border: 1px solid #d9e8f7; }
.mw-region-btn:hover { background: #1890ff; color: #fff; border-color: #1890ff; }

/* 排名表 */
.mw-rank-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mw-rank-table th, .mw-rank-table td { padding: 11px 10px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.mw-rank-table th { background: #f8f9fa; color: #666; font-weight: 500; white-space: nowrap; }
.mw-rank-table tbody tr:hover td { background: #f8fbff; }
.mw-rank-table .col-rank { text-align: center; }
.mw-rank-table .col-num { text-align: center; white-space: nowrap; }
.mw-strong { font-weight: 600; color: #e65100; }
.mw-muted { color: #999; font-size: 13px; }
.mw-link { color: #1890ff; text-decoration: none; }
.mw-link:hover { text-decoration: underline; }
.mw-rank-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 5px; background: #f0f2f5; color: #666; border-radius: 6px; font-size: 13px; }
.mw-rank-badge.top { background: #1890ff; color: #fff; font-weight: 600; }
.mw-tier { display: inline-block; padding: 1px 8px; background: #fff3e0; color: #e65100; border-radius: 4px; font-size: 12px; }

/* 省/市最低工资标准一览表（按档次） */
.mw-tier-list-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.mw-tier-list-table th, .mw-tier-list-table td { padding: 11px 10px; text-align: center; border: 1px solid #d9d9d9; vertical-align: middle; }
.mw-tier-list-table th { background: #f8f9fa; color: #555; font-weight: 600; }
.mw-tier-list-table tbody tr:hover td { background: #f8fbff; }
.mw-area-group { display: block; line-height: 1.9; }
.mw-area-label { color: #666; }

/* 一览表底部入口（与表格相连的按钮） */
.mw-table-more { display: block; text-align: center; padding: 13px 12px; background: #e6f4ff; color: #1890ff; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid #d9d9d9; border-top: 0; border-radius: 0 0 8px 8px; }
.mw-table-more:hover { background: #d6eaff; color: #0056b3; text-decoration: none; }
.mw-table-more .mw-more-arrow { font-size: 13px; margin-left: 2px; font-weight: 400; }

/* 搜索框 */
.mw-search { position: relative; }
.mw-search-input { width: 100%; padding: 12px 16px; border: 1px solid #d9d9d9; border-radius: 8px; font-size: 15px; box-sizing: border-box; }
.mw-search-input::placeholder { color: #bbb; }
.mw-search-input:focus { outline: none; border-color: #1890ff; box-shadow: 0 0 0 2px rgba(24,144,255,0.15); }
.mw-search-suggest { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12); z-index: 100; max-height: 320px; overflow-y: auto; margin-top: 4px; }
.mw-suggest-item { display: block; padding: 10px 16px; font-size: 14px; color: #333; text-decoration: none; border-bottom: 1px solid #f5f5f5; }
.mw-suggest-item:last-child { border-bottom: none; }
.mw-suggest-item:hover { background: #f0f7ff; color: #1890ff; }
.mw-suggest-type { font-size: 12px; color: #999; margin-left: 8px; }

/* 右侧其它工具 */
.mw-tools { display: flex; flex-direction: column; gap: 8px; }
.mw-tool-item { display: flex; align-items: center; padding: 10px 12px; background: #f8f9fa; border-radius: 8px; text-decoration: none; transition: all 0.2s; }
.mw-tool-item:hover { background: #e8f4ff; }
.mw-tool-icon { width: 32px; height: 32px; margin-right: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.mw-tool-icon img { width: 100%; height: 100%; object-fit: contain; }
.mw-tool-name { color: #333; font-size: 14px; }
.mw-tool-item:hover .mw-tool-name { color: #1890ff; }
.mw-list-link { display: block; color: #1890ff; text-decoration: none; font-size: 14px; padding: 4px 0; }
.mw-list-link:hover { text-decoration: underline; }

/* 区县详情页 hero */
.mw-hero-card { padding: 0; overflow: hidden; }
.mw-hero-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mw-hero-item { padding: 24px 20px; text-align: center; }
.mw-hero-item:first-child { background: #e6f4ff; border-right: 1px solid #d9e8f7; }
.mw-hero-label { font-size: 13px; color: #666; margin-bottom: 8px; }
.mw-hero-value { font-size: 30px; font-weight: 700; color: #e65100; line-height: 1.2; }
.mw-hero-value span { font-size: 14px; font-weight: 400; color: #999; }
.mw-rank-strip { display: flex; border-top: 1px solid #f0f0f0; }
.mw-rank-strip > div { flex: 1; text-align: center; padding: 14px 0; }
.mw-rank-strip-label { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
.mw-rank-strip strong { font-size: 18px; color: #1890ff; }
.mw-tier-line { padding: 10px 20px 16px; text-align: center; font-size: 13px; color: #666; }

/* 详情信息列表 */
.mw-info-list { }
.mw-info-item { display: flex; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.mw-info-item:last-child { border-bottom: none; }
.mw-info-item-top { align-items: flex-start; }
.mw-info-label { color: #666; width: 120px; flex-shrink: 0; }
.mw-info-value { color: #333; flex: 1; }
.mw-wrap { white-space: pre-wrap; word-break: break-word; line-height: 1.8; }

/* 筛选栏 */
.mw-filter-card { padding: 16px 20px; }
.mw-filter-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.mw-filter-group { display: flex; flex-direction: column; gap: 6px; }
.mw-filter-group label { font-size: 13px; color: #666; }
.mw-filter-group select { padding: 9px 32px 9px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; background: #fff; color: #333; }
.mw-filter-group select:focus { outline: none; border-color: #1890ff; }
.mw-reset { color: #1890ff; text-decoration: none; font-size: 14px; padding: 9px 4px; }
.mw-reset:hover { text-decoration: underline; }
.mw-table-wrap { overflow-x: auto; }
.mw-full-table { min-width: 720px; }
.mw-empty { text-align: center; color: #999; padding: 40px 0; font-size: 14px; }

/* FAQ 折叠 —— 配色/字号与工具其它板块统一：标题与序号#333、正文#666/14px/1.9 */
.mw-faq .faq-item { border-bottom: 1px solid #f0f0f0; }
.mw-faq .faq-item:last-child { border-bottom: none; }
.mw-faq .faq-q { width: 100%; text-align: left; background: none; border: none; padding: 14px 4px; font-size: 15px; font-weight: 600; color: #333; font-family: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; line-height: 1.6; transition: color .2s; }
.mw-faq .faq-q-text { flex: 1 1 auto; min-width: 0; }
.mw-faq .faq-num { color: #333; font-weight: 600; margin-right: 2px; }
.mw-faq .faq-da { color: #333; font-weight: 600; }
.mw-faq .faq-q:hover { color: #1890ff; }
.mw-faq .faq-arrow { flex-shrink: 0; color: #1890ff; font-size: 13px; transition: transform .2s; line-height: 1.6; margin-top: 2px; }
.mw-faq .faq-item.open .faq-arrow { transform: rotate(180deg); }
.mw-faq .faq-a { display: none; padding: 0 4px 16px; }
.mw-faq .faq-item.open .faq-a { display: block; }
.mw-faq .faq-a, .mw-faq .faq-a p { line-height: 1.9; color: #666; font-size: 14px; }
.mw-faq .faq-a p { margin: 4px 0; }
.mw-faq .faq-a a { color: #1890ff; text-decoration: none; }
.mw-faq .faq-a a:hover { text-decoration: underline; }
.mw-card-title .mw-title-more a { color: #666; text-decoration: none; font-size: 13px; font-weight: 400; }
.mw-card-title .mw-title-more a:hover { color: #1890ff; }

/* 首页常见问题：每行 2 问，共 4 行 */
.mw-faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.mw-faq-cols .faq-item { min-width: 0; border-bottom: 1px solid #f0f0f0; }
.mw-faq-cols .faq-item:nth-last-child(-n+2) { border-bottom: none; }
.mw-faq-cols .faq-q { font-size: 14px; padding: 12px 2px; color: #333; }
.mw-faq-cols .faq-a, .mw-faq-cols .faq-a p { font-size: 13px; line-height: 1.85; padding-bottom: 12px; color: #666; }
.mw-faq-cols .faq-a p { padding-bottom: 0; }

/* 按钮 */
.mw-btn-primary { display: inline-block; padding: 10px 24px; background: #1890ff; color: #fff; border-radius: 6px; text-decoration: none; font-size: 14px; }
.mw-btn-primary:hover { background: #40a9ff; }

/* 响应式 */
@media (max-width: 900px) {
    .mw-sidebar { width: 260px; }
}
@media (max-width: 768px) {
    .mw-page { display: block; padding: 0 15px; }
    .mw-main { width: 100%; }
    .mw-sidebar { width: 100%; margin-top: 16px; }
    .mw-header { padding: 20px 15px; border-radius: 12px; }
    .mw-header h1 { font-size: 22px; }
    .mw-card { padding: 16px; }
    .mw-card-title { font-size: 16px; }
    .mw-region-btn { padding: 6px 12px; font-size: 13px; }
    .mw-rank-table { font-size: 13px; }
    .mw-rank-table th, .mw-rank-table td { padding: 9px 6px; }
    .mw-hero-value { font-size: 24px; }
    .mw-info-label { width: 90px; }
    .mw-faq .faq-q { font-size: 14px; padding: 14px 2px; }
    .mw-faq-cols { grid-template-columns: 1fr; }
}
