/* 产学研资源独立样式 */
.industry-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 10px; /* Reduced from 20px to 10px to minimize gap */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 导航标签 */
.nav-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.nav-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.nav-tab:hover {
    color: #3b82f6;
}

.nav-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* 搜索与筛选 */
.search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
}

.search-input:focus {
    border-color: #3b82f6;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-row select {
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    min-width: 100px;
}

/* 按钮 (统一浅蓝色风格) */
.btn {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-primary { 
    background: #60a5fa; /* 浅蓝色 Blue-400 */
    color: white; 
    box-shadow: 0 2px 4px rgba(96, 165, 250, 0.3);
}

.btn-secondary {
    background: #eff6ff;
    color: #60a5fa;
    border: 1px solid #bfdbfe;
}

.btn-secondary:hover {
    background: #dbeafe;
    border-color: #60a5fa;
}

/* Logo 样式 */
.logo {
    font-size: 24px; 
    font-weight: 800; 
    color: #3b82f6; 
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 模块切换按钮选中状态也调整为浅蓝 */
.module-btn.active {
    background: #60a5fa;
    border-color: #60a5fa;
}
.module-btn:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

/* 导航标签选中颜色 */
.nav-tab.active {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}
.nav-tab:hover {
    color: #60a5fa;
}

/* 表格 */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
}

.data-table tr:hover {
    background: #f8fafc;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 500px;
    max-width: 90%;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #475569;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-sizing: border-box;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* 账号下拉菜单 */
.account-menu-dropdown {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    right: 0;
    width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0;
    z-index: 1001;
    border: none;
    overflow: hidden;
    text-align: center;
    animation: fadeIn 0.2s ease-out;
}

.account-menu-item.admin-link {
    padding: 8px 15px;
    cursor: pointer;
    color: #6366f1;
    font-weight: bold;
}

.account-box {
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.auth-status {
    margin-bottom: 20px;
    font-size: 16px;
}

.upload-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.module-switch {
    display: flex;
    gap: 20px;
    margin: 0 40px;
}

.module-btn {
    padding: 8px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s;
}

.module-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.module-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}