::-webkit-scrollbar-track{border-radius: 10px;-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);}
::-webkit-scrollbar-thumb{background-color: rgba(0,0,0,0.05);border-radius: 10px;-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);}
::-webkit-scrollbar-thumb{background-color: rgba(0,0,0,0.2);border-radius: 10px;-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,.1);}
::-webkit-scrollbar{width: 16px;height: 16px;}
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb{border-radius: 999px;border: 5px solid transparent;}
::-webkit-scrollbar-track{box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;}
::-webkit-scrollbar-thumb{min-height: 20px;background-clip: content-box;box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;}
::-webkit-scrollbar-corner{background: transparent;}
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
}

:root {
    --primary-color: #3864dd;
    --secondary-color: #0a3f7b;
    --accent-color: #ff6b00;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.marginT50{
    margin-top:50px;
    font-size:13px;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo img{
    width:40px;
    height:40px;
}
.logo i {
    color: var(--accent-color);
}

.logo-text {
    font-size: 1.8rem;
}

.logo-subtext {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile span {
    font-weight: 500;
    color: var(--primary-color);
}

.btn-login, .btn-logout {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-login:hover, .btn-logout:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-register {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-register:hover {
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* 搜索区域 */
.search-section {
    padding: 40px 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.search-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.search-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-box {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex-grow: 1;
    padding: 18px 20px;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background-color: #e55c00;
}

.search-examples {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.search-examples span {
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
}

.search-examples span:hover {
    text-decoration: underline;
}

/* 主要内容 */
.main-content {
    padding: 50px 0;
    flex: 1;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* 公司卡片 */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.company-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.company-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background-color: #e9f2fb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.company-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.company-status {
    display: inline-block;
    padding: 3px 10px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.company-details {
    padding: 20px;
}

.company-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.detail-label {
    color: var(--gray-color);
}

.detail-value {
    font-weight: 500;
    color: var(--dark-color);
}

/* 特色功能 */
.features-section {
    margin-top: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #e9f2fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--accent-color);
    gap: 10px;
}

/* 页脚 */
footer {
    background-color: #0f172a;
    color: white;
    padding: 20px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    z-index:9999;
}

.modal.active {
    display: flex; 
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width:700px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease; 
}

/* 滑动验证样式 */
.slide-verify {
    margin: 20px 0; 
    border-radius: 8px; 
}

.slide-verify-text {
    text-align: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 12px;
}

.slide-verify-track {
    position: relative;
    height: 40px;
    background-color: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.slide-verify-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #4CAF50;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.slide-verify-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: grab;
    user-select: none;
    z-index:999;
}

.slide-verify-btn:active {
    cursor: grabbing;
}

.slide-verify-btn span {
    font-size: 18px;
    color: #666;
}

.slide-verify-status {
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
    color: #cc0000;
    min-height: 18px;
}

/* 验证成功样式 */
.slide-verify.success .slide-verify-bg {
    background-color: #4CAF50;
}

.slide-verify.success .slide-verify-btn {
    background-color: #4CAF50;
    color: white;
}

.slide-verify.success .slide-verify-btn span {
    color: white;
}

/* 验证失败样式 */
.slide-verify.error .slide-verify-bg {
    background-color: #cc0000;
}

.slide-verify.error .slide-verify-btn {
    background-color: #cc0000;
    color: white;
}



@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 30px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 30px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input[type="checkbox"] {
    width: 30px;  
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 91, 158, 0.1);
}
.form-group input[type="checkbox"]:focus{
    outline: none;
    border-color: none;
    box-shadow: none;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* 内容页面样式 */
.page-header {
    background-color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.page-description {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* 模块内容样式 */
.module-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.module-section {
    margin-bottom: 40px;
}

.module-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 15px 10px;
}

.info-table td:first-child {
    width: 30%;
    color: var(--gray-color);
    font-weight: 500;
}

.search-results {
    margin-top: 30px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
}

.results-count {
    font-size: 1.1rem;
    color: var(--gray-color);
}

.results-actions {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-btn:hover {
    background-color: #f8f9fa;
}

.export-btn {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.export-btn:hover {
    background-color: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-menu, .user-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content {
        padding: 15px 0;
    }
    
    .search-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .search-input {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .search-btn {
        padding: 15px;
        justify-content: center;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .modal-content {
        margin: 15px;
    }
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px; 
}
select {
    flex: 1;
    min-width: 120px; 
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

select:focus {
    border-color: var(--primary-color);
    outline: none;
}

select:disabled {
    background: #f9f9f9;
    color: #999;
    cursor: not-allowed;
}
