body{
    margin:0;
    padding:0;
    font-family:"Microsoft YaHei";
    background:#f4f4f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header{
    background:#2c3e50;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
}
.header h1{
    margin:0;
}
.header-user{
    font-size:18px;
}
.red-name{
    color:red;
    font-weight:bold;
    font-size:20px;
}
.header-user a{
    color:#fff;
    text-decoration:none;
    margin:0 8px;
}
.header-user a:hover{
    color:#3498db;
}

.banner{
    height:300px;
    background:url("/images/logo.png") center;
    background-size:cover;
}

.top-nav{
    background:#34495e;
    display:flex;
    justify-content:center;
    gap:60px;
    padding:15px 0;
}
.top-nav a{
    color:#ffffff;
    font-size:18px;
    text-decoration:none;
}
.top-nav a:hover{
    color:#3498db;
}

.container{
    display:flex;
    flex: 1;
}
.left{
    width:220px;
    background:white;
    padding:20px;
}
.left ul{
    list-style:none;
    padding:0;
    margin:0;
}
.left li{
    margin-bottom:15px;
}
.left a{
    text-decoration:none;
    color:#333;
    font-size:16px;
}
.left a:hover{
    color:#3498db;
}
.right{
    flex:1;
    background:white;
    padding:20px;
    margin-left:10px;
}

.footer{
    text-align:center;
    background:#2c3e50;
    color:white;
    padding:15px;
    margin-top:0;
}

input[type=text],
input[type=password],
input[type=email],
input[type=date],
select,
textarea{
    width:100%;
    padding:8px;
    margin-top:8px;
    margin-bottom:12px;
}
input[type=radio],
input[type=checkbox]{
    width:auto;
    margin-right:5px;
}
button{
    background:#3498db;
    color:white;
    border:none;
    padding:10px 20px;
    cursor:pointer;
}
table{
    width:100%;
    border-collapse:collapse;
}
table,th,td{
    border:1px solid #ccc;
}
th,td{
    padding:8px;
}

.profile-box{
    max-width:600px;
    margin:30px auto;
    background:#fff;
    padding:40px;
    border-radius:8px;
    box-shadow:0 2px 12px rgba(0,0,0,0.1);
    text-align:center;
}
.avatar-img{
    border-radius:50%;
    border:4px solid #3498db;
    object-fit:cover;
}
.profile-box h3{
    font-size:22px;
    color:#2c3e50;
}
.profile-box hr{
    margin:30px 0;
    border:none;
    height:1px;
    background:#eee;
}
.profile-form{
    text-align:left;
    max-width:350px;
    margin:0 auto;
}
.back-home{
    display:inline-block;
    margin-top:25px;
    padding:10px 24px;
    background:#2c3e50;
    color:#fff;
    text-decoration:none;
    border-radius:4px;
}
.back-home:hover{
    background:#34495e;
}
.avatar-empty{
    width:150px;
    height:150px;
    margin:10px auto;
    line-height:150px;
    background:#eee;
    border-radius:50%;
    font-size:16px;
    color:#666;
}