/* 科技企业库 - 自定义样式 */

body {
    background-color: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 导航栏 */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

/* 下拉多选 */
.multi-select-btn {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    color: #212529;
    background-color: #fff;
}

.multi-select-btn::after {
    margin-left: auto;
}

.multi-select-label {
    flex: 1;
    min-width: 0;
}

.multi-select-menu {
    max-height: 240px;
    overflow-y: auto;
}

.multi-select-menu .dropdown-item-text {
    cursor: pointer;
    border-radius: 0.2rem;
}

.multi-select-menu .dropdown-item-text:hover {
    background-color: #f8f9fa;
}

/* 筛选卡片 */
.filter-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* 表格 */
.table-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分页 */
.pagination {
    margin-bottom: 0;
}

/* 概览图表容器 */
.chart-wrap {
    position: relative;
    height: 180px;
    width: 100%;
}

.chart-wrap-bar {
    height: 220px;
}

/* 统计数字 */
.stat-box {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.stat-box .number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-box .label {
    color: #6c757d;
    font-size: 0.875rem;
}

/* 上传区域 */
.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    background: #fafbfc;
    transition: border-color 0.2s;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: #0d6efd;
    background: #f0f4ff;
}

/* 登录页面 */
.login-container {
    max-width: 400px;
    margin: 80px auto;
}

.login-logo {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0d6efd;
}

/* 危险操作 */
.danger-zone {
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff5f5;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

/* 文件信息提示 */
.file-info {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #e8f4e8;
    border-radius: 6px;
}

/* 结果统计表 */
.result-summary {
    display: none;
}

.result-summary table {
    max-width: 500px;
}
