/* ============================================
   特博云禾 - 个人中心样式
   ============================================ */

.profile-page {
    min-height: 100vh;
    background: #f8f9f5;
    padding-bottom: 80px;
}

/* ========== 顶部用户卡片 ========== */
.profile-header {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    padding: 32px 20px 24px;
    color: #fff;
    text-align: center;
}

    .profile-header .avatar {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 2rem;
    opacity: 0.9;
}

    .profile-header .user-name {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .profile-header .user-type {
        font-size: 0.78rem;
        opacity: 0.8;
        background: rgba(255,255,255,0.15);
        display: inline-block;
        padding: 2px 12px;
        border-radius: 12px;
    }

/* ========== 功能菜单 ========== */
.profile-menu {
    padding: 16px;
}

    .profile-menu .menu-group {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }

    .profile-menu .menu-item {
        display: flex;
        align-items: center;
        padding: 16px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
        transition: background 0.2s;
    }

        .profile-menu .menu-item:last-child {
            border-bottom: none;
        }

        .profile-menu .menu-item:hover {
            background: #f9faf9;
        }

        .profile-menu .menu-item .menu-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin-right: 14px;
        }

.menu-icon.orders {
    background: #fff3e0;
    color: #e65100;
}

.menu-icon.address {
    background: #e3f2fd;
    color: #1565c0;
}

.menu-icon.service {
    background: #e8f5e9;
    color: #2d6a4f;
}

.menu-icon.settings {
    background: #f3e5f5;
    color: #7b1fa2;
}

.menu-icon.logout {
    background: #ffebee;
    color: #c62828;
}

.profile-menu .menu-item .menu-text {
    flex: 1;
}

.profile-menu .menu-item .menu-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-menu .menu-item .menu-desc {
    font-size: 0.72rem;
    color: #999;
    margin-top: 2px;
}

.profile-menu .menu-item .menu-arrow {
    color: #ccc;
    font-size: 0.8rem;
}
/* 桌面端适配 */
@media (min-width: 768px) {
    .profile-page {
        max-width: 960px;
        margin: 0 auto;
        padding: 20px 16px;
        background: #F8FAF8;
        min-height: 100vh;
    }

    .bottom-nav,
    .footer-icp {
        display: none !important;
    }
}
/* 角色选择页 */
.role-select-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 100vh;
}

.role-select-header {
    text-align: center;
    margin-bottom: 30px;
}

.role-select-title {
    font-size: 28px;
    font-weight: bold;
    color: #198754;
}

.role-select-subtitle {
    font-size: 14px;
    color: #999;
    margin-top: 8px;
}

.role-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E0E8E0;
    padding: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.role-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
}

.role-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.role-card-desc {
    font-size: 12px;
    color: #999;
    margin: 4px 0 14px;
}

.role-card-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
}

@media (min-width: 768px) {
    .role-select-page {
        max-width: 960px;
    }

    .role-card {
        max-width: 480px;
        margin: 0 auto 16px;
    }
}
