.mine-page {
  padding: 12px;
}

.user-card {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin: 16px 0 12px 0;
  padding: 0 0 0 0;
}

.user-info-row {
  display: flex;
  align-items: center;
  padding: 20px 24px 16px 24px;
}

.user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #1890ff;
  margin-right: 18px;
  overflow: hidden;
}
.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #1890ff;
  background: #e6f7ff;
  border-radius: 50%;
}

.user-main-info {
  flex: 1;
  min-width: 0;
  position: relative;
}

.user-main-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.user-name {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-right: 2px;
}
.role-badge {
  background: #fa8c16;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  padding: 2px 10px;
  margin-right: 8px;
}
.balance-label {
  color: #666;
  font-size: 15px;
  margin-right: 2px;
}
.balance-value {
  color: #16b364;
  font-size: 20px;
  font-weight: 700;
  margin-right: 4px;
}
.recharge-btn {
  margin-right: 8px;
  padding: 0 14px;
  font-size: 14px;
  height: 28px;
  line-height: 28px;
  border-radius: 8px;
}

.icon-setting {
  font-size: 26px;
  color: #666;
  position: absolute;
  right: 0px;
  top: 0px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  margin-left: 2px;
}
.last-login {
  color: #888;
  font-size: 13px;
  margin-top: 6px;
  margin-left: 2px;
}

.menu-card {
  margin-bottom: 16px;
  border-radius: 12px;

  :global(.adm-list-body) {
    border: none;
  }

  :global(.adm-card-body) {
    padding: 14px 0 0 0;
  }
  :global(.adm-list-body-inner) {
    margin-top: 0px;
  }
  :global(.adm-list-item) {
    padding: 0px;
    :global(.adm-list-item-content) {
      border: 1px solid #f0f0f0;
      margin-bottom: 12px;
      padding: 0 12px;
      border-radius: 12px;
    }

    :global(.adm-list-item-content-prefix) {
      margin-right: 12px;
      color: var(--primary-color);
      font-size: 20px;
    }

    :global(.adm-list-item-content-main) {
      flex: 1;
    }

    :global(.adm-list-item-title) {
      font-size: 16px;
      color: #333;
      margin-bottom: 4px;
    }

    :global(.adm-list-item-description) {
      font-size: 12px;
      color: #666;
    }

    :global(.adm-list-item-content-arrow) {
      color: #ccc;
    }
  }
}

.logout-btn {
  border-radius: 8px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
}

// 响应式设计
@media (max-width: 375px) {
  .mine-page {
    padding: 12px;
  }

  .user-info {
    gap: 12px;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
    background: #666;
  }

  .user-name {
    font-size: 16px;
  }

  .menu-card {
    :global(.adm-list-item) {
      padding: 12px;

      :global(.adm-list-item-content-prefix) {
        font-size: 18px;
      }

      :global(.adm-list-item-title) {
        font-size: 14px;
      }
    }
  }
}
