/* 个人中心页面样式 */

/* 页面背景渐变 */
.main-content {
    background: linear-gradient(180deg, #f3e9f6, #f8fbfa);
    min-height: 100vh;
}

.user-center-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    min-height: calc(100vh - 200px);
}

/* 左侧边栏 */
.user-sidebar {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: fit-content;
    position: sticky;
    top: 130px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 主卡片容器 - 用户信息 + 基本功能 */
.main-card {
    background: white;
    overflow: hidden;
    border: none;
}

/* 用户信息区域 - 作为主卡片的顶部 */
.user-info-section {
    padding: 40px 25px 48px 25px;
    text-align: center;
    background: white;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
    box-shadow: none;
}

.sidebar-user-avatar {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    margin: 0 auto 15px auto;
    overflow: hidden;
}

.sidebar-user-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-nav-icon , img[src*="user"]{
    border-radius: 0 !important;
}

.sidebar-user-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 导航区域 */
.user-nav {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 基本功能区域 - 作为主卡片的底部 */
.main-card .nav-section {
    border-bottom: none;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
    margin-top: 0;
    padding: 20px 30px;
}

/* 消息中心区域独立卡片 */
.nav-section.message-section {
    background: white;
    color: #333;
    position: relative;
    overflow: hidden;
    border: none;
    margin-top: 0;
    padding: 0px 30px 30px;
}

.nav-section.message-section::before {
    display: none;
}

.section-title {
    padding: 10px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin: 0 -30px 0 -30px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-section .section-title {
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.section-badge {
    background: #ff4757 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    margin-left: 10px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* 基本菜单项样式 */
.user-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    position: relative;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    margin: 0;
    border-radius: 0;
    gap: 10px;
}

.user-nav-item:hover {
    background: #f8f9fa;
    color: #333;
}

.user-nav-item.active {
    background: #42b983;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
}

/* 消息中心菜单项与基本功能完全一致 - 移除特殊样式 */
.message-section .user-nav-item {
    margin-top: 10px;
}

.message-section .user-nav-item:hover {
    /* 继承基本样式，不做任何覆盖 */
}

.message-section .user-nav-item.active {
    /* 继承基本样式，不做任何覆盖 */
}

.user-nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* 移除消息中心图标的特殊滤镜，保持与基本功能一致 */
.message-section .user-nav-icon {
    filter: none;
}

/* 激活状态下的图标颜色调整 */
.user-nav-item.active .user-nav-icon {
    filter: brightness(0) invert(1);
}

.user-nav-item span {
    font-size: 16px;
    flex-grow: 1;
    font-weight: 500;
}

.user-nav-item .user-badge {
    background: #ff4757 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    margin-left: auto !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* 右侧主内容区 */
.user-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* 内容区块切换 */
.content-section {
    width: 100%;
}

/* 用户简介 */
.user-intro {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 48px;
}

.intro-text {
    background: #111;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* 账户状态和等级样式 */
.account-level {
    color: #4CAF50;
    font-weight: 600;
}

.account-status.normal {
    color: #4CAF50;
    font-weight: 600;
}

.account-status.warning {
    color: #ff9800;
    font-weight: 600;
}

.account-status.danger {
    color: #f44336;
    font-weight: 600;
}

/* 账户安全网格 */
.security-grid {
    padding: 18px 32px 18px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-bottom: none;
}

.security-item:last-child {
    border-bottom: none;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.security-info label {
    font-weight: 600;
    color: #222;
    min-width: auto;
    font-size: 15px;
    white-space: nowrap;
}


.action-btn {
    background: transparent;
    border: none;
    color: #4CAF50;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-left: 8px;
}

.action-btn:hover {
    background: #f5f5f5;
}

.action-icon {
    width: 16px;
    height: 16px;
}

/* 卡片样式 */
.info-section {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1.5px solid #e0e0e0;
    margin-bottom: 15px;
    padding: 0;
    overflow: hidden;
}

/* 分组标题黑色背景 */
.section-header {
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 48px;
    border-bottom: 1.5px solid #e0e0e0;
    margin: 0;
    position: relative;
}

.section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* 轻量级标题样式 - 无黑色背景 */
.section-header-light {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 48px;
    margin: 0;
    position: relative;
    width: 100%;
}

.section-header-light h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* 轻量级标题左侧绿色竖线 */
.section-header-light h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: #4CAF50;
    border-radius: 2px;
    margin-right: 10px;
}

/* 编辑/添加按钮 */
.edit-btn, .add-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    min-width: 36px;
    height: 36px;
    flex-shrink: 0;
}


.edit-btn .edit-icon, .add-btn .add-icon {
    width: 18px;
    height: 18px;
}


/* 分割线样式 */
.section-divider {
    height: 2px;
    background: #d2eee1;
    opacity: 0.6;
    margin: 0 22px;
}

/* 信息区块内容 */
.info-section .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 18px 32px 18px 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 15px;
}

.info-item label {
    color: #666;
    white-space: nowrap;
}

.name-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.name-wrapper span {
    flex: 1;
}

.edit-icon.small-edit {
    width: 14px;
    height: 14px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin-right: 25px;
}

.info-item span {
    color: #333;
    font-weight: 500;
    flex: 1;
    border: none;
    padding: 0;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

/* 最后一项无下边线 */
.info-item:last-child {
    border-bottom: none;
}

/* 时间线区块 */
.timeline {
    position: relative;
    padding: 18px 32px 18px 0px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    padding-left: 46px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 16px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e0e0e0;
    z-index: 2;
}
.timeline-dot.active {
    background: #4CAF50;
    box-shadow: 0 0 0 2px #4CAF50;
}

/* 遮盖竖线头尾 */
.timeline-item:first-child::before,
.timeline-item:last-child::after {
    content: '';
    position: absolute;
    left: 32px;
    width: 2px;
    height: 7px;
    background: #fff;
    z-index: 3;
}
.timeline-item:first-child::before {
    top: 0;
}
.timeline-item:last-child::after {
    bottom: 0;
}

.timeline-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.timeline-content .left-content {
    flex: 1;
}
.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 4px 0;
}
.timeline-content .degree,
.timeline-content .description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.timeline-content .date {
    font-size: 14px;
    color: #999;
    background: none;
    padding: 0;
    border-radius: 0;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .user-center-container {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .user-info-section {
        padding: 25px 20px;
    }
    
    .sidebar-user-avatar {
        width: 70px;
        height: 70px;
    }
    
    .sidebar-user-avatar .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .user-center-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .user-sidebar {
        position: static;
        order: 1;
        gap: 15px;
    }
    
    .user-main {
        order: 2;
        gap: 15px;
    }
    
    .main-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: none;
    }
    
    .user-info-section {
        padding: 20px 15px;
        border: none;
        box-shadow: none;
    }
    
    .sidebar-user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .sidebar-user-avatar .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .user-nav-icon , img[src*="user"]{
        border-radius: 0 !important;
    }
    
    .sidebar-user-name {
        font-size: 16px;
    }
    
    .user-nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }
    
    .main-card .nav-section {
        margin-bottom: 0;
        border-radius: 0;
        overflow: hidden;
        border: none;
        box-shadow: none;
    }
    
    .nav-section.message-section {
        margin-bottom: 0;
        border-radius: 8px;
        overflow: hidden;
        border: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        padding: 15px 20px;
    }
    
    .section-title {
        padding: 8px 0 8px 0;
        font-size: 14px;
        margin: 0 -20px 0 -20px;
    }
    
    .section-badge {
        font-size: 11px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        margin-left: 8px !important;
    }
    
    .user-nav-item {
        padding: 12px 15px;
        border-radius: 0;
        margin: 0;
        width: 100%;
        border-bottom: none;
    }
    
    .message-section .user-nav-item {
        /* 继承基本样式 */
    }
    
    .message-section .user-nav-item.active {
        /* 继承基本样式 */
    }
    
    .user-nav-item.active {
        border-radius: 8px;
    }
    
    .nav-section:not(.message-section) .user-nav-item {
        border-bottom: none;
    }
    
    .nav-section .user-nav-item:last-child {
        border-bottom: none;
    }
    
    .user-nav-item.active {
        border-right: none;
    }
    
    .user-nav-icon {
        margin-right: 12px;
        width: 18px;
        height: 18px;
    }
    
    .message-section .user-nav-icon {
        filter: none;
    }
    
    .user-nav-item.active .user-nav-icon {
        filter: brightness(0) invert(1);
    }
    
    .user-nav-item span {
        font-size: 14px;
    }
    
    .user-nav-item .user-badge {
        font-size: 11px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
    }
    
    /* 用户简介移动端优化 */
    .user-intro {
        height: 42px;
        margin-bottom: 15px;
    }
    
    .intro-text {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* 信息卡片移动端优化 */
    .info-section {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .section-header,
    .section-header-light {
        height: 42px;
        padding: 0 16px;
    }
    
    .section-header h3,
    .section-header-light h3 {
        font-size: 15px;
    }
    
    .edit-btn, .add-btn {
        min-width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .edit-btn .edit-icon {
        width: 16px;
        height: 16px;
    }
    
    /* 信息网格移动端优化 */
    .info-section .info-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 15px 16px;
    }
    
    .info-item {
        padding: 8px 0;
        font-size: 14px;
        border-bottom: 1px solid #f5f5f5;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .info-item label {
        font-weight: 600;
        color: #666;
        min-width: auto;
        font-size: 13px;
    }
    
    .info-item span {
        color: #333;
        font-size: 14px;
        word-break: break-all;
    }
    
    /* 分割线移动端优化 */
    .section-divider {
        margin: 15px 0;
    }
    
    /* 时间线移动端优化 */
    .timeline {
        padding: 15px 16px;
    }
    
    .timeline::before {
        left: 25px;
        width: 2px;
    }
    
    .timeline-dot {
        left: 23px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .timeline-item {
        padding-left: 50px;
        margin-bottom: 25px;
    }
    
    .timeline-item:first-child::before,
    .timeline-item:last-child::after {
        left: 30px;
        width: 2px;
    }
    
    .timeline-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .timeline-content h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .timeline-content .degree,
    .timeline-content .description {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .timeline-content .date {
        font-size: 12px;
        text-align: left;
        min-width: auto;
        margin-top: 4px;
        background: #f0f0f0;
        padding: 2px 8px;
        border-radius: 4px;
        display: inline-block;
        width: fit-content;
    }
    
    /* 公民账户768px响应式 */
    .security-grid {
        padding: 15px 16px;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .security-item {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .security-item:last-child {
        border-bottom: none;
    }
    
    .security-info {
        margin-bottom: 8px;
    }
    
    .security-info label {
        min-width: auto;
        font-size: 14px;
        margin-bottom: 4px;
        display: block;
    }
    
    .status-badge {
        font-size: 13px;
        padding: 3px 10px;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
        height: 36px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        background: #f8f9fa;
    }
    
    /* 订单页面768px响应式 */
    .order-tabs {
        padding: 0 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .order-tab {
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
        min-width: auto;
    }
    
    .order-list {
        padding: 15px 16px;
    }
    
    .order-item {
        padding: 0;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .order-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-date {
        font-size: 13px;
    }
    
    .order-status {
        font-size: 12px;
        padding: 3px 8px;
        align-self: flex-end;
    }
    
    .order-content {
        flex-direction: column;
        gap: 15px;
        padding: 16px;
    }
    
    .order-image {
        width: 60px;
        height: 60px;
        align-self: flex-start;
    }
    
    .order-info {
        width: 100%;
    }
    
    .order-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .order-desc {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .order-price {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .order-actions {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }
    
    .action-btn.primary,
    .action-btn.secondary {
        flex: 1;
        padding: 8px 12px;
        font-size: 13px;
        text-align: center;
        border-radius: 6px;
    }
    
    /* 系统消息768px响应式 */
    .message-list {
        padding: 15px 16px;
    }
    
    .message-item {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .message-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .message-title {
        font-size: 15px;
    }
    
    .message-time {
        font-size: 12px;
        color: #999;
        align-self: flex-end;
    }
    
    .message-content {
        padding: 16px;
    }
    
    .message-text {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .message-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .message-tag {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .message-btn {
        padding: 6px 12px;
        font-size: 13px;
        align-self: flex-end;
    }
    
    /* 活动报名768px响应式 */
    .activity-list {
        padding: 15px 16px;
    }
    
    .activity-item {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .activity-header {
        margin-bottom: 12px;
        gap: 15px;
        padding-left: 16px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .activity-header::before {
        width: 3px;
        bottom: 10px;
    }
    
    .activity-title {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .activity-date {
        font-size: 13px;
        align-self: flex-end;
        margin-top: -8px;
    }
    
    .activity-content {
        padding-top: 6px;
    }
    
    .activity-desc {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .user-center-container {
        padding: 15px 10px;
        gap: 15px;
    }
    
    .user-sidebar {
        order: 1;
        gap: 12px;
    }
    
    .user-main {
        order: 2;
    }
    
    .main-card {
        background: white;
        border-radius: 6px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: none;
    }
    
    .user-info-section {
        padding: 15px 12px;
        border: none;
        box-shadow: none;
    }
    
    .sidebar-user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-user-avatar .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .user-nav-icon , img[src*="user"]{
        border-radius: 0 !important;
    }
    
    .sidebar-user-name {
        font-size: 14px;
    }
    
    .user-nav {
        gap: 12px;
        padding: 0;
    }
    
    .main-card .nav-section {
        border: none;
        box-shadow: none;
    }
    
    .nav-section.message-section {
        border: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border-radius: 6px;
        padding: 12px 15px;
    }
    
    .section-title {
        font-size: 13px;
        padding: 8px 0 6px 0;
        margin: 0 -15px 0 -15px;
    }
    
    .section-badge {
        font-size: 10px !important;
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
        margin-left: 6px !important;
    }
    
    .user-nav-item {
        padding: 10px 12px;
        margin: 0;
        width: 100%;
    }
    
    /* 移除消息中心的特殊样式覆盖 */
    .message-section .user-nav-item {
        /* 继承基本样式 */
    }
    
    .message-section .user-nav-item.active {
        /* 继承基本样式 */
    }
    
    .user-nav-item.active {
        border-radius: 6px;
    }
    
    .user-nav-item.active {
        border-right: none;
    }
    
    .user-nav-icon {
        margin-right: 12px;
        width: 18px;
        height: 18px;
    }
    
    .message-section .user-nav-icon {
        filter: none;
    }
    
    .user-nav-item.active .user-nav-icon {
        filter: brightness(0) invert(1);
    }
    
    .user-nav-item span {
        font-size: 13px;
    }
    
    .user-nav-item .user-badge {
        font-size: 10px !important;
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        max-width: 16px !important;
        min-height: 16px !important;
        max-height: 16px !important;
    }
    
    /* 用户简介移动端优化 */
    .user-intro {
        height: 38px;
        margin-bottom: 12px;
    }
    
    .intro-text {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* 信息卡片移动端优化 */
    .info-section {
        margin-bottom: 12px;
        border-radius: 6px;
    }
    
    .section-header,
    .section-header-light {
        height: 38px;
        padding: 0 12px;
    }
    
    .section-header h3,
    .section-header-light h3 {
        font-size: 14px;
    }
    
    .section-header-light h3::before {
        width: 3px;
        height: 18px;
        margin-right: 8px;
    }
    
    .edit-btn, .add-btn {
        min-width: 28px;
        height: 28px;
        padding: 5px;
    }
    
    .edit-btn .edit-icon {
        width: 14px;
        height: 14px;
    }
    
    /* 信息网格移动端优化 */
    .info-section .info-grid {
        padding: 12px;
        gap: 0;
    }
    
    .info-item {
        padding: 8px 0;
        font-size: 13px;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .info-item label {
        font-size: 12px;
        color: #666;
        margin-bottom: 2px;
    }
    
    .info-item span {
        font-size: 13px;
        color: #333;
    }
    
    /* 分割线移动端优化 */
    .section-divider {
        margin: 12px 0;
    }
    
    /* 时间线移动端优化 */
    .timeline {
        padding: 12px;
    }
    
    .timeline::before {
        left: 28px;
        width: 2px;
    }
    
    .timeline-dot {
        left: 21px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .timeline-item {
        padding-left: 45px;
        margin-bottom: 20px;
    }
    
    .timeline-item:first-child::before,
    .timeline-item:last-child::after {
        left: 28px;
        width: 2px;
        height: 6px;
    }
    
    .timeline-content {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    
    .timeline-content h4 {
        font-size: 14px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .timeline-content .degree,
    .timeline-content .description {
        font-size: 12px;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    .timeline-content .date {
        text-align: left;
        min-width: auto;
        font-size: 11px;
        margin-top: 4px;
        background: #f0f0f0;
        padding: 2px 6px;
        border-radius: 3px;
        display: inline-block;
        width: fit-content;
    }
    
    /* 公民账户480px响应式 */
    .security-grid {
        padding: 12px;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .security-item {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .security-item:last-child {
        border-bottom: none;
    }
    
    .security-info {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .security-info label {
        min-width: auto;
        font-size: 13px;
    }
    
    .status-badge {
        font-size: 12px;
        padding: 2px 8px;
    }
    
    .action-btn {
        width: 100%;
        min-width: auto;
        height: 34px;
        justify-content: center;
        font-size: 13px;
    }
    
    /* 订单页面480px响应式 */
    .order-tabs {
        padding: 0 12px;
        overflow-x: auto;
    }
    
    .order-tab {
        padding: 10px 12px;
        font-size: 12px;
        min-width: auto;
    }
    
    .order-list {
        padding: 12px;
    }
    
    .order-item {
        padding: 0;
        margin-bottom: 12px;
    }
    
    .order-header {
        padding: 10px 12px;
    }
    
    .order-date {
        font-size: 12px;
    }
    
    .order-status {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .order-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }
    
    .order-image {
        width: 50px;
        height: 50px;
        align-self: flex-start;
    }
    
    .order-info {
        width: 100%;
    }
    
    .order-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .order-desc {
        font-size: 12px;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    .order-price {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .order-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .action-btn.primary,
    .action-btn.secondary {
        width: 100%;
        padding: 8px 12px;
        font-size: 12px;
        text-align: center;
    }
    
    /* 系统消息480px响应式 */
    .message-list {
        padding: 12px;
    }
    
    .message-item {
        margin-bottom: 12px;
    }
    
    .message-header {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .message-title {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .message-time {
        font-size: 11px;
        align-self: flex-end;
    }
    
    .message-content {
        padding: 12px;
    }
    
    .message-text {
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .message-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .message-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .message-btn {
        padding: 5px 10px;
        font-size: 12px;
        align-self: flex-end;
    }
    
    /* 活动报名480px响应式 */
    .activity-list {
        padding: 12px;
    }
    
    .activity-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .activity-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
        gap: 6px;
        padding-left: 12px;
        padding-bottom: 8px;
    }
    
    .activity-header::before {
        width: 3px;
        bottom: 8px;
    }
    
    .activity-title {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .activity-date {
        font-size: 12px;
        align-self: flex-end;
        margin-top: -4px;
    }
    
    .activity-content {
        padding-top: 4px;
    }
    
    .activity-desc {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
    }
}

/* 订单页面样式 */
.order-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    padding: 0 32px;
}

.order-tab {
    padding: 12px 20px;
    border: none;
    background: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.order-tab.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
}

.order-tab:hover {
    color: #4CAF50;
}

.order-list {
    padding: 15px;
}

.order-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    background: #f9f9f9;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.order-date {
    font-size: 14px;
    color: #666;
}

.order-status {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: transparent;
    color: #4CAF50;
}

.order-status.pending {
    color: #4CAF50;
    background: transparent;
}

.order-status.shipping {
    color: #4CAF50;
    background: transparent;
}

.order-status.completed {
    color: #4CAF50;
    background: transparent;
}

.order-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.order-image {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
    flex-shrink: 0;
}

.order-info {
    flex: 1;
}

.order-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px 0;
}

.order-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.order-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff4757;
}

.order-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn.primary {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn.primary:hover {
    background: #45a049;
}

.action-btn.secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn.secondary:hover {
    background: #eeeeee;
    color: #333;
}

/* 系统消息页面样式 */
.message-list {
    padding: 15px;
}

.message-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
    background: white;
}

.message-item:last-child {
    margin-bottom: 0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.message-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.message-time {
    font-size: 14px;
    color: #999;
}

.message-content {
    padding: 20px;
}

.message-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.message-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    background: #e8f5e8;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.message-tag.security {
    background: #e8f5e8;
    color: #4CAF50;
    border-color: #4CAF50;
}

.message-tag.activity {
    background: #e8f5e8;
    color: #4CAF50;
    border-color: #4CAF50;
}

.message-tag.points {
    background: #e8f5e8;
    color: #4CAF50;
    border-color: #4CAF50;
}

.message-btn {
    background: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.message-btn:hover {
    background: #4CAF50;
    color: white;
}

/* 活动报名页面样式 */
.activity-list {
    padding: 20px;
}

.activity-item {
    position: relative;
    padding: 20px;
    margin-bottom: 24px;
    background: #fff;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 20px;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #4CAF50;
    padding-bottom: 12px;
}

.activity-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 14px;
    width: 4px;
    background: #4CAF50;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.activity-date {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.activity-content {
    margin: 0;
    padding-top: 8px;
}

.activity-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.activity-desc:last-child {
    margin-bottom: 0;
} 

.black-bg{
    background-color: #111;
    color: #fff !important;
}

.name-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.edit-icon.small-edit {
    width: 14px;
    height: 14px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    margin-right: 25px;
}

.edit-icon.small-edit:hover {
    opacity: 1;
}