/**
 * 恒运巴士管理后台样式
 */

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

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

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

.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* 主界面布局 */
.main-container {
    display: flex;
    min-height: 100vh;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #409EFF;
}

.header-right {
    display: flex;
    align-items: center;
}

.company {
    margin-right: 20px;
    color: #666;
}

.el-dropdown-link {
    cursor: pointer;
    color: #409EFF;
}

/* 侧边栏 */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 200px;
    background: #304156;
    overflow-y: auto;
}

.el-menu {
    border-right: none;
}

/* 内容区 */
.main-content {
    margin-left: 200px;
    margin-top: 60px;
    padding: 20px;
    min-height: calc(100vh - 60px);
    background: #f0f2f5;
}

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

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h3 {
    font-size: 18px;
    color: #333;
}

/* 统计卡片 */
.stat-card {
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: bold;
    color: #409EFF;
}

.stat-label {
    color: #999;
    margin-top: 10px;
}

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

/* Element UI 覆盖 */
.el-dialog__header {
    border-bottom: 1px solid #eee;
}

.el-dialog__footer {
    border-top: 1px solid #eee;
}
