/* 主样式文件 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    background-color: #f5f7fa;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: #409EFF;
    text-decoration: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn.primary {
    color: #409EFF;
    border: 1px solid #409EFF;
}

.nav-btn.primary:hover {
    color: #fff;
    background-color: #409EFF;
}

.nav-btn.danger {
    color: #F56C6C;
    border: 1px solid #F56C6C;
}

.nav-btn.danger:hover {
    color: #fff;
    background-color: #F56C6C;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

.pagination-container {
    margin-top: 20px;
    text-align: center;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .el-table {
        width: 100%;
        overflow-x: auto;
    }
} 