/* 2024年9月5日 何慕网络样式开发www.hemua.cn */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #a3a0e8, #e3dfdc);
    /* Gradient background */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 360px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.announcement {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    text-align: center;
    font-size: 25px;
    border-bottom: 2px solid #f5c6cb;
}

.header {
    background-color: #e3dfdc;
    text-align: center;
    padding: 20px 0;
}

.header img {
    width: 50px;
    height: 50px;
    border-radius: 30%;
    border: 2px solid #fff;
    display: block;
    margin: 0 auto;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.subtitle {
    font-size: 16px;
    color: #666;
}

.menu {
    padding: 20px;
    max-height: 300px; /* 限制菜单的最大高度 */
    overflow-y: auto; /* 允许垂直滚动 */
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Inherit text color */
}

.menu-item:hover {
    background-color: #f3f3f3;
}

.menu-item img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
}

.menu-item-text {
    flex-grow: 1;
    text-align: left;
}

.menu-item-text {
    flex-grow: 1;
    text-align: center; /* Centers the text horizontally */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the text vertically */
}

.menu-item-arrow {
    width: 30px; /* Adjust the size as needed */
    height: 30px;
    background-image: url('/static/picture/next.png'); /* Replace with the actual arrow image URL */
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the image both horizontally and vertically */
}

.footer {
    background-color: #a3a0e8;
    text-align: center;
    padding: 10px;
}

.footer img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.footer p {
    display: inline;
    font-size: 16px;
    margin-left: 10px;
    color: #fff;
}