/* 首页主内容区域样式 */
.main-content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}
.description{
    display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 15px auto;
         align-items: center;
        background: white;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
         margin-bottom: 30px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.page-title {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 10px;
    width: 300px;
}
.search-box input {
    border: none;
    outline: none;
    padding: 8px;
    width: 100%;
}
/* 数据卡片样式 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 15px;
}
.card-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.card-info p {
    color: #6c757d;
    font-size: 0.9rem;
}
/* Excel导入区域样式 */
.import-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}
.section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}
.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}



select, .file-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
}
.file-input {
    position: relative;
    display: flex;
    align-items: center;
}
.file-input input {
    position: absolute;
    left: -9999px;
}
.file-input label {
    display: inline-block;
    padding: 8px 15px;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
.file-name {
    color: #6c757d;
}
.btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--secondary-color);
}
/* 响应式设计 */
@media (max-width: 992px) {
    body {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
    }
    .menu {
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
    }
    .menu-item {
        padding: 10px 15px;
        white-space: nowrap;
    }
    .main-content {
        padding: 15px;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-box {
        width: 100%;
        margin-top: 15px;
    }
    .stats-cards {
        grid-template-columns: 1fr;
    }
}
:root {
    --primary-color: #28a745;
    --secondary-color: #20c997;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --sidebar-width: 250px;
  }