/* 个人主页样式 */
.user-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #00008B;
    color: white;
    margin-bottom: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-details h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.user-details p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.openid-info {
    font-size: 12px !important;
    opacity: 0.7 !important;
    margin-top: 3px !important;
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
}

.order-status {
    display: flex;
    background-color: white;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.status-item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    border-right: 1px solid #eee;
    cursor: pointer;
}

.status-item:last-child {
    border-right: none;
}

.status-item span {
    display: block;
}

.status-item span:first-child {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.status-item span:last-child {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.status-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.count {
    background: #00008B;
    color: white;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 10px;
    display: inline-block;
    margin-top: 3px;
}

.menu-section {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    align-items: center;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-icon {
    font-size: 16px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.menu-item span:first-of-type {
    flex: 1;
    display: flex;
    align-items: center;
}

.arrow {
    color: #999;
}

/* 用户信息卡片样式 */
.user-info-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #00008B;
    color: white;
    margin-bottom: 15px;
}

.avatar-section {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.user-avatar-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 订单统计卡片样式 */
.order-stats-card {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
}

.order-stats-card h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.qrcode-image {
    width: 180px;        /* 固定宽度 */
    height: 180px;       /* 固定高度 */
    object-fit: contain; /* 保持比例，完整显示图片 */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;   /* 白色背景 */
    padding: 5px;        /* 内边距 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}