/* ==========================================================================
   跨运帮首页专属样式 (homepage.css)
   仅用于 HomeNew.razor 新首页（独立布局，不依赖 Userlayout）
   设计参考：deepseek_html_20260814_b25fe1.html 静态页面
   ========================================================================== */

/* ==================== CSS 变量 ==================== */
/* 主题体系（2026-09 主题色调整）：深灰蓝 #2F3847 + 品牌金 #E8A33D */
:root {
    --hp-dark: #2f3847;
    --hp-dark-2: #5c3a4a;
    --hp-primary: #e8a33d; /*金色*/
    /*--hp-primary: #86b7fe; */ /*蓝色*/
    --hp-primary-deep: #a8741a;
    --hp-text: #2d3748;
    --hp-muted: #6c757d;
    --hp-border: #e9ecef;
    --hp-radius: 14px;
}

/* ==================== 页面整体 ==================== */
.hp-page {
    background-color: #f5f6f7;
    font-family: 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    color: var(--hp-text);
}

/* ==================== 顶部导航栏 ==================== */
/*.hp-nav { border-bottom: 1px solid var(--hp-border); }*/
.hp-nav-logo {
    height: 25px;
}

.hp-nav-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-nav-links .nav-link {
    font-size: .95rem;
    color: #B8C2CE;
    padding-left: .9rem;
    padding-right: .9rem;
}

    .hp-nav-links .nav-link:hover {
        color: #fff;
    }

    .hp-nav-links .nav-link.active {
        color: #fff;
        font-weight: 600;
        border-bottom: 3px solid #E8A33D;
    }
/*.hp-nav-links .nav-link i { color: #fff;}*/


/* ==================== HERO 区域 ==================== */
.hp-hero-section {
    background: linear-gradient(135deg, #2F3847 0%, #5C3A4A 100%);
    padding: 1.0rem 0 1.5rem 0;
    color: #fff;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 1rem;
    position: relative;
    /* 注意：不能用 overflow:hidden，否则会裁剪 BootstrapBlazor Select 下拉列表 */
}
/* 装饰光斑（单独裁剪层，不影响下拉菜单） */
.hp-hero-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0 0 3rem 3rem;
    pointer-events: none;
}

    .hp-hero-decor::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 500px;
        height: 500px;
        background: rgba(232, 163, 61, 0.10);
        border-radius: 50%;
    }

.hp-hero-inner {
    position: relative;
    z-index: 1;
}

.hp-hero-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    margin-bottom: .35rem;
    letter-spacing: 1px;
}

.hp-hero-lead {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    opacity: .85;
    margin-bottom: .6rem;
}
/* 信任徽章（Hero 内，药丸样式） */
.hp-trust-badge {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem;
    margin-top: .4rem;
}

    .hp-trust-badge span {
        font-size: .85rem;
        color: #e2e4e9;
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 2rem;
        padding: .3rem .85rem;
        display: inline-flex;
        align-items: center;
    }

    .hp-trust-badge i {
        color: #e8a33d;
        margin-right: 5px;
    }

/* ==================== 查询卡片（Hero 内白色卡片） ==================== */
.hp-search-card {
    background: rgba(255, 255, 255, .98);
    border-radius: 1.5rem;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(4px);
    /* 锚点滚动时预留 sticky 导航栏高度，避免卡片顶部被遮挡 */
    scroll-margin-top: 80px;
    /* 关键：Hero 的 color:#fff 会级联进来，必须显式重置为深色，否则表单 label 等文字看不见 */
    color: #212529;
}

    .hp-search-card label {
        color: #212529;
    }

    .hp-search-card .form-text,
    .hp-search-card .text-muted {
        color: #6c757d !important;
    }

.hp-search-title {
    font-weight: 700;
    color: var(--hp-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    align-items: center;
}

    .hp-search-title i {
        color: var(--hp-primary);
    }

/* ==================== 查询方式切换 Tab（按条件 / 全地址） ==================== */
.hp-query-tabs {
    border-bottom: 2px solid var(--hp-border);
    margin-bottom: .25rem;
    gap: .25rem;
}

    .hp-query-tabs .nav-link {
        border: none;
        border-bottom: 3px solid transparent;
        background: transparent;
        color: var(--hp-muted);
        font-weight: 600;
        padding: .6rem 1.1rem;
        border-radius: .5rem .5rem 0 0;
        transition: color .2s, background-color .2s, border-color .2s;
    }

        .hp-query-tabs .nav-link i {
            color: var(--hp-muted);
            transition: color .2s;
        }

        .hp-query-tabs .nav-link:hover {
            color: var(--hp-dark);
            background: transparent;
        }

            .hp-query-tabs .nav-link:hover i {
                color: var(--hp-dark);
            }

        .hp-query-tabs .nav-link.active {
            color: var(--hp-dark);
            border-bottom-color: var(--hp-dark);
            background: transparent;
        }

            .hp-query-tabs .nav-link.active i {
                color: var(--hp-dark);
            }
/* Tab 标题「新」角标（红色） */
.hp-tab-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: .4rem;
    padding: .05rem .4rem;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .5px;
    color: #fff;
    background: linear-gradient(135deg, #e64c4c, #d64545);
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(214, 69, 69, .35);
}

/* 彩色图标色：提升到 :root，供首页两个查询表单的 .aqp-ic-* 全局复用 */
:root {
    --aqp-gold: #d98b2b;
    --aqp-blue: #2f6bb5;
    --aqp-teal: #12a29b;
    --aqp-orange: #e2703a;
    --aqp-purple: #6f5bd0;
    --aqp-green: #2e9e6b;
    --aqp-red: #d64545;
}
/* ==================== 全地址查询面板（AddressQueryPanel）现代化重构 ==================== */
.aqp {
    --aqp-accent: #2f6bb5;
    --aqp-accent-deep: #245a9c;
    --aqp-ink: #1f2733;
    --aqp-body: #2d3748;
    --aqp-border: #cfd8e3;
    --aqp-border-strong: #b7c3d2;
    --aqp-soft: #f4f7fb;
}

.aqp-ic-gold {
    color: var(--aqp-gold);
}

.aqp-ic-blue {
    color: var(--aqp-blue);
}

.aqp-ic-teal {
    color: var(--aqp-teal);
}

.aqp-ic-orange {
    color: var(--aqp-orange);
}

.aqp-ic-purple {
    color: var(--aqp-purple);
}

.aqp-ic-green {
    color: var(--aqp-green);
}

.aqp-ic-red {
    color: var(--aqp-red);
}

/* ---- Hero 输入区（已去除顶部文字，仅保留输入框与示例） ---- */
.aqp-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
    /*border: 1px solid var(--aqp-border);*/
    border-radius: 18px;
    padding: 1.4rem 1.5rem 1.2rem;
    box-shadow: 0 6px 20px rgba(47, 56, 71, .05);
}
/* Hero 输入框/按钮改用 AddCode 同款 .input-group-lg + .btn-theme（样式复用全局，无需单独定义） */

/* ---- 示例胶囊 ---- */
.aqp-examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
}

.aqp-ex-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--aqp-body);
}

    .aqp-ex-label i {
        color: var(--aqp-gold);
    }
/* 示例胶囊改用热门示例同款 .hp-hot-badge（样式复用全局） */

/* ---- 三步流程引导 ---- */
.aqp-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.aqp-flow-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    background: #fff;
    /*border: 1px solid var(--aqp-border); 
    border-radius: 16px;*/
    padding: 1.15rem 1.1rem;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

    .aqp-flow-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(47, 56, 71, .1);
        border-color: var(--aqp-border-strong);
    }

.aqp-flow-idx {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    letter-spacing: .5px;
    box-shadow: 0 5px 12px rgba(47, 56, 71, .18);
}

.aqp-flow-item:nth-child(1) .aqp-flow-idx {
    background: linear-gradient(135deg, #2f6bb5, #4a8ad8);
}

.aqp-flow-item:nth-child(2) .aqp-flow-idx {
    background: linear-gradient(135deg, #12a29b, #29c3ba);
}

.aqp-flow-item:nth-child(3) .aqp-flow-idx {
    background: linear-gradient(135deg, #d98b2b, #eab04a);
}

.aqp-flow-body b {
    display: block;
    color: var(--aqp-ink);
    font-size: .96rem;
    margin-bottom: .25rem;
}

.aqp-flow-body span {
    display: block;
    color: #5a6675;
    font-size: .82rem;
    line-height: 1.5;
}

/* ---- 确认结果区 ---- */
.aqp-result {
    margin-top: 1rem;
    margin-bottom: 0.6rem;
    background: #fff;
    /*border: 1px solid var(--aqp-border); border-radius: 18px;*/
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 1.5rem;
}

.aqp-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--aqp-border);
}

.aqp-result-title {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    color: var(--aqp-ink);
    font-size: 1.08rem;
}

    .aqp-result-title i {
        color: var(--aqp-green);
        font-size: 1.25rem;
    }

.aqp-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #eef2f7;
    border: 1px solid var(--aqp-border);
    color: var(--aqp-body);
    border-radius: 10px;
    padding: .45rem .95rem;
    font-size: .82rem;
    font-weight: 700;
    transition: all .18s;
}

    .aqp-ghost-btn:hover {
        background: #e3eaf3;
        color: var(--aqp-ink);
        border-color: var(--aqp-border-strong);
    }

    .aqp-ghost-btn i {
        font-size: .8rem;
    }

/* ---- 字段网格 ---- */
.aqp-fields {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem 1.2rem;
}

.aqp-field {
    grid-column: span 2;
    min-width: 0;
}

.aqp-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}

    .aqp-field-label > span {
        font-size: .87rem;
        font-weight: 700;
        color: var(--aqp-ink);
    }

        .aqp-field-label > span i {
            margin-right: .42rem;
        }

.aqp-tag {
    font-style: normal;
    font-size: .68rem;
    font-weight: 700;
    padding: .18rem .58rem;
    border-radius: 999px;
    white-space: nowrap;
}

.aqp-tag-ok {
    background: rgba(46, 158, 107, .15);
    color: #1c6e45;
}

.aqp-tag-info {
    background: rgba(47, 107, 181, .15);
    color: var(--aqp-accent-deep);
}

.aqp-tag-warn {
    background: rgba(214, 69, 69, .15);
    color: #b23030;
}

.aqp-tag-mute {
    background: #e6ebf2;
    color: #64707f;
}

.aqp-field .form-control, .aqp-control {
    height: 46px;
    border: 1.5px solid var(--aqp-border-strong);
    border-radius: 11px;
    font-size: .95rem;
    color: var(--aqp-ink);
    background: #fff;
    transition: border-color .18s, box-shadow .18s;
}

    .aqp-field .form-control:focus, .aqp-control:focus {
        border-color: var(--aqp-accent);
        box-shadow: 0 0 0 .2rem rgba(47, 107, 181, .16);
    }

    .aqp-field .form-control::placeholder {
        color: #8b97a7;
        opacity: 1;
    }

.aqp-field .select {
    width: 100%;
}

    .aqp-field .select .form-control {
        height: 46px;
    }

.aqp-field-action {
    display: flex;
    align-items: flex-end;
}

.aqp-confirm-btn {
    width: 100%;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, #2e9e6b, #258a5b);
    border: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 11px;
    transition: transform .12s, box-shadow .18s, opacity .2s;
}

    .aqp-confirm-btn:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(37, 138, 91, .4);
        color: #fff;
    }

    .aqp-confirm-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .aqp-confirm-btn:disabled {
        opacity: .5;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

    .aqp-confirm-btn i {
        margin-right: .1rem;
    }

/* ---- 提示条 ---- */
.aqp-alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    border-radius: 12px;
    padding: .5rem;
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.55;
    /*margin-top: 0.5rem;*/
    margin-bottom: 0.5rem;
}

    .aqp-alert i {
        margin-top: .12rem;
        font-size: .95rem;
        flex-shrink: 0;
    }

.aqp-alert-error {
    background: rgba(214, 69, 69, .1);
    color: #b23030;
    border: 1px solid rgba(214, 69, 69, .28);
}

.aqp-alert-warn {
    background: #fbf3e4;
    color: #8a5f14;
    border: 1px solid #eddcbb;
}

    .aqp-alert-warn i {
        color: var(--aqp-gold);
    }

.aqp-fineprint {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #74808f;
    font-size: .8rem;
    margin: 1.2rem 0 0;
}

    .aqp-fineprint i {
        color: var(--aqp-gold);
    }

/* ---- 响应式 ---- */
@media (max-width: 991.98px) {
    .aqp-fields {
        grid-template-columns: repeat(4, 1fr);
    }

    .aqp-field {
        grid-column: span 2;
    }

    .aqp-field-action {
        grid-column: span 4;
    }
}

@media (max-width: 767.98px) {
    .aqp-flow {
        grid-template-columns: 1fr;
    }

    .aqp-hero {
        padding: 1.3rem 1.2rem 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .aqp-fields {
        grid-template-columns: 1fr;
    }

    .aqp-field, .aqp-field-action {
        grid-column: span 1;
    }
}

/* 热门示例 badges（查询卡片内 + 邮编区块内共用） */
.hp-hot-examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
}

.hp-hot-badge {
    background: #f8f9fa;
    padding: .4rem 1rem;
    border-radius: 2rem;
    font-size: .85rem;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #dee2e6;
    transition: all .15s;
    color: #212529;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

    .hp-hot-badge:hover {
        background: var(--hp-dark);
        color: #fff;
        border-color: var(--hp-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(47, 56, 71, .3);
    }

/* 通用文字链接（替代 Bootstrap 默认蓝色 <a>） */
.hp-text-link {
    color: var(--hp-primary-deep);
    text-decoration: none;
}

    .hp-text-link:hover {
        color: #8a5f14;
        text-decoration: underline;
    }
/* 热门示例的闪电图标统一品牌金（覆盖 text-warning） */
.hp-hot-examples .text-warning {
    color: var(--hp-primary) !important;
}
/* 表单控件聚焦：金圈（替代 Bootstrap 默认蓝圈） */
.hp-page .form-control:focus,
.hp-page .form-select:focus {
    border-color: var(--hp-primary);
    box-shadow: 0 0 0 .25rem rgba(232, 163, 61, .22);
}

/* ==================== 区块标题 ==================== */
.hp-section-title {
    font-weight: 700;
    color: var(--hp-dark);
    margin-bottom: 1.5rem;
    position: relative;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

    .hp-section-title::after {
        content: '';
        display: block;
        width: 50px;
        height: 4px;
        background: var(--hp-dark);
        margin-top: 8px;
        border-radius: 2px;
    }

/* ==================== 快递商卡片（燃油速览） ==================== */
.hp-carrier-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 0.5rem;
    text-align: center;
    height: 100%;
    min-height: 240px;
    transition: all .2s;
    border: 1px solid var(--hp-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

    .hp-carrier-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
        border-color: var(--hp-primary);
        color: inherit;
    }

    .hp-carrier-card h5 {
        margin-bottom: .4rem;
    }
/* 卡片图标用各承运商品牌色（与结果表 hp-courier 色系一致） */
.hp-icon-fedex {
    color: #7d3fd1;
}

.hp-icon-ups {
    color: #6e4a3a;
}

.hp-icon-dhl {
    color: #d4a017;
}
/* 燃油徽章统一品牌金（覆盖 bg-warning） */
.hp-carrier-card .bg-warning {
    background-color: var(--hp-primary) !important;
}
/* 趋势面板内 DHL/FedEx/UPS 圆点使用各自品牌色（高于上方通用覆盖） */
.hp-carrier-card .hp-trend-panel .text-primary {
    color: #d40511 !important;
}

.hp-carrier-card .hp-trend-panel .text-warning {
    color: #4d148c !important;
}

.hp-carrier-card .hp-trend-panel .text-success {
    color: #b7791f !important;
}

/* ==================== 资讯卡片 ==================== */
.hp-blog-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.2rem;
    /* 注意：不能用 height:100%——卡片列被 flex 拉伸到与趋势面板同高后，
       每张卡片都会撑满列高，3 张卡片溢出覆盖趋势面板导致文字堆叠 */
    border-left: 4px solid var(--hp-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    transition: .2s;
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

    .hp-blog-card:hover {
        background: #fbf9f5;
        color: inherit;
    }

    .hp-blog-card .date {
        font-size: .75rem;
        color: var(--hp-muted);
    }

/* ==================== 燃油趋势面板 ==================== */
.hp-trend-panel {
    background: #fff;
    padding: 0.5rem;
    border-radius: .5rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

/* ==================== 常用货代工具卡片图标配色 ==================== */
.hp-tool-icon-fuel {
    color: #d40511;
}

.hp-tool-icon-postal {
    color: #2f80ed;
}

.hp-tool-icon-hotline {
    color: #27ae60;
}

.hp-tool-icon-parse {
    color: #7d3fd1;
}

/* ==================== 热门国家偏远列表静态内链 ==================== */
.hp-country-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
}

    .hp-country-links a {
        display: inline-flex;
        align-items: center;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 2rem;
        padding: .45rem 1.1rem;
        font-size: .9rem;
        color: #495057;
        text-decoration: none;
        transition: all .15s;
    }

        .hp-country-links a i {
            color: var(--hp-primary);
            margin-right: .4rem;
            font-size: .85rem;
        }

        .hp-country-links a .pc-flag {
            margin-right: .4rem;
            box-shadow: none;
        }

        .hp-country-links a:hover {
            background: var(--hp-dark);
            border-color: var(--hp-dark);
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(47, 56, 71, .25);
        }

            .hp-country-links a:hover i {
                color: #fff;
            }

/* ==================== 查询结果卡片 ==================== */
.hp-result-card {
    background: #fff;
    border-radius: var(--hp-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e8eaee;
    overflow: hidden;
    margin-bottom: 2.5rem;
}
/* 卡片头部 */
.hp-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    padding: .85rem 1.25rem;
    background: linear-gradient(135deg, #2F3847 0%, #5C3A4A 100%);
    /*background: #fafbfc;*/
    border-bottom: 1px solid #eef0f3;
}

    .hp-result-head h5 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
    }

        .hp-result-head h5 i {
            color: #fff;
        }
/* 结果表格（Bootstrap 5 table-hover + 浅灰表头，参照查询结果原型表格视图） */
.hp-result-card .table {
    margin-bottom: 0;
    font-size: .92rem;
    white-space: nowrap;
    --bs-table-hover-bg: #f9f7f2;
}

.hp-result-card thead th {
    background: #f8f9fa;
    color: var(--hp-dark);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .3px;
    padding: .8rem .5rem;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

.hp-result-card tbody td {
    font-size: 0.9rem;
    padding: .62rem .5rem;
    color: var(--hp-text);
    /*  border-color: #eef2f7;*/
}
/* 查询结果单元格居中（表头与表体统一），承运商标识 flex 同步居中 */
.hp-result-card thead th,
.hp-result-card tbody td {
    text-align: center;
}

    .hp-result-card tbody td > .d-flex {
        justify-content: center;
    }
/* FedEx 双行结果：子表头（非重货/重货）与等级行之间的横线去除 */
.hp-result-card td.hp-subhead {
    border-bottom: 0;
}

.hp-result-card tfoot td {
    font-size: .76rem;
    color: #98a5b5;
    border-bottom: none;
    padding: .55rem 1.25rem .75rem;
    text-align: right;
}
/* 服务商品牌徽标（40×40 圆角方块 + 品牌色，参照查询结果原型 carrier-logo） */
.hp-courier {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.hp-courier-fedex {
    background: #4d148c;
    color: #fff;
}

.hp-courier-ups {
    background: #351c15;
    color: #fff;
}

.hp-courier-dhl {
    background: #ffcc00;
    color: #333;
}
/* 结果子表头（重货/非重货）、结果值、重试链接 */
.hp-subhead {
    font-size: .78rem;
    font-weight: 600;
    color: #8896a8;
}

.hp-oda-result {
    color: #dc3545;
    font-weight: 600;
}

.hp-link-action {
    color: var(--hp-primary-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

    .hp-link-action:hover {
        color: #8a5f14;
    }
/* 偏远等级徽章（查询结果分级配色）：A/B级浅色底、C级红底白字、非偏远绿系 */
.remote-badge {
    --danger-color: #dc3545;
    --success-color: #28a745;
    display: inline-block;
    padding: .3em .75em;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.35;
    border-radius: .375rem;
    white-space: normal;
}

    .remote-badge.level-a {
        background-color: rgba(220, 53, 69, 0.15);
        color: var(--danger-color);
        border: 1px solid rgba(220, 53, 69, 0.2);
    }

    .remote-badge.level-b {
        background-color: rgba(255, 193, 7, 0.2);
        color: #b37a00;
        border: 1px solid rgba(255, 193, 7, 0.3);
    }

    .remote-badge.level-c {
        background-color: var(--danger-color);
        color: #fff;
        border: 1px solid var(--danger-color);
    }

    .remote-badge.non-remote {
        background-color: rgba(40, 167, 69, 0.15);
        color: var(--success-color);
        border: 1px solid rgba(40, 167, 69, 0.2);
    }

/* ==================== 费用备注卡片 ==================== */
.hp-fee-notes {
    background: #f8f9fa;
    border: 1px solid #eceef1;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

    .hp-fee-notes h6 {
        font-size: .84rem;
        font-weight: 700;
        color: var(--hp-dark);
        margin-bottom: .4rem;
    }

        .hp-fee-notes h6 i {
            color: var(--hp-primary);
        }

.hp-fee-fedex i {
    color: #4d148c;
}

.hp-fee-ups i {
    color: #351c15;
}

.hp-fee-dhl i {
    color: #d40511;
}

.hp-fee-notes ul {
    font-size: .8rem;
    color: #718096;
    margin-bottom: 0;
    padding-left: 1rem;
}

.hp-fee-notes li {
    margin-bottom: .18rem;
}

    .hp-fee-notes li::marker {
        color: #c9b795;
    }

/* ==================== SEO 文本内容区 ==================== */
.hp-seo-section {
    background: #fff;
    border-radius: var(--hp-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e4e7eb;
    padding: 1.5rem 1rem;
    margin-bottom: 2.5rem;
}

    .hp-seo-section:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
        border-color: var(--hp-primary);
        color: inherit;
    }

    .hp-seo-section h2 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--hp-dark);
        margin-bottom: .85rem;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

        .hp-seo-section h2 i {
            color: var(--hp-primary);
            font-size: 1rem;
        }

    .hp-seo-section h3 {
        font-size: 1rem;
        font-weight: 600;
        color: #4b5563;
        margin: 1rem 0 .5rem;
        padding-left: .5rem;
        border-left: 3px solid var(--hp-primary);
    }

    .hp-seo-section p {
        font-size: .88rem;
        color: var(--hp-text);
        line-height: 1.75;
        margin-bottom: .65rem;
    }

    .hp-seo-section a {
        color: var(--hp-primary-deep);
        text-decoration: none;
        font-weight: 500;
    }

        .hp-seo-section a:hover {
            text-decoration: underline;
        }


    /* 修正：国家内链药丸不被上面的 seo-section a 规则覆盖 */
    .hp-seo-section .hp-country-links a,
    .hp-seo-section .hp-country-links a:link {
        color: #495057;
        font-weight: 400;
    }

        .hp-seo-section .hp-country-links a:hover {
            color: #fff;
            text-decoration: none;
        }

            .hp-seo-section .hp-country-links a:hover i {
                color: #fff;
            }

    .hp-seo-section ul {
        padding-left: 1.25rem;
        margin-bottom: .65rem;
    }

    .hp-seo-section li {
        font-size: .88rem;
        color: var(--hp-text);
        line-height: 1.75;
        margin-bottom: .2rem;
    }

/* ==================== 页脚 ==================== */
.hp-footer {
    background: var(--hp-dark);
    color: #b8c2ce;
    padding: 2.5rem 0;
    margin-top: 3rem;
}

    .hp-footer a {
        color: #b8c2ce;
        text-decoration: none;
    }

        .hp-footer a:hover {
            color: #fff;
        }

/* ==================== 响应式适配 ==================== */
@media (max-width: 768px) {
    .hp-hero-section {
        padding: 1.5rem 0 2rem 0;
        border-radius: 0 0 2rem 2rem;
    }

    .hp-search-card {
        padding: 1.25rem 1rem;
        border-radius: 1.25rem;
    }

    .hp-seo-section {
        padding: 1rem 1.25rem;
    }

    .hp-trust-badge {
        gap: .25rem .75rem;
        font-size: .8rem;
    }

    .hp-trend-panel {
        padding: 1rem;
    }

    .hp-result-head {
        padding: .7rem 1rem;
    }

    .hp-result-card thead th {
        padding: .65rem .4rem;
        font-size: .82rem;
    }

    .hp-result-card tbody td {
        padding: .5rem .4rem;
    }
}

@media (max-width: 576px) {
    .hp-search-card {
        padding: 1rem .75rem;
        border-radius: 1rem;
    }

    .hp-hot-badge {
        font-size: .78rem;
        padding: .3rem .8rem;
    }

    .hp-section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hp-seo-section {
        padding: .85rem 1rem;
        border-radius: 10px;
    }

    .hp-hero-title {
        letter-spacing: 0;
    }
}
