/* ============================================================
   网站收录批量查询 - 前台样式（页面宽度1600px，黑体）
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "SimHei", "黑体", "Microsoft YaHei", sans-serif;
    background: #f0f4f9;
    color: #333;
    min-width: 1600px;
}

.container { width: 1600px; margin: 0 auto; }

a { text-decoration: none; color: inherit; }

/* ---------- 第一行：顶部欢迎条 30px ---------- */
.top-bar {
    background: linear-gradient(90deg, #0f1c33, #16294a);
    color: #c9d6ec;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}
.top-bar-inner { width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; }
.top-right a { color: #7fb0ff; margin: 0 6px; }
.top-right a:hover { color: #fff; }
.top-right i { color: #3a4f75; font-style: normal; }
.top-user { color: #ffd06b; margin-right: 6px; }

/* ---------- 第二行：LOGO + 广告位 ---------- */
.logo-row { background: #fff; border-bottom: 1px solid #e6ecf3; }
.logo-row-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 52px; }
.logo-ico {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    font-size: 28px; background: linear-gradient(135deg, #2563eb, #4f8cff);
    border-radius: 8px; color: #fff;
}
.logo-txt { font-size: 30px; font-weight: bold; color: #16294a; letter-spacing: 2px; }
.ad-slots { display: flex; gap: 12px; }
.ad-slot {
    width: 340px; height: 70px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #eef3fb, #dde7f6); border: 1px dashed #b8c9e2;
    border-radius: 8px; color: #7f93b3; font-size: 14px; overflow: hidden;
}
.ad-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 第三行：全屏通栏导航 60px ---------- */
.nav-bar {
    background: linear-gradient(90deg, #1d4ed8, #2563eb 55%, #3b82f6);
    height: 60px;
    box-shadow: 0 2px 8px rgba(29, 78, 216, .35);
}
.nav-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-left { display: flex; height: 60px; }
.nav-item {
    display: flex; align-items: center; gap: 7px; height: 60px; padding: 0 26px;
    color: #dbeafe; font-size: 16px; transition: all .2s;
}
.nav-item:hover, .nav-item.active { background: rgba(255, 255, 255, .16); color: #fff; }
.nav-ico { font-size: 17px; }
.vip-btn {
    height: 38px; line-height: 38px; padding: 0 26px; border-radius: 19px;
    background: linear-gradient(90deg, #ff9500, #ffb648); color: #fff;
    font-size: 15px; font-weight: bold; box-shadow: 0 2px 8px rgba(255, 149, 0, .45);
}
.vip-btn:hover { background: linear-gradient(90deg, #ffa61f, #ffc25e); }

/* ---------- 首页主体 ---------- */
.main { width: 1600px; margin: 20px auto 30px; }
.card {
    background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(22, 41, 74, .08);
    margin-bottom: 20px; overflow: hidden;
}
.card-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; border-bottom: 1px solid #eef2f8;
}
.card-title { font-size: 16px; color: #16294a; font-weight: bold; }
.card-title .sub { font-size: 12px; color: #8ca0bd; font-weight: normal; margin-left: 8px; }

/* 第一行：输入框 */
.query-box { position: relative; padding: 20px; }
#domainInput {
    width: 100%; height: 140px; padding: 12px 14px 40px; resize: vertical;
    border: 1px solid #ccd8ea; border-radius: 8px; font-family: inherit; font-size: 14px;
    line-height: 24px; color: #333; outline: none; background: #fbfdff;
}
#domainInput:focus { border-color: #2563eb; background: #fff; }
.query-btns { position: absolute; right: 62px; bottom: 32px; display: flex; align-items: center; gap: 10px; }
.line-counter {
    height: 34px; line-height: 32px; padding: 0 16px; border-radius: 17px;
    background: #eef4ff; border: 1px solid #cfe0fb; color: #2563eb;
    font-size: 13px; white-space: nowrap;
}
.btn-clear {
    height: 34px; padding: 0 20px; border: none; border-radius: 6px; cursor: pointer;
    background: #b6c2d4; color: #fff; font-family: inherit; font-size: 14px;
}
.btn-clear:hover { background: #a2b0c5; }
.btn-go {
    height: 34px; padding: 0 24px; border: none; border-radius: 6px; cursor: pointer;
    background: linear-gradient(90deg, #2563eb, #3b82f6); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: bold;
    box-shadow: 0 2px 6px rgba(37, 99, 235, .35);
}
.btn-go:hover { background: linear-gradient(90deg, #1d4ed8, #2f6fed); }
.query-tip { padding: 0 20px 12px; font-size: 12px; color: #8ca0bd; }

/* 第二行：查询项选择 */
.fields-body { padding: 14px 20px 18px; }
.field-group { display: flex; padding: 10px 0; border-bottom: 1px dashed #eef2f8; }
.field-group:last-child { border-bottom: none; }
.group-tag {
    flex: 0 0 130px; display: flex; align-items: flex-start; gap: 6px;
    font-size: 15px; font-weight: bold; color: #16a34a; padding-top: 2px;
}
.group-tag .g-ico { font-size: 16px; }
.fields-list { flex: 1; display: flex; flex-wrap: wrap; }
.field-item {
    width: 16.66%; display: flex; align-items: center; gap: 6px;
    height: 32px; font-size: 13px; color: #4b5c77; cursor: pointer; user-select: none;
}
.field-item input { width: 15px; height: 15px; accent-color: #2563eb; cursor: pointer; }
.field-item.c-green { color: #16a34a; }
.field-item.c-green input { accent-color: #16a34a; }
.field-item.c-blue { color: #2563eb; }
.field-item.c-blue input { accent-color: #2563eb; }
.hot-tag {
    background: #ef4444; color: #fff; font-size: 11px; line-height: 16px;
    padding: 0 5px; border-radius: 3px; margin-left: 2px;
}
.btn-save {
    height: 30px; padding: 0 18px; border: none; border-radius: 6px; cursor: pointer;
    background: #2563eb; color: #fff; font-family: inherit; font-size: 13px;
}
.btn-save:hover { background: #1d4ed8; }
.btn-line {
    background: #fff; color: #2563eb; border: 1px solid #9dbcf5; margin-right: 8px;
    padding: 0 14px;
}
.btn-line:hover { background: #eff5ff; border-color: #2563eb; }
.save-msg { font-size: 12px; color: #16a34a; margin-right: 10px; opacity: 0; transition: opacity .3s; }

/* 第三行：结果表格 */
.result-body { padding: 0 0 6px; }
.result-empty { padding: 46px 0; text-align: center; color: #9fb0c9; font-size: 14px; }
.table-wrap { max-height: 620px; overflow: auto; }
table.result {
    width: 100%; border-collapse: collapse; font-size: 13px; table-layout: auto;
}
table.result th, table.result td {
    border-bottom: 1px solid #eef2f8; border-right: 1px solid #f3f6fb;
    padding: 9px 12px; text-align: left; white-space: nowrap; max-width: 320px;
    overflow: hidden; text-overflow: ellipsis;
}
table.result th {
    background: #f2f6fc; color: #16294a; font-weight: bold; font-size: 13px;
    position: sticky; top: 0; z-index: 2;
}
table.result tr:hover td { background: #f8fbff; }
table.result td.dom { color: #2563eb; font-weight: bold; }
table.result td.err { color: #ef4444; }
table.result td.td-wrap { white-space: normal; word-break: break-all; max-width: 340px; }
.qz-badge {
    display: inline-block; min-width: 30px; text-align: center; padding: 1px 6px;
    border-radius: 4px; background: #2563eb; color: #fff; font-size: 12px; font-weight: bold;
}
.loading-tip { padding: 26px 0 30px; text-align: center; color: #2563eb; font-size: 14px; }

/* ---------- 公共底部 ---------- */
.footer {
    background: #16294a; color: #8fa3c4; text-align: center;
    padding: 24px 0 26px; line-height: 30px; font-size: 13px;
}
.footer-line a { color: #7fb0ff; }

/* ---------- 登录注册 ---------- */
.auth-wrap { width: 420px; margin: 60px auto; }
.auth-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(22,41,74,.1); padding: 34px 36px; }
.auth-card h2 { font-size: 22px; color: #16294a; text-align: center; margin-bottom: 24px; }
.auth-card label { display: block; font-size: 14px; color: #4b5c77; margin: 14px 0 6px; }
.auth-card input {
    width: 100%; height: 40px; padding: 0 12px; border: 1px solid #ccd8ea;
    border-radius: 6px; font-family: inherit; font-size: 14px; outline: none;
}
.auth-card input:focus { border-color: #2563eb; }
.btn-submit {
    width: 100%; height: 42px; margin-top: 24px; border: none; border-radius: 6px;
    background: linear-gradient(90deg, #2563eb, #3b82f6); color: #fff;
    font-family: inherit; font-size: 16px; cursor: pointer;
}
.auth-foot { text-align: center; margin-top: 16px; font-size: 13px; color: #8ca0bd; }
.auth-foot a { color: #2563eb; }
.msg-err { margin-top: 14px; text-align: center; color: #ef4444; font-size: 13px; }
