/* --- 新 UI 改造专用样式 --- */
.new-ui-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 20px 0;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Tab 导航区域 */
.new-ui-tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.new-ui-tabs a {
    color: var(--theme-color);
    text-decoration: none;
    padding: 10px 5px;
    position: relative;
    transition: color 0.2s;
}

.new-ui-tabs a:hover {
    color: var(--theme-color);
}

.new-ui-tabs a.active {
    color: var(--theme-color);
    font-weight: bold;
}

.new-ui-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--theme-color); /* 蓝色的下划线激活状态 */
}

.new-ui-tabs .divider {
    color: #e8e8e8;
    margin: 0 15px;
    font-size: 12px;
}

/* 搜索容器：左右分栏 Flex 布局 */
.new-ui-search-container {
    display: flex;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    margin: 0 20px;
    background: #fff;
    min-height: 200px;
}

/* 左侧输入区 */
.search-left {
    flex: 1; /* 占据剩余全部宽度 */
    position: relative;
    border-right: 1px solid #e2e2e2;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.search-box-new {
    width: 100%;
    flex: 1; /* 自动拉伸填满高度 */
    border: none;
    resize: none;
    outline: none;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.search-box-new::placeholder {
    color: #999;
}

.search-bottom-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    color: #666;
    font-size: 13px;
}

.search-bottom-actions span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.search-bottom-actions span:hover {
    color: var(--theme-color);
}

/* 右侧操作区 */
.search-right {
    width: 350px; /* 固定右侧宽度 */
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.stat-item {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #FF5722; /* 醒目的橙色字 */
    font-family: Arial, sans-serif;
}

.search-btn-new {
    background: var(--theme-color); /* 主色调蓝 */
    color: #fff;
    text-align: center;
    padding: 14px 0;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: opacity 0.3s;
    user-select: none;
}

.search-btn-new:hover {
    opacity: 0.9;
}

.search-btn-new.disabled {
    background: #b3b3b3;
    cursor: not-allowed;
}

.search-tip-new {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
/* --- 单条查询 & 切换按钮的辅助样式 --- */
.toggle-mode-btn {
    text-align: center;
    margin-top: 15px;
}

.toggle-mode-btn a {
    color: var(--theme-color);
    font-size: 13px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.toggle-mode-btn a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* 单条查询居中布局 */
.single-search-mode {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px; /* 让单条查询的时候留白多一点 */
}

.single-search-center {
    width: 100%;
    max-width: 450px;
}

.single-search-box-new {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.single-search-box-new:focus {
    border-color: var(--theme-color);
}

.single-domain-tips-new {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}