/**
 * 我的模块（用户中心）样式
 */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 90px;
}

.page-header {
    display: flex;
    align-items: center;
    padding: 15px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.page-header .btn-back {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--primary);
}

.page-header h1 {
    flex: 1;
    text-align: center;
    font-size: 18px;
    margin: 0;
    color: #333;
}

.user-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, #3cb371 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.user-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.user-avatar-container {
    position: relative;
}

.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.avatar-edit-btn {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.user-details {
    flex: 1;
}

.user-details h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.user-status {
    font-size: 13px;
    opacity: 0.9;
    margin: 0 0 12px 0;
}

.user-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    font-size: 14px;
}

.stat-value {
    font-weight: 700;
}

.user-edit-btn {
    background: rgba(255,255,255,0.3);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

/* 快速操作 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    font-size: 13px;
    color: #333;
    position: relative;
}

.quick-action-btn .icon {
    font-size: 24px;
}

.quick-action-btn .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 菜单区块 */
.menu-section {
    margin-bottom: 24px;
}

.menu-section h2 {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    margin: 0 0 12px 0;
    padding-left: 4px;
}

.menu-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px;
    border: none;
    font-size: 15px;
    color: #333;
    background: #fff;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: #f9f9f9;
}

.menu-item .icon {
    margin-right: 12px;
    font-size: 20px;
}

.menu-item .text {
    flex: 1;
}

.menu-item .badge,
.menu-item .value {
    margin-right: 8px;
    font-size: 13px;
    color: #999;
}

.menu-item .arrow {
    font-size: 18px;
    color: #ccc;
}

.menu-item.logout-btn {
    color: #e74c3c;
    justify-content: center;
}

.menu-item.logout-btn .text {
    flex: none;
}

/* 通知提示 */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-success { background: var(--primary); color: #fff; }
.notification-error { background: #c0392b; color: #fff; }
.notification-info { background: #3498db; color: #fff; }
