body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

main {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 1rem;
    border: 1px solid #ddd;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch a {
    color: white;
    text-decoration: none;
}

.language-switch a:hover,
.language-switch a.active {
    text-decoration: underline;
}

.language-switch span {
    color: white;
    opacity: 0.7;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 设置按钮样式 */
.settings-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.settings-btn:hover {
    opacity: 0.8;
}

/* 登出按钮样式 */
.logout-btn {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: #dc3545;
    border-radius: 4px;
}

.logout-btn:hover {
    background-color: #c82333;
}
