* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, #app {
    height: 100%;
}

/* 管理后台容器 */
.admin-container {
    height: 100%;
}

.admin-aside {
    background-color: #304156;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #263445;
}

.logo h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.admin-header {
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.page-title {
    font-size: 18px;
    font-weight: 500;
    color: #303133;
}

.el-dropdown-link {
    cursor: pointer;
    color: #409EFF;
    display: flex;
    align-items: center;
}

.admin-main {
    background-color: #f0f2f5;
    padding: 20px;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.page-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
}

.page-toolbar {
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
}

/* 统计卡片 */
.stat-card {
    display: flex;
    align-items: center;
    padding: 20px;
}

.stat-card .el-card__body {
    display: flex;
    align-items: center;
    width: 100%;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.stat-icon .el-icon {
    font-size: 28px;
    color: #fff;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #303133;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #909399;
    margin-top: 8px;
}

/* 登录页面 */
.login-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    width: 400px;
    padding: 20px;
}

.login-card h2 {
    text-align: center;
    color: #303133;
    margin-bottom: 8px;
}

.login-subtitle {
    text-align: center;
    color: #909399;
    margin-bottom: 30px;
}

/* 菜单样式 */
.el-menu {
    border-right: none;
}

.el-menu-item {
    height: 50px;
    line-height: 50px;
}

.el-menu-item .el-icon {
    margin-right: 10px;
}

/* 表格样式 */
.el-table {
    font-size: 14px;
}

/* 分页样式 */
.el-pagination {
    justify-content: flex-end;
}
