/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    background-color: #f5f7fa;
}

#app {
    width: 100%;
    height: 100vh;
}

/* 布局样式 */
.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.el-container {
    height: 100%;
}

.el-aside {
    background-color: #304156;
    color: #bfcbd9;
    height: 100vh;
    overflow-x: hidden;
}

.el-header {
    background-color: #fff;
    color: #333;
    line-height: 60px;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.el-main {
    background-color: #f5f7fa;
    color: #333;
    padding: 20px;
    overflow-y: auto;
}

/* Logo区域 */
.logo-container {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #263445;
    padding: 0 15px;
}

.logo {
    height: 36px;
    margin-right: 10px;
}

.logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* 菜单样式 */
.el-menu-vertical {
    border-right: none;
}

.el-menu-item {
    font-size: 14px;
}

.el-menu-item i {
    color: #bfcbd9;
    margin-right: 5px;
}

.el-menu-item.is-active {
    background-color: #1f2d3d !important;
}

.el-menu-item.is-active i {
    color: #409EFF;
}

/* 用户下拉菜单 */
.header-right {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.el-dropdown-link {
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
}

.el-dropdown-link i {
    margin-left: 5px;
}

/* 表格样式 */
.el-table th {
    background-color: #f5f7fa;
    font-weight: bold;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
    background-color: #fafafa;
}

/* 通用卡片样式 */
.common-card {
    margin-bottom: 20px;
    border-radius: 4px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 顶部工具栏 */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
}

.action-buttons {
    display: flex;
    align-items: center;
}

/* 表单样式 */
.form-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 弹窗样式 */
.el-dialog__header {
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 20px;
}

.el-dialog__footer {
    border-top: 1px solid #e6e6e6;
    padding: 15px 20px;
}

/* 标签样式 */
.data-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #fff;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .el-aside {
        width: 64px !important;
    }
    
    .el-menu--collapse {
        width: 64px !important;
    }
    
    .logo-text {
        display: none;
    }
} 