:root {
    --primary: #2563eb;
    --primary-soft: #eef5ff;
    --primary-light: #f6f9ff;
    --text: #101a34;
    --muted: #70809b;
    --line: #e7edf5;
    --line-soft: #eef3f8;
    --bg: #f5f8fc;
    --card: #ffffff;
    --danger: #ef4444;
    --warning: #b7791f;
    --success: #16a34a;
    --shadow: 0 14px 34px rgba(24, 52, 98, .06);
    --shadow-soft: 0 8px 22px rgba(24, 52, 98, .045);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

.page {
    width: 100%;
    background: radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .035), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(14, 165, 233, .035), transparent 22%),
    var(--bg);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

/* 查询头部 */
.query-hero {
    padding: 150px 0 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(245, 248, 252, .92)),
    radial-gradient(circle at 26% 20%, rgba(37, 99, 235, .07), transparent 28%),
    radial-gradient(circle at 74% 18%, rgba(14, 165, 233, .06), transparent 26%);
    border-bottom: 1px solid var(--line-soft);
}

.hero-inner {
    text-align: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e3ebf6;
    color: #5c6f8e;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(24, 52, 98, .04);
    margin-bottom: 16px;
}

.hero-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 900;
    color: #111b32;
    letter-spacing: -.6px;
}

.hero-desc {
    margin: 12px 0 0;
    font-size: 15px;
    color: #6f7f9a;
    line-height: 1.75;
}

.query-card {
    width: 700px;
    margin: 28px auto 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #e5edf7;
    box-shadow: 0 12px 32px rgba(24, 52, 98, .07);
}

.query-form {
    display: grid;
    grid-template-columns: 126px 1fr 106px;
    gap: 10px;
    align-items: center;
}

.query-select,
.query-input {
    height: 44px;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    background: #fff;
    outline: none;
    color: #26344d;
    font-size: 14px;
    transition: all .18s ease;
}

.query-select {
    padding: 0 12px;
}

.query-input {
    padding: 0 14px;
}

.query-select:focus,
.query-input:focus {
    border-color: #91b7ff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.query-button {
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .16);
    transition: all .18s ease;
}

.query-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, .2);
}

/* 主体 */
.result-main {
    padding: 34px 0 72px;
}

.result-layout {
    width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.panel {
    position: relative;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* .panel::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .86), rgba(80, 170, 255, .76));
} */

.panel-header {
    min-height: 62px;
    padding: 17px 20px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #edf2f8;
    color: #1c2c45;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    color: #17243b;
}

.panel-title-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--primary);
    border: 1px solid #dce8fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
}

.panel-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body {
    padding: 20px 20px 22px;
}

.btn-soft,
.btn-danger,
.btn-primary-small {
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    transition: all .18s ease;
}

.btn-soft {
    background: #f8fbff;
    border-color: #dce7f6;
    color: var(--primary);
}

.btn-soft:hover {
    background: #eef5ff;
}

.btn-danger {
    background: #fff5f5;
    border-color: #ffd9db;
    color: #e45055;
}

.btn-danger:hover {
    background: #ffecec;
}

.btn-primary-small {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .15);
}

.btn-primary-small:hover {
    background: #1f58d8;
}

.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.status-pill {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid #e4ebf5;
    background: #fbfdff;
    color: #52657f;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .1);
}

.status-dot.blue {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
}

.info-item {
    padding: 13px 0;
    border-bottom: 1px solid #eef3fa;
}

.info-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    font-size: 12px;
    color: #8a9ab3;
    line-height: 1;
}

.info-label::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b9c7d8;
}

.info-value {
    font-size: 15px;
    color: #1c2d48;
    font-weight: 800;
    line-height: 1.55;
    word-break: break-all;
}

.info-value.em {
    color: var(--primary);
}

.code-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-row {
    border: 1px solid #e8eef6;
    background: #fcfdff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all .18s ease;
}

.code-row:hover {
    border-color: #d7e4f6;
    background: #f9fbff;
}

.code-left {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-index {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid #dce8fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
}

.code-text {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 15px;
    font-weight: 900;
    color: #1f2f49;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-button {
    height: 30px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid #dce7f6;
    background: #fff;
    color: #5d6f8c;
    font-size: 12px;
    font-weight: 800;
    transition: all .18s ease;
}

.copy-button:hover {
    color: var(--primary);
    background: #f3f8ff;
}

.remark-box,
.notice-box {
    margin-top: 14px;
    border-radius: 14px;
    padding: 14px 16px;
    line-height: 1.8;
}

.remark-box {
    border: 1px solid #e8eef6;
    background: #f9fbff;
    color: #5f6f89;
    font-size: 14px;
}

.remark-box strong {
    color: #27364f;
}

.notice-box {
    border: 1px solid #f2e6b8;
    background: #fffbed;
    color: #8c6a10;
    font-size: 13px;
}

.card-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-intro {
    margin-bottom: 13px;
    font-size: 13px;
    color: #7c8ca5;
    line-height: 1.7;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    position: relative;
    padding: 9px 0 9px 24px;
    border-bottom: 1px dashed #edf2f8;
    color: #5a6e8c;
    font-size: 14px;
    line-height: 1.75;
}

.tips-list li:last-child {
    border-bottom: 0;
}

.tips-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f3f8ff;
    border: 1px solid #dce8fb;
}

.tips-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 20px;
    width: 4px;
    height: 7px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
}

.support-panel {
    padding: 30px 20px 32px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .96)),
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, .08), transparent 35%);
}

.support-title {
    margin: 0;
    color: #17243b;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.35;
}

.support-desc {
    margin: 12px 0 0;
    color: #7b8aa2;
    font-size: 14px;
    line-height: 1.8;
}

.support-action {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 238px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(37, 99, 235, .16);
    transition: all .18s ease;
}

.support-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(37, 99, 235, .2);
}

/* 投诉查询样式 */
.tousu {
    display: none;
}

/* 空查询提示 */
.q-invalid {
    text-align: center;
    padding: 60px 20px;
}

.q-invalid-bd {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.q-invalid-bd i {
    font-size: 48px;
    color: #ef4444;
}

.q-invalid-bd p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.notice-box-query {
    width: 100%;
    /* max-width: 700px; */
    margin: 0 auto;
    padding: 20px 6px;
    /* background: #f8fbff;
    border: 1px solid #d9e8ff; */
    /* border-radius: 10px; */
    box-sizing: border-box;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1677ff;
    font-size: 14px;
    line-height: 1.8;
    flex-wrap: wrap;
    justify-content: center;
}

.notice-icon {
    width: 30px;
    height: 30px;
    color: #1677ff;
    fill: currentColor;
}

.notice-title {
    color: #1677ff;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 14px;
    font-size: 16px;
}

.notice-text {
    color: #42526e;
    min-width: 240px;
    word-break: break-all;
}

.fangpian {
    color: #42526e;
    text-align: center;
    font-size: 14px;
}

/* 顶部导航：简约投诉/查单页同款 */
.qcy-simple-header {
    height: 74px;
    background: #ffffff;
    border-bottom: 1px solid #e8edf5;
    box-shadow: 0 2px 12px rgba(15, 35, 70, .03);
    position: sticky;
    top: 0;
    z-index: 50;
}

.qcy-simple-header-inner {
    width: var(--container);
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qcy-simple-logo {
    width: 170px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.qcy-simple-logo img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.qcy-simple-logo-fallback {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 900;
    color: #101a34;
}

.qcy-simple-logo-fallback span {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #2563eb;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.qcy-simple-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 22px;
}

.qcy-report-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    transition: color .2s ease;
}

.qcy-report-link:hover {
    color: #2563eb;
}

.qcy-report-link svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .72;
}

.qcy-simple-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.qcy-simple-btn {
    height: 40px;
    padding: 0 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.qcy-simple-btn:hover {
    transform: translateY(-1px);
}

.qcy-simple-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qcy-simple-btn.help {
    background: #f7faff;
    border-color: #dfe8f5;
    color: #2d3c55;
    box-shadow: 0 6px 14px rgba(20, 48, 96, .045);
}

.qcy-simple-btn.help:hover {
    background: #eef5ff;
    border-color: #cfe0fb;
    color: #2563eb;
    box-shadow: 0 9px 18px rgba(37, 99, 235, .08);
}

.qcy-simple-btn.complaint {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.qcy-simple-btn.complaint:hover {
    background: #1f58d8;
    border-color: #1f58d8;
    box-shadow: 0 12px 22px rgba(37, 99, 235, .22);
}

/* 响应式 */
@media (max-width: 992px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .query-card {
        width: 100%;
        max-width: 700px;
    }

    .query-form {
        grid-template-columns: 1fr;
    }

    .result-layout {
        width: 100%;
        padding: 0 20px;
    }

    .order-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}
