 

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
 }
 .fullscreen-bg {
    background-image: url('/public/static/image/a0918614a3d5b8.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
/* 头部样式 */
.search_nav_header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #4c67af 0%, #45a049 100%);
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    outline: none;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 15px 30px;
    background: #FFC107;
    color: #333;
    border: none;
    border-radius: 0 25px 25px 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-btn:hover {
    background: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 主体布局 */
.main-container {
    display: flex;
    height: 88vh;
    margin: 0 ;
    padding: 0 ;
    background: white;
    border-radius: 15px;
     overflow: hidden;
}

/* 左侧导航 */
.nav-sidebar {
    width: 180px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 20px 0;
    overflow-y: auto;
}
.nav-category h3 {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
}

.toggle-icon {
    width: 16px;
    text-align: center;
    font-weight: bold;
}

.nav-category.collapsed .nav-list {
    display: none;
}
.nav-category > h3::after {
    transform: rotate(180deg);
    color: var(--primary-color);
  }
  .nav-category > h3::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 0.8rem;
    color: #6c757d;
    transition: all 0.3s ease;
}
.nav-category.expanded .nav-list {
    display: block;
}
.nav-category {
    margin-bottom: 5px;
}

.nav-category h3 {
    font-size: 14px;
    color: #000;
    padding: 10px 15px;
    margin: 0;
    background: #f4f4f4;
    border-left: 3px solid #4CAF50;
}

.nav-list {
    list-style: none;
    padding: 0;
}

.nav-list li {
    border-bottom: 1px solid #f1f1f1;
    display: block;
}

.nav-list a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    background: #4CAF50;
    color: white;
    padding-left: 20px;
}

.search-container {
    
}

/* 右侧内容区域 */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tab-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tab-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tab-control-btn {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tab-control-btn:hover {
    background: #5a6268;
}

.tab-count {
    font-size: 12px;
    color: #6c757d;
    font-weight: bold;
}

/* 标签页内容区域 */
.tab-content {
    flex: 1;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

/* 浏览器标签页样式 */
.browser-tab {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background: white;
}

.browser-tab.active {
    display: flex;
}

.browser-header {
    display: flex;
    align-items: center;
    background: #f1f3f4;
    border-bottom: 1px solid #dadce0;
    padding: 8px 12px;
    gap: 8px;
}

.browser-controls {
    display: flex;
    gap: 4px;
}

.browser-controls button {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.browser-controls button:hover {
    background: #e8eaed;
}

.browser-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.url-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
}

.iframe-status {
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
}

.iframe-status.iframe-supported {
    background: #e8f5e8;
    color: #2e7d32;
}

.iframe-status.iframe-unsupported {
    background: #fff3e0;
    color: #ef6c00;
}

.browser-actions {
    display: flex;
    gap: 4px;
}

.browser-actions button {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.browser-actions button:hover {
    background: #e8eaed;
}

.browser-close:hover {
    background: #f28b82 !important;
    color: white;
}

.browser-content {
    flex: 1;
    overflow-y: auto;
}

.tab-content-area {
    height: 100%;
    padding: 20px;
}

/* 网站iframe样式 */
.website-iframe {
    width: 100%;
    height: calc(100% - 40px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.iframe-tips {
    background: #e3f2fd;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #1565c0;
    border-radius: 4px;
    margin-top: 10px;
}

/* 不支持网站的样式 */
.unsupported-website {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.unsupported-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f44336;
}

.unsupported-website h3 {
    color: #f44336;
    margin-bottom: 15px;
    font-size: 18px;
}

.unsupported-website p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.unsupported-actions {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.unsupported-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.open-external-btn {
    background: #4CAF50;
    color: white;
}

.open-external-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.copy-url-btn {
    background: #2196F3;
    color: white;
}

.copy-url-btn:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

.website-preview {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: left;
}

.website-preview p {
    margin-bottom: 8px;
    font-size: 13px;
}

.website-preview a {
    color: #4CAF50;
    text-decoration: none;
    word-break: break-all;
}

.website-preview a:hover {
    
}

/* 欢迎信息样式 */
.welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #6c757d;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
}

.welcome-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.welcome-message p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* 加载状态 */
.loading-categories {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #f44336;
    background: #ffebee;
    margin: 10px;
    border-radius: 5px;
}

/* 导航徽章 */
.iframe-badge, .new-window-badge {
    margin-left: 5px;
    font-size: 12px;
    opacity: 0.7;
}

.iframe-badge {
    color: #4CAF50;
}

.new-window-badge {
    color: #2196f3;
}
.footer {
    text-align: center; 
    padding: 20px 0;
    width: auto!important;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        margin: 0 10px 10px 10px;
        height: calc(100vh - 130px);
    }
    
    .nav-sidebar {
        width: 100%;
        height: 200px;
        order: 2;
    }
    
    .content-area {
        order: 1;
        flex: 1;
    }
    
    .search-container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .title {
        font-size: 22px;
    }
    
    .browser-header {
        flex-wrap: wrap;
        padding: 6px 8px;
    }
    
    .browser-controls, .browser-actions {
        flex-shrink: 0;
    }
    
    .browser-url-bar {
        min-width: 200px;
        flex: 1;
    }
    
    .unsupported-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 10px;
    }
    
    .title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .search-input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .welcome-message {
        padding: 20px;
    }
    
    .welcome-message h3 {
        font-size: 20px;
    }
    
    .welcome-message p {
        font-size: 14px;
    }
    
    .browser-url-bar {
        flex-direction: column;
        gap: 4px;
    }
    
    .iframe-status {
        font-size: 10px;
    }
}

/* 滚动条样式 */
.nav-sidebar::-webkit-scrollbar {
    width: 6px;
}

.nav-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.nav-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.nav-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.browser-content::-webkit-scrollbar {
    width: 8px;
}

.browser-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.browser-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.browser-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 动画效果 */
.browser-tab {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.unsupported-actions button {
    transition: all 0.3s ease;
}

.unsupported-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-success {
    background: #4CAF50;
}

.notification-error {
    background: #f44336;
}

.notification-warning {
    background: #ff9800;
}

.notification-info {
    background: #2196F3;
}

.notification-message {
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 功能按钮样式 */
.feature-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}
/* 筛选容器样式 */
.filter-container {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #4CAF50;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #313131;
    border-color: #4CAF50;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.filter-checkbox:hover .checkmark {
    border-color: #45a049;
}

/* 导航控制按钮 */
.nav-controls {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    background: #f8f9fa;
    flex-direction: column;
    align-items: flex-start;
}

.nav-control-btn {
    padding: 6px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.nav-control-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* 分类折叠状态 */
.nav-category.collapsed .nav-list {
    display: none;
}

.nav-category.expanded .nav-list {
    display: block;
}

/* 分类标题可点击 */
 
.nav-category h3:hover {
    background: #dcedc8;
}

/* 分类折叠指示器 */
.nav-category h3::after {
    content: '▼';
    float: right;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-category.collapsed h3::after {
    transform: rotate(-90deg);
}

/* 网站项隐藏状态 */
.website-item.hidden {
    display: none;
}

.website-item.visible {
    display: block;
}

/* 过滤统计信息 */
.filter-stats {
    padding: 8px 15px;
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-container {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .search-input {
        border-radius: 25px;
    }
    
    .search-btn {
        border-radius: 25px;
    }
}
/* 分类排序 */
.nav-category {
    order: 0;
}
/* 折叠图标样式 */
.collapse-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 14px;
    background: #4CAF50;
    color: white;
    border-radius: 2px;
    margin-right: 8px;
    font-size: 12px;
    font-weight: bold;
}

/* 分类标题样式调整 */
.nav-category h3 {
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    flex-direction: row;
    justify-content: space-between;
}

.nav-category h3:hover {
    background: #dcedc8;
}

/* 分类折叠状态 */
.nav-category.collapsed .nav-list {
    display: none;
}

.nav-category.expanded .nav-list {
    display: block;
}

/* 移除之前的箭头样式 */
.nav-category h3::after {
    display: none;
}
.nav-category:nth-child(1) { order: 1; } /* 搜AI */
.nav-category:nth-child(2) { order: 2; } /* 综合搜索 */
.nav-category:nth-child(3) { order: 3; } /* 搜产品 */
.nav-category:nth-child(4) { order: 4; } /* 搜招聘 */
.nav-category:nth-child(5) { order: 5; } /* 搜企业 */
.nav-category:nth-child(6) { order: 6; } /* 搜租房 */
.nav-category:nth-child(7) { order: 7; } /* 搜购物 */
.nav-category:nth-child(8) { order: 8; } /* 搜电影/电视 */
.nav-category:nth-child(9) { order: 9; } /* 搜新闻 */
.nav-category:nth-child(10) { order: 10; } /* 搜小说 */
.nav-category:nth-child(11) { order: 11; } /* 搜音乐 */
.nav-category:nth-child(12) { order: 12; } /* 搜汽车 */
.nav-category:nth-child(13) { order: 13; } /* 搜财经 */
 /* 切换按钮样式 - 直角+下方灰色长实线 */
 .view-switcher {
    display: inline-flex;
    margin-left: 20px;
    border-bottom: 2px solid #ddd;
    background: white;
    width: 100%;
    margin: 0;
    padding-left: 10px;
}

.view-btn {
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border: none;
    border-radius: 0;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.view-btn:hover {
    color: #4CAF50;
    background: #f8f9fa;
}

.view-btn.active {
    color: #4CAF50;
    font-weight: bold;
    background: #f8f9fa;
}

.view-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4CAF50;
}

