.isp-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.isp-dianxin { background-color: #4caf50; }   /* 电信：绿色 */
.isp-liantong { background-color: #ff9800; }  /* 联通：橙色 */
.isp-yidong { background-color: #2196f3; }    /* 移动：蓝色 */
.isp-haiwai { background-color: #9c27b0; }    /* 海外：紫色 */
.isp-duoxian { background-color: #795548; }   /* 多线：棕色 */
.isp-qita { background-color: #9e9e9e; }      /* 其他：灰色 */
.isp-gangaotai {background-color: #9c27b0;} /* 港澳台：灰色 */



/* 搜索历史样式 */
        
        
        /* .container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 30px;
            width: 100%;
            max-width: 900px;
        }
        
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .header h1 {
            color: #2c3e50;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .header p {
            color: #7f8c8d;
            font-size: 16px;
        }
        
        .main02b {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        } */
        
        /* .input-group {
            margin-bottom: 20px;
            position: relative;
            width: 500px;
        }
        
        .input-group-text {
            background-color: #3498db;
            color: white;
            font-weight: 500;
            border: none;
            width: 120px;
            justify-content: center;
        }
        
        .form-control {
            border: 2px solid #e0e0e0;
            border-radius: 0 8px 8px 0;
            padding: 12px 15px;
            font-size: 16px;
            transition: all 0.3s;
            width: 100%;
        } */
        
        #historyPanel{
            /* width: 100%; */
            width: 80.2%;
        }
        .form-control:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
        }
        
        .search-history-panel {
            position: absolute;
            top: 100%;
            /* left: 120px; */
            right: 0;
            background: white;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: none;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .history-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .history-item {
            padding: 12px 15px;
            /* border-bottom: 1px solid #f0f0f0; */
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.2s;
            height: 30px;
        }
        
        .history-item:hover {
            /* background-color: #f8f9fa; */
            background-color: #f0f7ff;
            color: #4192e7;
        }
        
        .history-item:last-child {
            border-bottom: none;
        }
        
        .history-item .text {
            flex-grow: 1;
        }
        
        .history-item .remove {
            color: #e74c3c;
            opacity: 0.7;
            padding: 5px;
        }
        
        .history-item .remove:hover {
            opacity: 1;
        }
        
        .empty-history {
            padding: 20px;
            text-align: center;
            color: #95a5a6;
            display: none;
        }
        
        .clear-all-container {
            padding: 12px 15px;
            border-top: 1px solid #f0f0f0;
            text-align: right;
        }
        
        .clear-all-btn {
            background: none;
            border: none;
            color: #e74c3c;
            cursor: pointer;
            font-size: 14px;
            padding: 5px 10px;
            border-radius: 4px;
            transition: background 0.2s;
        }
        
        .clear-all-btn:hover {
            background-color: #ffeaea;
        }
        
        .btn-primary {
            font-size: 14px;
            display: inline-block;
            padding: 8px 20px;
            margin-right: 10px;
            cursor: pointer;
            line-height: 22px;
            position: relative;
            background: #1b8efc;
            border-radius: 5px;
            border: none;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn-primary:hover {
            background: #0a7ae0;
        }
        
        .btn-slow {
            color: white;
            background: #ffba57;
            font-size: 14px;
            display: inline-block;
            padding: 8px 20px;
            margin-right: 10px;
            cursor: pointer;
            line-height: 22px;
            position: relative;
            border-radius: 5px;
            border: 1px solid #dcdfe6;
        }
        
        .btn-slow:hover {
            background: #f0a746;
        }
        
        .btn-advanced {
            color: #1b8efc;
            font-size: 14px;
            display: inline-block;
            padding: 8px 16px;
            margin-right: 10px;
            cursor: pointer;
            line-height: 22px;
            position: relative;
            background: #fff;
            border: 1px solid #dcdfe6;
            border-radius: 5px;
            margin-top: 16px;
            user-select: none;
        }
        
        .btn-advanced:hover {
            background: #f5f7fa;
        }
        
        .btn-screenshot {
            color: white;
            background: #ffba57;
            font-size: 14px;
            display: inline-block;
            padding: 8px 20px;
            margin-right: 10px;
            cursor: pointer;
            line-height: 22px;
            position: relative;
            border-radius: 5px;
            border: 1px solid #dcdfe6;
        }
        
        .btn-screenshot:hover {
            background: #f0a746;
        }
        
        .instructions {
            margin-top: 25px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
            font-size: 14px;
        }
        
        .instructions h3 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 16px;
        }
        
        .instructions ul {
            padding-left: 20px;
            margin-bottom: 0;
        }
        
        .instructions li {
            margin-bottom: 8px;
            color: #7f8c8d;
        }
        