ion-content {
    --background: linear-gradient(135deg, #F8F9FF, #E6F7FF);
    background-size: cover;   
    --padding-start: 16px;  
    --padding-end: 16px; 
     
}

        :root {
            --primary: #3A5FE5;
            --secondary: #00C4A1;
            --danger: #FF4D4F;
            --bg: #F8F9FF;
            --text: #2D3748;
            --card: #FFFFFF;
            --border: #E2E8F0;
            --gray: #94A3B8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
        }
        
        .container {
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            padding: 15px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* 顶部区域 */
        .profile-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px 0 20px;
            background: linear-gradient(135deg, #6A8EFF, #3A5FE5);
            border-radius: 0 0 30px 30px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .profile-bg {
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
            background-size: 100px 100px;
            animation: rotate 60s linear infinite;
            z-index: 0;
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            color:#3A5FE5;
            font-size: 32px;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .profile-name {
            color: white;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
            z-index: 1;
        }
        
        .profile-email {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            z-index: 1;
        }
        
        /* 功能卡片区域 */
        .features-section {
            margin-bottom: 20px;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text);
        }
        
        .section-title a {
            font-size: 14px;
            font-weight: normal;
            color:#3A5FE5;
            text-decoration: none;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .feature-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 28px;
            color: #3A5FE5;
            margin-bottom: 10px;
        }
        
        .feature-title {
            font-size: 14px;
            color: var(--text);
            text-align: center;
            margin-bottom: 8px;
        }
        
        .feature-desc {
            font-size: 12px;
            color: var(--gray);
            text-align: center;
            line-height: 1.4;
        }
        
        /* 订单区域 */
        .orders-section {
            margin-bottom: 20px;
        }
        
        .orders-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .orders-title {
            font-size: 16px;
            font-weight: bold;
            color: var(--text);
        }
        
        .orders-more {
            font-size: 14px;
            color: var(--gray);
            text-decoration: none;
        }
        
        .orders-list {
            display: flex;
            overflow-x: auto;
            gap: 10px;
            padding-bottom: 10px;
        }
        
        .order-card {
            min-width: 120px;
            background: white;
            border-radius: 10px;
            padding: 12px 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            flex-shrink: 0;
            text-align: center;
        }
        
        .order-icon {
            font-size: 20px;
            color: #3A5FE5;
            margin-bottom: 5px;
        }
        
        .order-count {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 5px;
        }
        
        .order-title {
            font-size: 12px;
            color: var(--text);
        }
        
        /* 律师入驻区域 */
        .lawyer-section {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .lawyer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .lawyer-title {
            font-size: 16px;
            font-weight: bold;
            color: var(--text);
        }
        
        .lawyer-status {
            font-size: 12px;
            color: #3A5FE5;
            padding: 3px 8px;
            border-radius: 12px;
            background: rgba(58, 95, 229, 0.1);
        }
        
        .lawyer-btn {
            width: 100%;
            background: #3A5FE5;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .lawyer-btn:hover {
            background: #2A4BCF;
        }
        
        /* 设置区域 */
        .settings-section {
            margin-bottom: 20px;
        }
        
        .settings-list {
            list-style: none;
        }
        
        .setting-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background: white;
            border-radius: 10px;
            margin-bottom: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .setting-icon {
            font-size: 20px;
            color: #3A5FE5;
            margin-right: 15px;
        }
        
        .setting-content {
            flex: 1;
        }
        
        .setting-title {
            font-size: 16px;
            color: var(--text);
            margin-bottom: 4px;
        }
        
        .setting-desc {
            font-size: 12px;
            color: #94A3B8;
        }
        
        .setting-arrow {
            font-size: 16px;
            color: #94A3B8;
        }