/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --primary-hover: #e65c00;
    --primary-light: #fff5eb;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --border-color: #ffd4a3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: #fff9f2;
    font-size: 14px;
}

/* Banner样式 */
.banner {
    width: 100%;
    max-width: 745px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 主容器样式 */
.cons {
    max-width: 745px;
    margin: 15px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* 标签页容器样式 */
.tab-container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* 标签页样式 */
.tab {
    display: flex;
    flex-direction: row;
    gap: 1px;
    background: #fff5e6;
    padding: 3px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
    border: 2px solid transparent;
    animation: borderGlow 2s infinite;
}

/* 确保所有tab样式一致 */
body > div.cons > div.tab,
#tab_page_2 > div.tab {
    display: flex;
    flex-direction: row;
    gap: 1px;
    background: #fff5e6;
    padding: 3px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
    border: 2px solid transparent;
    animation: borderGlow 2s infinite;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@keyframes borderGlow {
    0% {
        border-color: transparent;
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
    50% {
        border-color: var(--primary-color);
        box-shadow: 0 0 10px 2px rgba(255, 107, 0, 0.2);
    }
    100% {
        border-color: transparent;
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

/* 按钮文字样式 */
.tab_button_text {
    font-size: 21px;
    font-weight: 600;
    color: #ffb380;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.3s ease;
}

.tab_button_h_text {
    font-size: 21px;
    font-weight: 600;
    color: #ff7212;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.3s ease;
}

.tab_button {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    background: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 1;
}

.tab_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 0, 0.3),
        transparent
    );
    transition: 0.8s;
    z-index: -1;
}

.tab_button:hover::before {
    left: 100%;
}

.tab_button span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.tab_button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.2);
}

.tab_button:hover .tab_button_text,
.tab_button:hover .tab_button_h_text {
    color: #ffffff;
}

.tab_button.active {
    background: var(--primary-color);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.2);
}

.tab_button.active .tab_button_text,
.tab_button.active .tab_button_h_text {
    color: #ffffff;
}

/* 更新按钮动画 */
.tab_button.updating {
    position: relative;
    pointer-events: none;
    background: var(--primary-light);
}

.tab_button.updating::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 跑马灯效果 */
.tab_button.marquee {
    overflow: hidden;
    white-space: nowrap;
    background: var(--primary-color);
    color: white;
}

.tab_button.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 8s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 标签内容区域 */
#tab_pages_1,
#tab_pages_2 {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#tab_page_1,
#tab_page_2 {
    padding: 15px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* 商品展示区域 */
.goods_box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.goods_item {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.goods_item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.goods_item_title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.goods_item_desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.goods_item_price {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.goods_item_link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.goods_item_link:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* 温馨提示样式 */
.tips-title {
    font-weight: 700;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 0 !important;
}

.tips-title:before {
    display: none;
}

/* 配送说明区域 */
.peishon {
    background: #fff;
    padding: 15px;
    border: 1px solid #F5D8BB;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: none;
}

.shuonming {
    position: relative;
    max-height: 180px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-bottom: 30px;
}

.shuonming ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shuonming li {
    padding: 8px 0;
    font-size: 14px;
    color: #ff8533;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

.shuonming li:last-child {
    border-bottom: none;
}

.shuonming li.tips-title {
    font-size: 16px;
    font-weight: bold;
    color: #ff8533;
    margin-bottom: 10px;
}

.shuonming.expanded {
    max-height: none;
}

.shuonming.collapsed {
    max-height: 180px;
}

.shuonming.collapsed ul {
    max-height: 180px;
    overflow: hidden;
}

#tab_page_2 > div.peishon > div > button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 24px;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 2;
    display: block !important;
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.2);
}

#tab_page_2 > div.peishon > div > button:hover {
    background: var(--primary-hover);
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

#tab_page_2 > div.peishon > div > ul a,
#tab_page_2 > div.peishon > div > ul a:visited,
#tab_page_2 > div.peishon > div > ul a:hover,
#tab_page_2 > div.peishon > div > ul a:active {
    text-decoration: none;
    color: inherit;
}

/* 查询框区域 */
.query-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: none;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #e65c00;  /* 默认文字颜色 */
}

.query-box label,
.query-box span {
    color: #e65c00;  /* 标签和说明文字颜色 */
}

.query-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff5eb, #fff);
    padding: 15px;
    border-radius: 6px;
    color: #e65c00;  /* 输入区域文字颜色 */
}

.query-input input[type="text"] {
    flex: 1;
    max-width: 250px;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #e65c00;
}

.query-input input[type="text"]::placeholder {
    color: #ffb380;
}

.query-input input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    outline: none;
    color: #ff6b00;
}

.query-input button {
    background: var(--primary-color);
    color: #fff5eb;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.2);
}

.query-input button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
    color: #fff;
}

#tab_page_2 > div.query-box {
    margin-top: 20px;
}

/* 表格样式 */
.table_box {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}

.table_box th {
    background: var(--primary-light);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.table_box td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.table_box tr:last-child td {
    border-bottom: none;
}

.table_box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.table_box a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.table_box tr:first-child td:first-child {
    border-bottom: none;
    width: 30%;
    min-width: 150px;
}

.table_box tr:first-child td:first-child img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.table_box tr:first-child td {
    font-weight: bold;
    color: #ff0000;
}

.table_box tr:first-child td .name_td {
    font-size: 18px;
}

.table_box tr:nth-child(2) td,
.table_box tr:nth-child(3) td {
    color: #cc00ff;
}

/* 加载消息样式 */
.loading {
    text-align: center;
    padding: 15px;
    color: var(--text-secondary);
    font-style: italic;
    background: var(--primary-light);
    border-radius: 6px;
    margin: 10px 0;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

/* 号码类型和地区类型样式 */
#numbertype,
#areaTypes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    margin-bottom: 15px;
}

#numbertype li,
#areaTypes li,
.hm_tezheng2 li {
    flex: 1;
    min-width: 100px;
    padding: 8px 15px;
    background: var(--primary-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
    color: #e65c00 !important;
    font-weight: 600;
    text-decoration: none !important;
    list-style: none;
}

#numbertype li a,
#areaTypes li a,
.hm_tezheng2 li a {
    color: #e65c00 !important;
    text-decoration: none !important;
    display: block;
    width: 100%;
    height: 100%;
}

#numbertype li:hover,
#areaTypes li:hover,
.hm_tezheng2 li:hover,
#numbertype li:hover a,
#areaTypes li:hover a,
.hm_tezheng2 li:hover a {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    text-decoration: none !important;
}

#numbertype li.hmtz_active,
#areaTypes li.hmtz_active,
.hm_tezheng2 li.hmtz_active,
#numbertype li.hmtz_active a,
#areaTypes li.hmtz_active a,
.hm_tezheng2 li.hmtz_active a {
    background: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    font-weight: 700;
    text-decoration: none !important;
}

/* 按钮样式统一 */
.tab_button,
.goods_item_link,
.query-input button {
    font-size: 15px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    .banner, .cons {
        padding: 0;
        margin: 10px auto;
    }
    
    .tab_button {
        padding: 10px 12px;
        font-size: 18px;
        min-width: 150px;
    }
    
    .tab {
        padding: 2px;
    }
    
    .goods_box {
        gap: 10px;
    }
    
    .query-input input[type="text"] {
        max-width: 100%;
        margin-bottom: 8px;
    }
    
    .query-input button {
        width: 100%;
        margin-left: 0;
    }
    
    .peishon, .query-box, .haomalb {
        padding: 12px;
    }
    
    #tab_pages_1,
    #tab_pages_2 {
        padding: 0;
    }
    
    #tab_page_1,
    #tab_page_2 {
        padding: 12px;
    }
    
    #numbertype,
    #areaTypes {
        padding: 10px;
        gap: 8px;
    }
    
    #numbertype li,
    #areaTypes li,
    .hm_tezheng2 li {
        min-width: 80px;
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .tab_button,
    .goods_item_link,
    .query-input button {
        font-size: 14px;
    }
    
    .tab_button.updating::after {
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
    }
    
    .table_box th, 
    .table_box td {
        padding: 8px;
        font-size: 13px;
    }
    
    .goods_item_title {
        font-size: 15px;
    }
    
    .goods_item_desc {
        font-size: 13px;
    }
    
    .goods_item_price {
        font-size: 14px;
    }
    
    .tab_button_text,
    .tab_button_h_text {
        font-size: 18px;
    }
    
    .tab_button_h_text {
        font-size: 18px;
    }
    
    body > div.cons > div.tab,
    #tab_page_2 > div.tab {
        padding: 2px;
    }
    
    .goods_box {
        padding: 0;
    }
    
    .cons {
        padding: 10px;
        margin: 10px auto;
    }
    
    .tab-container {
        padding: 0 10px;
    }
    
    .tips-title {
        font-size: 15px;
    }
    
    .table_box tr:first-child td:first-child {
        width: 25%;
        min-width: 120px;
    }
    
    .shuonming li:first-child,
    .xiadanwangzhi li:first-child {
        font-size: 15px;      /* 移动端字体稍小 */
    }
    
    .shuonming {
        max-height: 150px;
        padding-bottom: 25px;
    }
    
    .shuonming.collapsed {
        max-height: 150px;
    }
    
    .shuonming.collapsed ul {
        max-height: 150px;
    }
    
    #tab_page_2 > div.peishon > div > button {
        width: 15%;
        height: 24px;
        line-height: 24px;
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    #numbertype li,
    #areaTypes li,
    .hm_tezheng2 li {
        min-width: 100px;
    }
    
    .tab_button {
        min-width: 200px;
    }
    
    .tab,
    #tab_pages_1,
    #tab_pages_2,
    .query-box {
        max-width: 100%;
    }
}

/* 操作按钮样式 */
.action-buttons {
    position: fixed;
    right: calc((100% - 745px) / 2);  /* 745px是主容器宽度 */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 8px 0 0 8px;  /* 只保留左侧圆角 */
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    width: 48px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.action-btn img {
    width: 16px;
    height: 16px;
}

.copy-btn {
    background: var(--primary-color);
}

.copy-btn i {
    color: white;
}

.copy-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.favorite-btn:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.favorite-btn:hover i {
    color: white;
}

/* 调整haomalb的样式 */
.haomalb {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    color: #9B88A6;
    font-size: 0.2rem;
}

.select-all-button {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 8px 15px;
    background: transparent;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-all-button::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

.select-all-button.active::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.select-all-button.active::after {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
}

/* 对话框样式 */
#dialog-message {
    display: none;
}

#data-table {
    width: 100%;
    border-collapse: collapse;
}

#data-table th,
#data-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

#data-table th {
    background: var(--primary-light);
    color: var(--text-primary);
    font-weight: 600;
}

#data-table tr:last-child td {
    border-bottom: none;
}

#dialog-info {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fff5eb;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

#dialog-info .lh-info-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 6px;
}

#dialog-info .lh-info-item {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.5;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .query-input {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .query-input input[type="text"] {
        max-width: 100%;
    }
    
    #resultTable th,
    #resultTable td {
        padding: 8px;
        font-size: 13px;
    }
    
    #resultTable th {
        width: 100px;
    }
}

#tab_page_2 > div:nth-child(5) {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    margin: 10px 0;
    background-color: #fff;
    box-shadow: none;
}

#tab_page_2 > div.peishon {
    margin-bottom: 20px;
}

#tab_page_2 > div.query-box {
    margin-top: 20px;
}

.query-input {
    margin-bottom: 0;
}

#location {
    width: 25%;
}

#operator {
    width: 25%;
}

#datalist > div.action-buttons > button.action-btn.copy-btn {
    background: white;
}

#datalist > div.action-buttons > button.action-btn.copy-btn:hover {
    background: var(--primary-color);
}

#resultTable tr:nth-child(2) th,
#resultTable tr:nth-child(2) td {
    width: 25%;
}

.shuonming {
    max-height: none;
    overflow-y: visible;
    position: relative;
    padding-bottom: 0;
}

.shuonming li {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 8px;
    list-style-type: none;
    padding-left: 0;
}

.shuonming li.tips-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.toggle-tips {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;
    height: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    padding: 0;
    transition: background-color 0.3s;
}

.toggle-tips:hover {
    background-color: var(--primary-hover);
}

.shuonming.expanded {
    max-height: none;
}

.shuonming.collapsed {
    max-height: none;
    overflow-y: visible;
}

.shuonming.collapsed ul {
    max-height: 200px;
    overflow-y: hidden;
}

.haomalb {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    color: #9B88A6;
    font-size: 0.2rem;
}

.haomalb .pups {
    color: #f347f3;
}

.haomalb .reds {
    color: #EC2000;
}

.peishon2 {
    width: 100%;
    background-color: #F7F7F7;
    z-index: 99;
    position: relative;
    border: 1px solid #F5D8BB;
    margin-top: 2px;
    box-shadow: none;
    padding-right: 200px;
    padding-top: 0;
}

#tab_pages_2 {
    box-shadow: none;
}

#tab_page_3,
#tab_page_4 {
    padding: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    box-shadow: none;
    margin: 0;
}

#tab_page_3 .hm_tezheng2,
#tab_page_4 .hm_tezheng {
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

#tab_page_3 .peishon2 {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.hm_tezheng2 {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.hm_tezheng2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 列表包装器样式 */
.list-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    margin-top: 10px;
}

/* 全选容器样式 */
.select-all-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-right: 15px;
    border-right: 1px solid var(--border-color);
    min-width: 40px;
}

.select-all-container .list-checkbox {
    margin: 0;
    cursor: pointer;
}

/* 复选框样式 */
.list-checkbox, .item-checkbox {
    margin-right: 8px;
    cursor: pointer;
}

/* 数据列表样式 */
#datalist li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

#datalist li:last-child {
    border-bottom: none;
}

#datalist ul {
    flex: 1;
    margin: 0;
    padding: 0;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    padding: 10px;
    background: white;
}

/* 响应式调整按钮位置 */
@media (min-width: 769px) {
    .haomalb {
        width: 100%;
    }
    
    .action-buttons {
        right: calc((100% - 745px) / 2);
    }
}

@media (max-width: 768px) {
    .haomalb {
        width: 100%;
    }
    
    .action-buttons {
        right: 0;  /* 在移动端直接贴在右边 */
    }
}

/* 结果表格样式 */
#resultTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    display: none;
    color: #e65c00;  /* 表格文字颜色 */
}

#resultTable th,
#resultTable td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

#resultTable th {
    background: var(--primary-light);
    color: #e65c00;  /* 表头文字颜色 */
    font-weight: 600;
    width: 120px;
}

#resultTable tr:last-child td {
    border-bottom: none;
}

#resultTable a {
    color: #ff6b00;  /* 链接文字颜色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

#resultTable a:hover {
    color: #ff8533;  /* 链接悬停颜色 */
}

/* 加载消息样式 */
#loadingMessage {
    display: none;
    text-align: center;
    padding: 15px;
    color: #e65c00;  /* 加载消息文字颜色 */
    font-style: italic;
    background: var(--primary-light);
    border-radius: 6px;
    margin: 10px 0;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

/* 计划列表按钮样式 */
#planList > tr > td:nth-child(3) a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(255, 107, 0, 0.2);
}

#planList > tr > td:nth-child(3) a:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3);
}

/* 特定对话框样式 */
body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15) !important;
    background: white !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-titlebar {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-titlebar-close {
    position: absolute !important;
    right: .3em !important;
    top: 50% !important;
    width: 20px !important;
    margin: -10px 0 0 0 !important;
    padding: 1px !important;
    height: 20px !important;
    background: transparent !important;
    border: none !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-titlebar-close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-content {
    padding: 20px !important;
    background: white !important;
    border-radius: 0 0 8px 8px !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-buttonpane {
    border-top: 1px solid var(--border-color) !important;
    padding: 12px 20px !important;
    margin: 0 !important;
    background: #fff5eb !important;
    border-radius: 0 0 8px 8px !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-buttonpane button {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable .ui-dialog-buttonpane button:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.2) !important;
}

/* 移除模态遮罩 */
.ui-widget-overlay {
    display: none !important;
}

/* 号码预约须知 */
.xuzhi-section {
    width: 100%;
    max-width: 745px;
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.xuzhi .biao {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.xuzhi .biaoti {
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.xuzhi .biaoti span {
    width: 4px;
    height: 18px;
    background: #FF743E;
    display: inline-block;
    margin-right: 8px;
    border-radius: 2px;
}

.gmxz-pic-wrap {
    background: #fff;
    border-radius: 8px;
}

.gmxz-flow {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg, #fafbfd 0%, #f3f6fb 100%);
    padding: 8px 0;
}

.gmxz-flow-track {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    animation: gmxzFlowMove 30s linear infinite;
    will-change: transform;
}

.gmxz-flow:hover .gmxz-flow-track,
.gmxz-flow.enlarged .gmxz-flow-track {
    animation-play-state: paused;
}

.gmxz-pic-item {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f8fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
}

.gmxz-pic-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.gmxz-pic-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gmxz-pic-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
    background: #fff;
}

.gmxz-flow.enlarged {
    padding: 10px;
    background: #fff;
}

.gmxz-flow.enlarged .gmxz-flow-track {
    animation: none;
    transform: translateX(0) !important;
    width: 100%;
    justify-content: center;
}

.gmxz-flow.enlarged .gmxz-pic-item {
    width: 100%;
    max-width: 100%;
    height: 280px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    background: #fff;
    border: 1px solid #eef1f5;
    box-sizing: border-box;
}

.gmxz-flow.enlarged .gmxz-pic-item .gmxz-pic-img {
    object-fit: contain;
    object-position: center center;
}

.gmxz-flow.enlarged .gmxz-pic-item.active {
    display: block;
}

.gmxz-flow.enlarged .gmxz-pic-item:not(.active) {
    display: none;
}

.gmxz-controls {
    display: none;
}

.gmxz-flow.enlarged .gmxz-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.gmxz-btn {
    border: none;
    background: linear-gradient(90deg, #ff8a4f 0%, #ff6b2d 100%);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(255, 107, 45, 0.28);
    font-weight: 600;
}

.gmxz-btn:active {
    transform: scale(0.98);
    filter: brightness(0.98);
}

.gmxz-btn-close {
    background: linear-gradient(90deg, #8d98a6 0%, #6e7a8a 100%);
    box-shadow: 0 2px 6px rgba(110, 122, 138, 0.22);
}

.gmxz-pic-empty {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 14px 0;
}

@keyframes gmxzFlowMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 页脚样式 */
.footer {
    width: 100%;
    max-width: 745px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.footer .icp-info {
    color: #a5a5a5;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer .icp-info a {
    color: #a5a5a5;
    text-decoration: none;
}

.footer .icp-info a:hover {
    color: var(--primary-color);
}

.footer .security-info {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    height: 20px;
    line-height: 20px;
}

.footer .security-info img {
    height: 20px;
    margin-right: 5px;
}

.footer .security-info p {
    margin: 0;
    color: #939393;
    font-size: 14px;
}

/* 收藏夹按钮样式 */
.favorites-btn {
    background: white !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.favorites-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* 收藏夹对话框样式 */
#favorites-dialog {
    display: none;
    padding: 0;
    background: #fff9f2;
    border: 2px solid var(--primary-color);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

#favorites-dialog .ui-dialog-titlebar {
    background: #ff6e4d !important;
    color: white !important;
    border: none !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 4px rgba(255, 110, 77, 0.2) !important;
}

#favorites-dialog .ui-dialog-titlebar-close {
    background: transparent !important;
    border: none !important;
    color: white !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

#favorites-dialog .ui-dialog-titlebar-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

#favorites-dialog .ui-dialog-content {
    padding: 20px !important;
    background: #fff9f2 !important;
}

#favorites-dialog .favorites-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
}

#favorites-dialog .favorites-group {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.1);
}

#favorites-dialog .favorites-header {
    display: flex;
    align-items: center;
    padding: 10px;
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
    gap: 10px;
    background: var(--primary-light);
    border-radius: 6px;
}

#favorites-dialog .favorites-header .remove-favorite {
    margin-right: 0;
}

#favorites-dialog .favorites-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

#favorites-dialog .favorites-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px dashed var(--border-color);
    margin-left: 20px;
    width: calc(100% - 20px);
    transition: all 0.3s ease;
}

#favorites-dialog .favorites-item:hover {
    background: var(--primary-light);
    border-radius: 4px;
}

#favorites-dialog .favorites-item:last-child {
    border-bottom: none;
}

#favorites-dialog .remove-favorite {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    padding: 0;
    background-image: url('../img/delFavorites.png');
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

#favorites-dialog .remove-favorite:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url('../img/delFavorites.png');
    filter: brightness(0) invert(1);
}

#favorites-dialog .favorites-number {
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
}

#favorites-dialog .favorites-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: var(--primary-light);
    border-radius: 8px;
}

#favorites-dialog .favorites-btn {
    flex: 1;
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

#favorites-dialog .favorites-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.2);
}

#favorites-dialog .clear-favorites {
    background: #ff4444;
    color: white;
    border: 1px solid #ff4444;
}

#favorites-dialog .clear-favorites:hover {
    background: #ff6666;
    border-color: #ff6666;
}

/* 收藏夹滚动条样式 */
#favorites-dialog .favorites-list::-webkit-scrollbar {
    width: 8px;
}

#favorites-dialog .favorites-list::-webkit-scrollbar-track {
    background: var(--primary-light);
    border-radius: 4px;
}

#favorites-dialog .favorites-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

#favorites-dialog .favorites-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* 第5个对话框标题栏样式 */
body > div:nth-child(5) > div.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* 保持关闭按钮的默认样式 */
body > div:nth-child(5) > div.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle > button {
    position: absolute !important;
    right: .3em !important;
    top: 50% !important;
    width: 20px !important;
    margin: -10px 0 0 0 !important;
    padding: 1px !important;
    height: 20px !important;
    background: transparent !important;
    border: none !important;
}

body > div:nth-child(5) > div.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle > button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 对话框整体样式 */
body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
    border: none !important;
    opacity: 0.95 !important;
    background: white !important;
}

body > div.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable .ui-dialog-content {
    background: white !important;
}

/* 调整 datalist 的样式 */
#datalist {
    margin-top: 1px;
    position: relative;
}

/* 全选控件样式 */
.select-all-wrapper {
    margin-bottom: 10px;
}

.select-all-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.select-all-wrapper li {
    display: flex;
    align-items: center;
    padding: 4px 0;
    color: var(--primary-color);
    font-weight: 500;
    padding-left: 40px;
}

.select-all-wrapper .select-all-checkbox {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

.select-all-wrapper .select-all-checkbox:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.select-all-wrapper .select-all-checkbox:checked::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.select-all-wrapper .select-all-checkbox:hover {
    border-color: var(--primary-hover);
}

#datalist > div.select-all-wrapper {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    padding-left: 10px;
}

#datalist > div.select-all-wrapper ul {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* 第4个对话框标题栏样式 */
body > div:nth-child(4) > div.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* 保持关闭按钮的默认样式 */
body > div:nth-child(4) > div.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle > button {
    position: absolute !important;
    right: .3em !important;
    top: 50% !important;
    width: 20px !important;
    margin: -10px 0 0 0 !important;
    padding: 1px !important;
    height: 20px !important;
    background: transparent !important;
    border: none !important;
}

body > div:nth-child(4) > div.ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle > button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
} 

.card-icon {
  border-radius: 50%;
  border: 1px solid orange;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}